Ken T. wrote:
I'm having some difficulty setting up a shared email resource under Tomcat and I can't seem to find the answer anywhere online. Everything seems to be working under Tomcat, but for some reason my application can't find the JNDI name..

You have to include mapping in Context as well:

META-INF/context.xml:

<Context>
<ResourceLink global="mail/Session" name="mail/Session" type="javax.mail.Session"
/>


--
Mikolaj Rydzewski <m...@ceti.pl>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to