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 looking up data sources ic.lookup("java:"); >From within an EJB, or session bean ic.lookup("java:comp/env/ejb/InwardSLSBRef"); Jonathan ps All this JNDI stuff is totally rubbish, vast overkill, vast over complication. J2EE yet again poluting simple coding projects with its irrelevant view of the world. -- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user