Editing Runtime Agent Port Settings

Use the following procedures to edit the runtime Agent port settings to connect with Directory Services or to communicate with instances of the runtime engine.

To edit the runtime Agent port settings to connect to Directory Services:

  1. Select Start>Settings>Control Panel>Administrative Tools>Services.

  2. Stop the Agent Launcher 4.3 service. In the Services window, right-click Agent Launcher 4.3 and select Stop.

  3. Close the Services window.

  4. Open the <install directory>\Orch-4_3\config\agent.properties file. Search for the following three properties:

com.sybase.ebd.eai.internal.resources.directory.EPE_SMR_JDBC_URL

com.sybase.ebd.eai.internal.resources.directory.WSDL_SMR_JDBC_URL

org.juddi.datasource.jdbc.connectURL

  1. Using the following format, edit the string with the port number used by Directory Services:

jdbc:sybase:Tds:<hostname or host IP address>:<port>?servicename=<Service Name>

  1. Save and close the file.

Note:  If you have installed Directory services on one machine and need to communicate with one or more runtime engines that are installed on other machines, you must change the URLs in each runtime engine agent.properties file.

Change all three lines containing the URL tag from localhost to the name of the machine on which Directory Services is running.

To edit the runtime Agent port settings to communicate with instances of the runtime engine:

  1. Open the <install directory>\Orch-4_3\config\agent.properties file.

  2. Confirm the availability of the range of ports that are specified in the following configuration entries:

agent.commandControl.port.max

agent.commandControl.port.min

These ports are allocated in sequence as runtime instances are created. The default range of values is 7011-7020.

  1. Edit the port ranges, as needed.

  2. Uncomment each of the lines. Remove the # symbol.

  3. Save and close the file.

Note: After an instance has been created, the assigned port cannot be modified. To change a port used by an instance, it must be deleted and then recreated after the range of ports have been edited.