To configure the initial JMS context

Steps
 
1 

Copy the following file from a main server station to the JMS client station:

/opt/nsp/nfmp/server/nms/integration/SAM_O/jmsexample/jndi.properties


2 

Open the jndi.properties file on the client station using a plain-text editor.


3 

Locate the following line:

java.naming.provider.url=remote://YourServerAddress1:1099,remote://YourServerAddress2:1099

4 

Perform one of the following.

  1. For a standalone NFM-P system, edit the line to read:

    java.naming.provider.url=remote://server_address:1099

    where server_address is the IP address or hostname of the standalone main server

  2. For a redundant NFM-P system, edit the line to read:

    java.naming.provider.url=remote://server_address_1:1099,remote://server_address_2:1099

    where server_address_1 and server_address_2 are the IP addresses or hostnames of the primary and standby main servers


5 

Save and close the file.


6 

Add the jndi.properties file to the Java class path of the OSS client.

End of steps