I have an EAR with several EJB banks, for example:
But when I deploy the application in the log, I see that ejb-s from module1.jar deploying with a strange JNDI name:
- Portable JNDI names for EJB ejb1:
java:global/myappl/ module1ejb /ejb1 - Portable JNDI names for EJB ejb2:
java:global/myappl/ module1ejb /ejb2
But the rest of the modules are deployed regularly (without ejb ending in the module name):
- Portable JNDI names for EJB ejb1:
java:global/myappl/ module2 /ejb1 - Portable JNDI names for EJB ejb2:
java:global/myappl/ module2 /ejb2
What does Glassfish do to add "ejb" to JNDI?
Version for Glassfish: 3.1.1
This did not help restart several times, delete the generated one, osgi-cache, etc.
source share