Yaaay! Finally an answer! Thanks Craig. I knew that substituting jars was not kosher, but I love to experiment. The approach actually worked 6 months ago when I was experimenting with implementing mail on my TC 3.2 server. I would "never,never,never" go to production with such a hair brained scheme! I thought I had seen somewhere that TC 4.0x was J2EE 1.3, but could not "refind" that information.
I was aware I could get javamail and that there was some extension (must be the one of which you speak) to use the mail tags in jakarta-taglib. The link specified in the taglib docs was dead - I assumed that sun just decided to wrap it all up into j2ee. once again, many thanks. "Craig R. McClanahan" wrote: > > 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]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>