tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Grey <KG...@dynamicsoft.com>
Subject RE: email servlet not working on TOMCAT
Date Wed, 01 May 2002 19:37:47 GMT

Did you try putting it in your WEB-INF/lib dir of your WAR file?

~~K
Kevin Z Grey

-----Original Message-----
From: Vibha.Mullick@sita.int [mailto:Vibha.Mullick@sita.int] 
Sent: Wednesday, May 01, 2002 3:14 PM
To: tomcat-dev@jakarta.apache.org
Subject: email servlet not working on TOMCAT




The servlet that uses mail.jar copiles but fails with error 500 when run on
TOMCAT. Any ideas?
The classpath is set to:
C:\JAKART~1.3\WEBAPPS\ROOT\WEB-INF\CLASSES\ADS>echo %CLASSPATH%
c:\jakarta-tomcat-3.3\lib\activation.jar;c:
\jakarta-tomcat-3.3\lib\mail.jar;c:\j
akarta-tomcat-3.3\lib;c:\jakarta-tomcat-3.3\lib\common\servlet.jar;C:
\orant817\j
dbc\lib\classes12.zip;C:\orant817\jdbc\lib\nls_charset12.zip;c:
\jdk1.3.1_01\lib\
tools.jar;c:\jdk1.3.1_01\lib\dt.jar;c:\jakarta-tomcat-3.3\lib;c:
\jdk1.3.1_01\bin
;c:\orant817\bin;.


Servlet fails with the following error:
java.lang.NoClassDefFoundError: javax/mail/MessagingException
           at java.lang.Class.newInstance0(Native Method)
           at java.lang.Class.newInstance(Class.java:237)




--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message