RE: Can't call an EJB from Within another EJB

2000-10-27 Thread Jim Archer
rest Subject: Can't call an EJB from Within another EJB We have gotten our Orion server(1.3.8) to work with EJBs on a singular level(i.e. we can call EJB A, B or C and it works fine.) But If one of our EJB's tries to call another(i.e. A calls B) A throws a naming exception that it can't fi

RE: Can't call an EJB from Within another EJB

2000-10-27 Thread Duffey, Kevin
:[EMAIL PROTECTED]] Sent: Friday, October 27, 2000 2:59 PM To: Orion-Interest Cc: Duffey, Kevin Subject: RE: Can't call an EJB from Within another EJB Hi Kevin... I have apps in which a servlet creates a stateless session bean that in turn creates an entity bean (or finds one that exists

Re: Can't call an EJB from Within another EJB

2000-10-26 Thread Jim Archer
Remember that your EJB-REF tage are scoped within each bean, so that the same tag name can refer to different things, depending upon which bean it is defined in. So, my guess is that you didn't include an EJB-REF tag *in the bean definition* for the bean you want to reference. If thats not

RE: Can't call an EJB from Within another EJB

2000-10-26 Thread J Davis
It was the EJB-REF Tag. I missed that the first time through the docs. Thankx goes to Jim and Sven! Greg -Original Message- From: Jim Archer [mailto:[EMAIL PROTECTED]] Sent: Thursday, October 26, 2000 12:16 AM To: Orion-Interest Cc: J Davis Subject: Re: Can't call an EJB from Within

RE: Can't call an EJB from Within another EJB

2000-10-26 Thread Duffey, Kevin
o a simple one to many join of two tables. It's enough to make me use standard JDBC sql, instead of entity CMP. -Original Message- From: J Davis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 25, 2000 10:21 AM To: Orion-Interest Subject: Can't call an EJB from Within another EJB

Re: Can't call an EJB from Within another EJB

2000-10-26 Thread Joel Shellman
My EJB A does a JNDI call to java:comp/env/ejb/Test and that should work according to the ejb book I have. That is how a session bean uses an entity bean supposedly. From what I read, a session bean (or I suppose any ejb) must use a JNDI lookup for every bean it wants to use. God forbid if I

Can't call an EJB from Within another EJB

2000-10-25 Thread J Davis
We have gotten our Orion server(1.3.8) to work with EJBs on a singular level(i.e. we can call EJB A, B or C and it works fine.) But If one of our EJB's tries to call another(i.e. A calls B) A throws a naming exception that it can't find the EJB reference when doing a jndi lookup. Is there a

Re: Can't call an EJB from Within another EJB

2000-10-25 Thread Sven van 't Veer
J Davis wrote: We have gotten our Orion server(1.3.8) to work with EJBs on a singular level(i.e. we can call EJB A, B or C and it works fine.) But If one of our EJB's tries to call another(i.e. A calls B) A throws a naming exception that it can't find the EJB reference when doing a jndi