2.6.3 Timing for registering or deleting the optional name

This subsection describes how to set the optional names for the Enterprise Beans or J2EE resources, the timing for registering the optional name, and the timing for deleting the optional name.

Organization of this subsection
(1) Timing for registering or deleting the optional names of Enterprise Beans
(2) Timing for registering or deleting the optional names of the J2EE resources

(1) Timing for registering or deleting the optional names of Enterprise Beans

The optional name specified in the Enterprise Bean object is registered in the name space when the J2EE application is started or when the J2EE server is started.

The optional name specified in the Enterprise Bean object is deleted from the name space when the J2EE application is stopped or when the J2EE server is stopped.

Reference note
When the log level is set to "Warning", you can check whether the optional name is registered or deleted in the message log.
  • When the optional name is registered: KDJE47605-I is output.
  • When the optional name is deleted: KDJE47606-I is output.
However, these messages are not output in the default log level settings. For details on the log level settings, see 3.3.6 Log collection settings for J2EE servers in the uCosminexus Application Server Maintenance and Migration Guide.

(2) Timing for registering or deleting the optional names of the J2EE resources

The optional name for a J2EE resource is registered in the name space when the J2EE resource is started.

The optional name for the J2EE resource is deleted from the name space when the J2EE resource is stopped.

Reference note
You can check whether the optional name was registered or deleted through the message log.
  • When the optional name is registered: KDJE47602-I is output.
  • When the optional name is deleted: KDJE47603-I is output.