• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to configure for JavaMail

 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Kelly, same problem I have
my topic is a few days ago:

https://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
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
reply
    Bookmark Topic Watch Topic
  • New Topic