[snip]
> > >From within an EJB, or session bean
> >
> > ic.lookup("java:comp/env/ejb/InwardSLSBRef");
> >
> actually this is incorrect, in that way that it works but it is not
necessary. from ejb (entity or session) you can
> lookup stuff in its context by just using "ejb/InwardSLSBRef", that
"ja
Jonathan Gibbons wrote:
> Could it be the JNDI name you use? You say you are calling this from the Login
>bean? As in an EJB or a Gui bean?
In my talk bean = EJB :) sometimes can be confusing..
If you see my latest post about subject you see that I found what was causing it. It
was not JN
Could it be the JNDI name you use? You say you are calling this from the Login
bean? As in an EJB or a Gui bean?
The rules are:
>From the web tier use:
ic.lookup("ejb/InwardSLSBRef");
(except I had problems using ejb/ in a past interation, so dropped it)
>From the same java JVM, eg look