To look up with the Portable Global JNDI names, you must specify the J2EE server settings.
You implement the J2EE server settings using the Easy Setup definition file. You specify the definition for looking up with the Portable Global JNDI names in the <configuration> tag of the logical J2EE server (j2ee-server) in the Easy Setup definition file. The following table describes the settings in the Easy Setup definition file.
Table 2-21 Definitions in the Easy Setup definition file for looking up with the Portable Global JNDI names
Item | Specified parameter | Settings |
---|---|---|
Registering the Portable Global JNDI name | ejbserver.jndi.global.enabled | Specifies whether to register the Portable Global JNDI name for the naming service when the application starts. |
Default lookup name when the CTM is used | ejbserver.ctm.useGlobalJNDI | Specifies the default lookup name to be used when the optional name is not specified in the EJB, when the CTM is used. |
For details on the Easy Setup definition file and parameters, see 4.6 Easy Setup definition file in the uCosminexus Application Server Definition Reference Guide.