aspose file tools*
The moose likes Tomcat and the fly likes Tomcat5.025 and mail.jar? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat5.025 and mail.jar?" Watch "Tomcat5.025 and mail.jar?" New topic
Author

Tomcat5.025 and mail.jar?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hi there,
I tried to run a servlet that sends emails. It failed. I use Tomcat 5.025 on WXP / Sun JVM 1.4.2_04. The error was:
I found from other posts (around Tomcat5), that there should be a mail.jar in the common/lib. In my clean Tomcat5 installation there isn't. What do I miss out? ... and what would be a good book to reduce my number of "I don't understand" questions?
;-) stw
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Originally posted by Stephan Wissel:
What do I miss out?

Well, after comparing the release notes of Tomcat4 and Tomcat5, I realized that there is no more mail.jar in the Tomcat5 distribution (a section about changes to 4 would have been helpful). Downloaded from Sun (read the notes, there is one more jar) copied to common/lib.. Tada it works.
;-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat5.025 and mail.jar?
 
Similar Threads
javax/mail/Message error
Servlets exception thrown
any help how to send emails using ant
Struts & Session issues
HOWTO: Avatars on a headless server