You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Vi...@sita.int on 2002/05/01 17:34:17 UTC
email servlet not working on TOMCAT
import javax.mail.*;
import javax.mail.internet.*;
import javax.activation.*;
compiles without errors but fails at runtime with the following error:
Internal Servlet Error:
java.lang.NoClassDefFoundError: javax/mail/MessagingException
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at org.apache.tomcat.facade.ServletHandler.getServlet(Unknown
Source)
at org.apache.tomcat.facade.ServletHandler.preInit(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.init(Unknown Source)
at org.apache.tomcat.facade.ServletHandler.service(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown
Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
Source)
at java.lang.Thread.run(Thread.java:484)
Can anyone help?
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: email servlet not working on TOMCAT
Posted by Marc Boorshtein <mb...@yahoo.com>.
are activation.jar & all the mail jar's in your lib?
Marc
--- Vibha.Mullick@sita.int wrote:
>
>
> import javax.mail.*;
> import javax.mail.internet.*;
> import javax.activation.*;
> compiles without errors but fails at runtime with
> the following error:
>
> Internal Servlet Error:
>
> java.lang.NoClassDefFoundError:
> javax/mail/MessagingException
> at java.lang.Class.newInstance0(Native
> Method)
> at
> java.lang.Class.newInstance(Class.java:237)
> at
>
org.apache.tomcat.facade.ServletHandler.getServlet(Unknown
> Source)
> at
>
org.apache.tomcat.facade.ServletHandler.preInit(Unknown
> Source)
> at
> org.apache.tomcat.facade.ServletHandler.init(Unknown
> Source)
> at
>
org.apache.tomcat.facade.ServletHandler.service(Unknown
> Source)
> at
>
org.apache.tomcat.core.ContextManager.internalService(Unknown
> Source)
> at
>
org.apache.tomcat.core.ContextManager.service(Unknown
> Source)
> at
>
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown
>
>
>
> Source)
> at
>
org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown
> Source)
> at
>
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown
> Source)
> at java.lang.Thread.run(Thread.java:484)
>
>
> Can anyone help?
>
>
>
>
>
>
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: email servlet not working on TOMCAT
Posted by Pier Fumagalli <pi...@betaversion.org>.
"Vibha.Mullick@sita.int" <Vi...@sita.int> wrote:
> Can anyone help?
Someone on the APPROPRIATE mailing list might (tomcat-user)
--
I think that it's extremely foolish to name a server after the current U.S.
President. B.W. Fitzpatrick
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>