Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread Dmitri Colebatch
[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

Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread jK.MkIII
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

Re: [JBoss-user] ejb references, ejb-jar.xml and jboss.xml ..or just useerror?

2002-02-25 Thread Jonathan Gibbons
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