Greetings -

I'm trying to add a library for my application, however I can't get tomcat
to find it in the classpath.  I've added the directory of the classes to the
tomcat shell script (where I declared a CLASSPATH variable and exported it).

My setup is an RPM install on a Linux kernal 2.2.14 box. (I make this note
because I believe it doesn't come with the normal /bin directory - just a
tomcat shell script).

I'm trying to add some JavaMail libraries which I have included in <tomcat
home>/lib and <tomcat home>/webapps/MY_APP/WEB-INF/lib.  But when I use a
function that refers to the class I get the following error:

Internal Servlet Error:
        javax.servlet.ServletException: javax/activation/DataSource

Root cause: 
        java.lang.NoClassDefFoundError: javax/activation/DataSource

>From what I can gather, tomcat can't see the classes I need and is crashing
because of that.  I have the exact same setup on my NT box and it works
fine.  The only difference with my NT setup is that I installed using the
tomcat.zip file which DOES include the normal /bin directory.

Please help! 

Thanks in advance.

stan





_______________________________________________________
Send a cool gift with your E-Card
http://www.bluemountain.com/giftcenter/


Reply via email to