have you added the ejb-ref into the web.xml file? this is how they will get
bound to the proper namespace. if you don't do that you will be stuck doing
a lookup into the global namespace. (not the most app server independent way
of doing things.) Once you add the ejb-ref into the web.xml you will also
need a jboss-web.xml which points the ref to the JNDI name that the ejb is
bound to.

I am working on an example to do all this, hopefully finished today.

Al


----- Original Message -----
From: Richard Bottoms <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, June 16, 2001 4:12 AM
Subject: [JBoss-user] InitialContext BTW


> BTW, I reworked the Exception handling with e.getMessage(). It reports:
>
> env not bound
>
> r.b.
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user


_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to