Configuring JMX Ports to Run Through a Firewall

Status

If you are...

This task is...

Installing a new iProcess Engine Version 11.8.0

Optional

Upgrading from an iProcess Engine Version 11.0 or later

Optional

Database

Oracle, DB2

Description

JMX relies on JAVA technology called RMI, which uses dynamic ports to be able to communicate between a client and a server. Firewalls cannot handle dynamic ports, as they need to know the port number. iProcess overcomes this problem by statically assigning a listening port for the RMI server.

To do this you need to configure the $SWDIR/etc/swjmx.properties file.

Procedure

To configure the swjmxproperties file, complete the following steps:

1. Open the $SWDIR/etc/swjmx.properties file and you will see lines similar to the following:

SWJMXConfig.location=C:/swserver/staffw_nod1/etc/swjmx_config.xml

SWJMXConfig.port=10025

2. The default port is 10025 but you can change this to a port of your choosing.

The RMI server port number will then be automatically set to the value of SWJMXConfig.port +1.

3. Save the file.