Hi,
I want to access an entity bean from a session bean . I have added
the <ejb-ref> tag in the ejb-jar.xml and the same works perfectly on orion
1.3.8 But on Orion 1.5.3 I get the following error
javax.naming.NamingException: No EJB found with an ejb-name matching the
ejb-link 'Entity'
at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:64)
at com.evermind[Orion/1.5.3 (build 10509)]._lsb._wk(.:33)
at com.evermind[Orion/1.5.3 (build
10509)].server.rmi.RMIContext._ywd(.:857)
at com.evermind[Orion/1.5.3 (build
10509)].server.rmi.RMIContext._xnb(.:660)
at com.evermind[Orion/1.5.3 (build
10509)].server.rmi.RMIContext.lookup(.:63)
at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:189)
at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63)
at com.evermind[Orion/1.5.3 (build 10509)]._ccb._po(.:34)
at com.evermind[Orion/1.5.3 (build 10509)]._in.lookup(.:53)
at com.evermind[Orion/1.5.3 (build 10509)]._bl._eh(.:121)
at com.evermind[Orion/1.5.3 (build 10509)]._bl.lookup(.:63)
This is my ejb-jar.xml
<session>
<display-name>A</display-name>
<ejb-name>A</ejb-name>
<home>AHome</home>
<remote>A</remote>
<ejb-class>ABean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Bean</transaction-type>
<ejb-ref>
<description>Subscriber EJB</description>
<ejb-ref-name>ejb/BHome</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<home>BHome</home>
<remote>B</remote>
<ejb-link>Entity</ejb-link>
</ejb-ref>
</session>
Please advice.
Thanks
Rajeev