[jboss-user] [Installation, Configuration & Deployment] - Re: Jboss mail-service.xml localhost, port 25

koriel do-not-reply at jboss.com
Tue Sep 26 16:06:16 EDT 2006


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



More information about the jboss-user mailing list