"jaikiran" wrote : 
  | It depends on where you are doing the lookup using the InitialContext. Is 
this being done in the same bean where the @Resource is defined? In which case, 
this should work. However, if you are doing the lookup in some other component 
of your application, then this wont work.
  | 

The lookup using InitialContext is located inside the bean with the @Resource 
annotation. Exactly the same location as the lookup with SessionContext.

I also expect it to work, but it does not. :-(

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4129432#4129432

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4129432
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to