This can also help you: http://jira.jboss.com/jira/browse/JBAS-2938, mail
client requires activation.jar.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930011#3930011
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930
For me it worked to use:
@Resource(mappedName="java:/Mail")
private Session mailSession;
instead of ctx.lookup. But the lookup should work too I suppose. Bug in RC?
Jan
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930008#3930008
Reply to the post :
http
Hi,
mail service works in 4.0.3sp1 but doesn't work in 4.0.4RC1. The log is strange:
[org.jboss.system.ServiceCreator] Created bean: jboss:service=Mail
[org.jboss.system.ServiceConfigurator] JNDIName set to java:/Mail in
jboss:service=Mail
...
In EJB stateless bean ctx.lookup("java:/Mail") ret