This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I'm running Tomcat 3.3 and I'm trying to connect to an SMTP server with JavaMail. The machine that is running Tomcat 3.3 has J2SE1.3 and J2EE1.3. So, JavaMail is included with the J2EE. Now, according to my documentation, in order to give Tomcat visibility to any jars that aren't part of JAVA_HOME, you need to copy them to %TOMCAT_HOME%/lib/common, ./lib/apps, ./lib/containter, or webapps/--WEBAPP--/WEB-INF/lib. I wanted to make the JavaMail stuff visible to all my webapps, so it seemed I should copy the j2ee.jar file into ./lib/apps. Well, once I did that, I no longer got any import errors. However, I keep getting the following error in the page where I am attempting to send the email, and it's obnoxious. Just to clarify, I am NOT calling flushBuffer().
If anyone can help out, I'd be extremely appreceiative.