tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vibha.Mull...@sita.int
Subject Re: email servlet not working on TOMCAT
Date Wed, 01 May 2002 15:53:07 GMT

No. they are in a folder email downloaded from sun site and separate from
tomcat directory structure path. However, the classpath points to them:

classpath:

C:\JAKART~1.3\WEBAPPS\ROOT\WEB-INF\CLASSES\ADS>echo %classpath%
c:\junk\email\activation.jar;c:\junk\email\javamail-1.2\mail.jar;c:
\jakarta-tomc
at-3.3\lib;c:\jakarta-tomcat-3.3\lib\common\servlet.jar;C:
\orant817\jdbc\lib\cla
sses12.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:
\orant81
7\bin;.


________________________________________________________________________________________

>From Marc Boorshtein <mboorshtein@yahoo.com> on 1 May 2002 11:35:59 AM
To : Tomcat Developers List <tomcat-dev@jakarta.apache.org>
Subject : Re: email servlet not working on TOMCAT


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:
> <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:tomcat-dev-help@jakarta.apache.org>
>


__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com

--
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