Specifying the location of the JNDI name server

To enable Java code running under CICS to issue JNDI API calls, and CICS to publish references to the home interfaces of enterprise beans or IORs of stateless CORBA objects, you must define the location of the name server.

Specify the Web address (URL) and TCP/IP port number of your name server using the com.ibm.cics.ejs.nameserver property in your JVM properties files. The supplied sample JVM profiles contain examples of how to do this, and the CICS® System Definition Guide has more detailed information.

Important:
  1. You must specify the location of your name server on the com.ibm.cics.ejs.nameserver property in all the JVM properties files that are used by your CORBA stateless objects or enterprise beans.
  2. In particular, be sure to specify the location of your name server in the dfjjvmcd.props properties file referenced by the DFHJVMCD JVM profile. The DFHJVMCD profile is used by CICS-defined programs, including the default request processor program and the program that CICS uses to publish and retract deployed JAR files.
  3. You also need to specify the location of your name server in the JVM properties files referenced by any other JVM profiles that you choose to use for CORBA stateless objects or enterprise beans. These might be CICS-supplied sample JVM profiles or your own JVM profiles. For CORBA stateless objects and enterprise beans, the JVM profiles are named in the PROGRAM resource definitions for your request processor programs.
  4. For detailed information about defining the location of your name server, see the CICS System Definition Guide.