Adapter Container Example

You can set up two adapter container JVMs, set up an adapter to be deployed on the adapter container JVM, and execute the business process.

The following is an example of how to set up two adapter container JVMs, set up an adapter to be deployed on the adapter container JVM, and execute the business process:

  1. Install Sterling B2B Integrator.
  2. Navigate to install_dir/install/bin (for Windows - install_dir\install\bin) directory.
  3. If an application server-independent (ASI) node is up, run ./hardstop.sh (for Windows - stopWindowService.cmd) command to stop it.

    Run ./startCluster.sh 1 false (for Windows - startCluster.cmd) command.

    After running startCluster command, you can add adapter container irrespective of whether the rest of the system is up or down.

  4. Run ./setupContainer.sh 1 (for Windows - setupContainer.cmd 1) command to set up the first adapter container JVM. It creates the adapter container node1AC1.
  5. Run ./setupContainer.sh 2 (for Windows - setupContainer.cmd 2) command to set up the second adapter container JVM. It creates the adapter container node1AC2.
  6. Run ./runAll.sh (for Windows - startWindowsService.cmd) to start the ASI server and the two adapter container JVMs.
  7. From the Administration menu, select Operations > System > Cluster > Node Status . All JVMs are listed as cluster nodes.
  8. From the Administration menu, select Operations > System > Troubleshooter to view information for container adapter JVM.
  9. From the Administration menu, select Deployment > Services > Configuration.
  10. In the Create section of the screen that is displayed, select Go! to create a new service.
  11. Configure the adapter by selecting the JVM node name as the environment and assign or create a business process to use the adapter.
    Notes:
    • You can monitor the business process page to view where the adapter runs.
    • To view container node log file, navigate to Administration > Operations > System > Logs.