Introduced in Feature Pack 1

Deploying the Software Express plug-in to runtime

After the Plug-in has been tested and works well on the workspace, follow the steps below to deploy it into the runtime environment.

Procedure

  1. Download LibSiTef.jar and save it in the following two directories:
    • WC_enterprise_application\Stores.war\WEB-INF\lib
    • WC_enterprise_application\CommerceAccelerator.war\WEB-INF\lib
    You can obtain LibSiTef.jar from Software Express at http://softwareexpress.com.br/.
  2. Add the DLL or SO files provided by Software Express to the Java library.
    Contact Software Express for the latest version of these files.
    1. Determine which file you need.
      The SO/DLL files should match the WebSphere Application Server version. If the WebSphere Application Server version is 64-bit, you need to use the 64-bit SO/DLL file from Software Express; if the WebSphere Application Server version is 32-bit, you need to use the 32-bit files. Check the WebSphere Application Server version here:
      • WindowsWAS_installdir/bin/versionInfo.bat
      • LinuxWAS_installdir/bin/versionInfo.sh
    2. Download the file
      • WindowsDownload the zip file containing the DLL files for Windows to the machine where the Rational Application Developer test server runs, and extract the contents. Put the DLL files in the WAS_installdir/SYSTEM32 folder or in any other folder that is already on your java.library.path.
      • LinuxDownload the zip file containing the SO files for Linux, extract the contents and copy the .so file to one of the java.library.path folders, such as /usr/lib/. If the Linux machine is 64-bit, need to copy the .so file to both /usr/lib/ and /usr/lib64.
  3. Create the LibSiTef folder.
    For example:
    • WindowsCreate the folder under your home drive, for example, C:/LibSiTef.
    • LinuxCreate the folder under the root path, for example, \libsitef.
    Make sure the user that starts WebSphere Commerce Server has read/write/execute authority to the directory.
  4. Package the Payments-Plugin-SiTef project.
    Note: The EJB JAR file contains only session beans, so you do not need to update your data source information.
  5. Deploy the plug-in.
  6. Repeat the tasks for creating the policy for the payment method, configuring the payment methods for the plug-in and configuring the merchant, but now perform the steps in the runtime environment.
  7. Restart the WebSphere Commerce application server.
  8. Test the plug-in in the runtime environment.