Able to deploy two ejb modules that contain ejb's with the same JNDI Name
-------------------------------------------------------------------------
Key: GERONIMO-2303
URL: http://issues.apache.org/jira/browse/GERONIMO-2303
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Environment: All Supported Platforms
Reporter: Manu T George
When I deploy an ejb Module which contains a CMP and then again I deploy the
same EJB Module the module gets deployed.
Now When I try accessing from a remote client I will always get the reference
to the ejb in the second module. If I stop the second EJB Module and use the
client and try to lookup the ejb remotely then I will get an exception(It will
be javax.naming.NameNotFoundException if Geronimo-2297 is applied else it will
be ClassCastException in client and IllegalArgumentException in Server).
Expected behaviour is deployment or startup should fail with
NameAlreadyBoundException.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira