Setting the classpath on Windows operating systems

Before you can run the gateway on Windows operating systems you must set the classpath to include the paths to the following Java libraries:

  • nco_g_xml.jar
  • ngjava.jar
  • TransportModule.jar
  • Transformer.jar
  • com.ibm.ws.ejb.thinclient_8.5.0.jar
  • com.ibm.ws.sib.client.thin.jms_8.5.0.jar
  • com.ibm.ws.orb_8.5.0.jar (This is needed where a non-IBM JRE is used.)
  • JSON4J.jar

You can do this by setting the Gate.Java.ClassPath property to include a semi-colon separated list of the paths to each of these libraries. For example:

'C:\\IBM\\Tivoli\\Netcool\\omnibus\\gates\\java\\nco_g_xml.jar;C:\\IBM\\Tivoli\\Netcool\\omnibus\\gates\\java\\ngjava.jar;C:\\IBM\\Tivoli\\Netcool\\omnibus\\java\\jars\\TransportModule.jar;C:\\IBM\\Tivoli\\Netcool\\omnibus\\java\\jars\\Transformer.jar;C:\\IBM\\Tivoli\\Netcool\\omnibus\\java\\jars\\com.ibm.ws.ejb.thinclient_8.5.0.jar;C:\\IBM\\Tivoli\\Netcool\\omnibus\\java\\jars\\com.ibm.ws.sib.client.thin.jms_8.5.0.jar;C:\\IBM\\Tivoli\\Netcool\\omnibus\\java\\jars\\JSON4J.jar'

If you are running the gateway on Linux or UNIX Operating Systems, this is taken care of by the nco_g_xml.env file.