PLEASE REMOVE ME FROM THE LIST. PLEASE!!! - NILES
----- Original Message ----- From: "Tim Pouyer" <[EMAIL PROTECTED]> To: "Orion-Interest" <[EMAIL PROTECTED]> Sent: Wednesday, November 21, 2001 12:24 PM Subject: Re: Calling entity bean from a session bean in Orion 1.5.3 > Take out the ejb-link tag. It is not necessary. > > On Tue, 2001-11-20 at 18:50, Puthezhath, Rajeev (TWII Boston) wrote: > > 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 > > > > > > > > > >