: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, December 22, 2002 6:19 PM
To: Tomcat Users List
Subject: Re: why can't tomcat 4.1.17 can't find javamail?
On Fri, 20 Dec 2002, Dodd Gatsos wrote:
Looks like you are having this problem from a JSP?
Try doing it in a Servlet
My bean is in classes.
Cox, Charlie wrote:
is your bean in WEB-INF/classes(or lib) or in the same directory as
mail.jar?
did you review the classloading document to make sure your classses/libs are
in the correct places?
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
On Fri, 20 Dec 2002, Dodd Gatsos wrote:
Looks like you are having this problem from a JSP?
Try doing it in a Servlet and see if you get the same problem.
Haven't seen your code and I'm really not sure about this, but it may not be
a problem with Tomcat finding the jar file. You may need
List [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 5:33 PM
Subject: Re: why can't tomcat 4.1.17 can't find javamail?
Dodd Gatsos wrote:
Still using Tomcat 4.0.3, so don't know if this is valid.
I use Tomcat/lib
I tried that and that didn't work either.
Have to restart Tomcat
]
To: [EMAIL PROTECTED]
Sent: Thursday, December 19, 2002 5:08 PM
Subject: why can't tomcat 4.1.17 can't find javamail?
I tried putting the javamail jar in tomcat/shared/lib, tomcat/common/lib,
and in
myapp/WEB-INF/lib. I still get:
java.lang.NoClassDefFoundError: javax/mail/internet
I tried putting the javamail jar in tomcat/shared/lib, tomcat/common/lib, and in
myapp/WEB-INF/lib. I still get:
java.lang.NoClassDefFoundError: javax/mail/internet/AddressException
at mybean.init(mybean.java:56)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Dodd Gatsos wrote:
Still using Tomcat 4.0.3, so don't know if this is valid.
I use Tomcat/lib
I tried that and that didn't work either.
Have to restart Tomcat after you place it in there though.
mail.jar
right?
Right
Don't know if you already had it working in 4.0.3 or something.