Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
An ejb-local-ref like:
<ejb-local-ref>
<ejb-ref-name>ejb/CMP20CalleeLocal</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>com.sun.ts.tests.common.ejb.calleebeans.CMP20CalleeLocalHome</local-home>
<local>com.sun.ts.tests.common.ejb.calleebeans.CMP20CalleeLocal</local>
<ejb-link>CMP20CalleeLocal</ejb-link>
</ejb-local-ref>
with a jboss.xml like:
<entity>
<ejb-name>CMP20CalleeLocal</ejb-name>
<jndi-name>ejb_ee_bb_session_stateless_argsemantics_CMP20CalleeLocal</jndi-name>
</entity>
is resolving to the jndi name rather than the local jndi name:
ess.argsemantics.CallerBean
+++ejb-local-ref(ejb/CMP20CalleeLocal) -> mappedName=null| resolvedJndiName=ejb_ee_bb_session_stateless_argsemantics_CMP20CalleeLocal
+++ejb-local-ref(ejb/CMP20CalleeBothLocal) -> mappedName=null| resolvedJndiName=ejb_ee_bb_session_stateless_argsemantics_CMP20CalleeBoth
It needs to resolve to the metadata determineLocalJndiName() since that is what the BaseLocalProxyFactory.