To set the address of the MCS ID Manager for a java application, modify the BridgeAPI.properties changing the line ‘IDManager=’ using your favorite editor the Address of the ID Manager can be specified as a dotted IP address or the machine name as recognized by DNS in your environment.
The following 3 lines are a sample of the BridgeAPI.properties file specifying the MCS ID Manager address of “1.2.3.4”:
# Used in the BridgeAPI interface to designate
# the location of the idmanager server
IDManagerAddress=1.2.3.4
In order to modify the BridgeAPI.properties file use one of the following procedures:
- In order to change the ID Manager location using winzip for a previously installed Java client:
- Locate and load into winzip the BridgeAPI.jar file referenced by your applications –classpath.
- Extract the BridgeAPI.properties file from within the BridgeAPI.jar to the c:\com\attachmate\cicsbridge\ws\BridgeAPI.properties file.
- Using a text editor change the IDManagerAddress= parameter to be either the dotted IP address or the server DNS name of the IDManager machine.
- Delete the BridgeAPI.properties from BridgeAPI.jar.
- Add the now modified c:\com\attachmate\cicsbridge\ws\BridgeAPI.properties into the BridgeAPI archive.
- Save the modified BridgeAPI.jar back to its location specified in the classpath for your application.
- In order to change the ID Manager location using the jar utility for a previously installed Java client:
- Extract the BridgeAPI.properties file with
jar -xvf com\attachmate\cicsbridge\ws\BridgeAPI.jar com/attachmate/cicsbridge/ws/BridgeAPI.properties.
- Using a text editor such as notepad, edit the newly extracted BridgeAPI.properties file.
- Replace the BridgeAPI.properties file with
jar -uvf com/attachmate/cicsbridge/ws/BridgeAPI.jar com/attachmate/cicsbridge/ws/BridgeAPI.properties
Note that in the above jar utility example all commands are issued from the root directory.
|