uCosminexus Application Server, Messages

[Contents][Back][Next]

KDJE47713-W

The Portable Global JNDI name of the bean is too long. (ejbname = aa....aa, jndi name = bb....bb)

aa....aa: Bean name (<ejb-name>)
bb....bb: JNDI name
Description
The Bean name or the fully-qualified-interface-name is too long. Therefore, the Portable Global JNDI name cannot be registered in the java:global/<app-name>/<module-name>/<ejb-name>!<fully-qualified-interface-name> format.
The length of <ejb-name>!<fully-qualified-interface-name> must be no more than 255 characters.
You can start the application as is, so there is no problem in the case of applications that do not use the Portable Global JNDI names.
Furthermore, there is no problem even if you use only the Portable Global JNDI name omitting the fully-qualified-interface-name.
However, action is required if there is a client that looks up this EJB object using the Portable Global JNDI name with the fully-qualified class name.
Action
If this EJB object must be registered in the Portable Global JNDI name with the fully-qualified class name, take the following action to change the EJB Bean name or the fully-qualified-interface-name.
If <ejb-name> of ejb-jar.xml is specified
Specify length-of-the-value-specified-for-<ejb-name> + length-of-the-fully-qualified-interface-name + 1 in 255 characters or less.
If the Bean name is specified in the name attribute of the annotation
Specify length-of-the-value-specified-for-name-attribute + length-of-the-fully-qualified-interface-name + 1 in 255 characters or less.
If the interface is omitted, the fully-qualified class name of the Bean class is applied instead of the fully-qualified-interface-name.
If you change the Bean name and the fully-qualified class name of the business interface, modify the calling lookup name of that Bean.
Note that if the EJB object need not be registered in the Portable Global JNDI names for all the applications in Application Server, you can control this message by specifying false in the user property ejbserver.jndi.global.enabled.