To configure the initial JMS context

Steps
 

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


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


Locate the following line:

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

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


Save and close the file.


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

End of steps