This content has been marked as final.
Show 3 replies
-
1. Re: ejb not bound?
a.rubalcaba Aug 26, 2006 1:47 PM (in response to ianfmc)Can you please post the code that you use to get the lookup on the object?
-
2. Re: ejb not bound?
ianfmc Aug 26, 2006 5:01 PM (in response to ianfmc)Hi: I had been using
context.lookup("java:comp/env/ejb/Player");
but changed it to
context.lookup("ejb/Player");
--> This worked...I guess remote objects can look at the java:comp subcontext? -
3. Re: ejb not bound?
a.rubalcaba Aug 26, 2006 8:01 PM (in response to ianfmc)I know I had the similar problem and I ended up going with the following piece of code and it worked for me.
Context ctx = new InitialContext();
Object o = ctx.lookup("java:comp/env/HelloWorld");