This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
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 REST with Spring (video course) this week in the Spring forum!
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.
subject: Tomcat5.025 and mail.jar?
jQuery in Action, 3rd edition