Hi,

I have 2 beans. A and B. I am binding a object to dignesh namespace in "A".
And I am doing the lookup in another bean B, and it is failing with
namenotfoundexception. Am I doing something wrong here.Can anyone please
help me on this

A.bean: -

Context ctx = new InitialContext();
ctx.rebind("java:global/server/Dignesh", "false");


B.Bean :-

InitialContext initContext = new InitialContext();
initContext.lookup("java:global/server/Dignesh"));


Thank you,






--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/NameNotFoundException-during-ejb-lookups-tp4680063.html
Sent from the TomEE Dev mailing list archive at Nabble.com.

Reply via email to