This content has been marked as final.
Show 2 replies
-
1. Re: Mail Service Questions. java:/Mail
triathlon98 Apr 8, 2004 10:17 AM (in response to javamac)Have you tried declaring a resource-ref ?
Joachim -
2. Re: Mail Service Questions. java:/Mail
javamac Apr 8, 2004 12:54 PM (in response to javamac)My jboss-web.xml looks like the following
<jboss-web> <context-root>/myApp</context-root> <virtual-host>www.mydomain.com</virtual-host> <resource-ref> <res-ref-name>mail/Session</res-ref-name> <res-type>javax.mail.Session</res-type> <res-auth>Container</res-auth> <jndi-name>java:comp/env/Mail</jndi-name> </resource-ref> </jboss-web>
web.xml looks like this<resource-ref> <res-ref-name>mail/Session</res-ref-name> <res-type>javax.mail.Session</res-type> <res-auth>Container</res-auth> </resource-ref>
Does this look accurate? Thanks for your input