Uh oh, Tomcat script will change all your CLASSPATH settings. Put the mail.jar & activation.jar in some directory where Tomcat will load it. Earlier it was <tomcat-dir>/server/lib. You could also put it in your <webapp>/WEB-INF/lib directory. I am not very sure about 5.x configuration.
Sebu Thomas ----- Original Message ----- From: Martin Gainty <[EMAIL PROTECTED]> Date: Tuesday, March 2, 2004 0:51 am Subject: Re: JavaMail 1.3.1 > C:\PROGRA~1\Apache Software Foundation\Tomcat 5.0\bin>echo %CLASSPATH% > F:\Sun\AppServer\jdk\lib\mail.jar;F:\Sun\AppServer\jdk\lib\activation.jar > > /*Note both of these jars are in place*/ > > C:\PROGRA~1\Apache Software Foundation\Tomcat 5.0\bin>startup > Using CATALINA_BASE: C:\PROGRA~1\Apache Software > Foundation\Tomcat 5.0 > Using CATALINA_HOME: C:\PROGRA~1\Apache Software > Foundation\Tomcat 5.0 > Using CATALINA_TMPDIR: C:\PROGRA~1\Apache Software Foundation\Tomcat > 5.0\temp > Using JAVA_HOME: F:\Sun\AppServer\jdk > > So in the final analysis mail.jar and activation.jar are on the > classpathSuggestions? > -Martin > ----- Original Message ----- > From: "Dean, Michael D." <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, March 01, 2004 11:06 AM > Subject: Re: JavaMail 1.3.1 > > > > Marty: > > > > Now this smells like a classpath problem: > > > > What is your application directory structure. What does the > command-line > > invocation look like? Where are you "sitting" (in the directory) > structure > > when you invoke? > > > > M > > > > > =========================================================================== > > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > > For digest: mailto [EMAIL PROTECTED] with body: "set JSP- > INTERESTDIGEST". > > > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > > > http://java.sun.com/products/jsp > > http://archives.java.sun.com/jsp-interest.html > > http://forums.java.sun.com > > http://www.jspinsider.com > > > > =========================================================================== > To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff > JSP-INTEREST". > For digest: mailto [EMAIL PROTECTED] with body: "set JSP- > INTEREST DIGEST". > > Some relevant archives, FAQs and Forums on JSPs can be found at: > > http://java.sun.com/products/jsp > http://archives.java.sun.com/jsp-interest.html > http://forums.java.sun.com > http://www.jspinsider.com > I wish I was smarter. There is a button called 'brightness' on my monitor; but it doesn't seem to help. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant archives, FAQs and Forums on JSPs can be found at: http://java.sun.com/products/jsp http://archives.java.sun.com/jsp-interest.html http://forums.java.sun.com http://www.jspinsider.com