actually when I'm using 

  | @Resource(mappedName="java:/Mail") 
  | 
the mailsession is always null.

if I use 

  |         InitialContext ctx = new InitialContext();
  |         mailSession=(Session)ctx.lookup("java:/Mail");
  | 

everything is fine..so I guess there must be something wrong with this 
annotation or I really don't know

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

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

Reply via email to