Configuring for multiple process instances

BusinessWorks allows you to deploy multiple process instances to provide load balancing and fault tolerance for a single application, or to run multiple different applications.

For TrueSight Middleware and Transaction Monitor to monitor each process instance, a different JMX remote port must be specified for each.

The TrueSight Middleware and Transaction Monitor BTM JMX Service extension configuration can be updated to monitor multiple connections by modifying the btmjee.xml file and adding new connection elements.

To configure for multiple process instances

  1. After deploying the process instances, edit each process instance TRA file and modify the JMX remote port property to ensure that each process instance has a unique port number.

    java.property.com.sun.management.jmxremote.port=<unique port number>
  2. Restart any running process instances.
  3. Modify the btmjee.xml file, and include additional connection elements for each JMX remote port.

    btmjee.xml multiple process instances
    <Configurations>
    <Connection name="ProcessInstance_1" type="JSE">
    <Property key="jmxserviceurl" value="service:jmx:rmi:///jndi/rmi://localhost:8880/jmxrmi"/>
    </Connection>
    <Connection name="ProcessInstance_2" type="JSE"><Property key="jmxserviceurl" value="service:jmx:rmi:///jndi/rmi://localhost:8881/jmxrmi"/>
    </Connection>
    </Configurations>

    Note that the connection name attribute is currently only used for logging purposes by TrueSight Middleware and Transaction Monitor and need not map to any name in the monitoring environment. 
Was this page helpful? Yes No Submitting... Thank you

Comments