aspose file tools*
The moose likes JSP and the fly likes How to configure for JavaMail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to configure for JavaMail" Watch "How to configure for JavaMail" New topic
Author

How to configure for JavaMail

Kelly Adams
Greenhorn

Joined: Feb 15, 2003
Posts: 13
Hi,
I am using JavaMail in jsp. It works fine under Tomcat. But while it was run under JRun, it couldn't find the classes in the mail.jar. Does anybody know how ot configure JRun in order to use JavaMail? I saved mail.jar in the lib folder under WEB-INF folder.
Thanks,
Kelly
Ilja Smoli
Ranch Hand

Joined: Dec 02, 2001
Posts: 64
Hi Kelly, same problem I have
my topic is a few days ago:

http://www.coderanch.com/t/281969/JSP/java/class
maybe it helps u, there is one reply about tomcat.bat and classpath in it...
for me it didn't work
Kelly Adams
Greenhorn

Joined: Feb 15, 2003
Posts: 13
Ilja,
Thanks.
It did work on my Tocat. I used 4.1.12 and saves the mail.jar andactivation.jar in the lib folder as you did. Does Tomcat 3.x support JavaMail?
Kelly
Ilja Smoli
Ranch Hand

Joined: Dec 02, 2001
Posts: 64
as I understand Tomcat just a container and javamail just a classes...so there can't be compatibility problems...
Correct me if im wrong...
Well, I have read Tomcat documentation about Configuring Classes, and after putting mail.jar and activation.jar in tomcat\lib\common it works...
but i still don't understand why it didn't work when this files were in web-inf\lib folder?
if somebody tells me, i'll be very thankful..
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to configure for JavaMail