I am trying to use JNDI to configure the mail session. I appear to be
running into trouble because I don't have the mail and activation jars
in tomcat/lib, but rather app/WEB-INF/lib.
If I put them in both places I get an error, If I just leave them in the
application I get ClassNotFoundException.
The smart thing would be to put them in tomcat/lib, but I have other web
applications running on the system without using JNDI, that have their
own versions of mail and activation. My fear is if I put the file in
tomcat/lib for this application, I'll break the other ones.
I am defining the JNDI values inside of the application's context. Is
there any way to not put it in tomcat/lib and still have it work? Or if
I put them in tomcat/lib, will my existing applications still work just
fine since they aren't using JNDI?
Thanks,
Richard
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org