If, in CICS TS 2.2, you used the COS Naming Directory Server supplied with WebSphere Application Server Version
4, and now intend to use that supplied with WebSphere Application Server Version 5, you may need
to change the com.ibm.cics.ejs.nameserver property in your JVM
system properties files. For WebSphere® Version 5, the location of the COS
Naming Directory Server should be specified like this:
com.ibm.cics.ejs.nameserver=iiop://mycsserv.hursley.ibm.com:2809/domain/legacyRoot
Note that, from WebSphere Application Server Version 5 onwards:
- The default TCP/IP port used by the COS Naming Directory Server is 2809
(rather than 900 in WebSphere Version 4).
- Java™ objects must be published to a specially-architected location called «domain/legacyRoot». (CICS publishes Java objects to a context defined by the
JNDIPREFIX option of the CORBASERVER definition, where the JNDI prefix is
a relative path.) If you do not specify the /domain/legacyRoot path
from the root node of the name space, CICS tries to publish Java objects
to a JNDI prefix location relative to the root node itself. This works for
the COS Naming Directory Server supplied with WebSphere Application Server Version 4, but fails with
that supplied with later versions of WebSphere Application Server.
If the location of the name server is hard-coded into your Java applications, to migrate from Version 4 to Version 5 of the WebSphere COS Naming Directory Server you may need to change your applications’
source code.
For more information about specifying the location of the
JNDI name server, see the CICS System Definition Guide.