On Thu, 14 Feb 2002, Keith Simpson wrote:

> Date: Thu, 14 Feb 2002 08:00:04 -0500
> From: Keith Simpson <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>
> Subject: Re: J2EE and Tomcat
>
> How very ironic - we have the same name - and we have the same
> question!  I put mine out yesterday.  Is this a parallel universe or
> something?  I am running 3.3 tomcat on my dev platform and need to use
> javamail.  (which can be picked up separately or in j2ee)  We are
> developing a new product with JSP (used to be all servlets) and I find
> that there is a problem when it comes to compiling the JSP when I
> replace servlet.jar with j2ee.jar  Otherwise, I believe it works just
> fine.  (that's a big stumbling block)  I am wondering if I am going to
> need to go to tomcat 4 - or what - to get around this one.  My issue
> with 4 is that I will have to migrate it to my production environment
> (apache/tomcat), and that we resell to others with all sorts of app
> servers.
>

Never ever ever ever should you be replacing system JAR files like that!
The j2ee.jar file from the J2EE RI includes a version of Tomcat already,
so you are just duplicating a whole bunch of classes and it is
going to cause runtime conflicts.

If you just need JavaMail, the smart thing to do would be to go download
JavaMail and add the appropriate JARs to Tomcat
<http://java.sun.com/products/javamail.html>.  You will also need the Java
Activation Framework package -- a link is provided on this page.

Tomcat 4 releases include the JavaMail and JAF jar files already.

Craig


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to