Assigning the WTX Map service to a container node

You can enable the WTX Map service to run in a separate Java Virtual Machine (JVM) when input data exceeds a maximum input-data-size threshold. You create a Sterling B2B Integrator adapter container node and configure the WTX Map service properties to run on the node.

  1. Configure the adapter container JVM node as described in the Sterling B2B Integrator services and adapters documentation. Run the Sterling B2B Integrator setupContainer.cmd containerNumber command, where containerNumber is the adapter container node number.
    For example, run setupContainer.cmd 1 to create a container node named Node1AC1. See the Sterling B2B Integrator documentation for additional details.
  2. Set the Threshold property in the Sterling_installation_dir\properties\translator.properties_wtx_ext.in file.
  3. Run the Sterling B2B Integrator setupFiles.cmd command.
  4. Run the Sterling B2B Integrator startWindowsService.cmd command to start the JVM instance.
    This command brings up the node and all containers on the node.
  5. Edit the WTX Map service and set the environment to the node name, for example, Node1AC1:
    1. Log into the Sterling B2B Integrator dashboard as an administrator.
    2. Go to Deployment > Services > Configuration and search for the WTX Map service.
    3. Click Edit. The first page contains the option to select a node. For example, select Node1AC1 to specify container 1 on node 1.
    4. Save the changes.
The WTX Map service translates any file that exceeds the input-data-size threshold value against the specified container node, for example, Node1AC1. When the file size is less than the threshold value, or when Threshold=0, the file is not translated on the container.