File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat5.025 and mail.jar?" Watch "Tomcat5.025 and mail.jar?" New topic

Tomcat5.025 and mail.jar?

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
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:
subject: Tomcat5.025 and mail.jar?
It's not a secret anymore!