[jboss-user] [Beginners Corner] - Re: JavaMail JNDI Problem

wcydaip do-not-reply at jboss.com
Wed Aug 20 14:27:25 EDT 2008

Well a little more snooping payed off....

I noticed on startup the jmx console deployment was throwing an error about finding my entry into the jboss-web.xml and not finding it in the web.xml.  So that got me thinking that perhaps this war file needs a jboss-web.xml and indeed it did.

  |   |- web.xml
  |   |- jboss-web.xml

Both contain:

  | <resource-ref>
  |     <res-ref-name>java:NetaMail</res-ref-name>
  |     <res-type>javax.mail.Session</res-type>
  |     <jndi-name>java:/NetaMail</jndi-name>
  |     <res-auth>Container</res-auth>
  |   </resource-ref>

And alls well that ends well...


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

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171599

More information about the jboss-user mailing list