• 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

tc/common/lib and JavaMail

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi guys and gurlz,
i'm confused. i'm using JavaMail in a webapp deployed on tomcat4.
when developing with netbeans, i just had the activation.jar, mail.jar and smtp.jar mounted as filesystems - no problems at all.
in the live environment i got a
NoSuchProvider Exception: smtp
tomcat couldn't find an implementation for an smtp provider.
the solution was to put smtp.jar in $TOMCAT/common/lib folder. but why ? why couldn't the smtp.jar be found when i had it in the WEB-INF/lib directory of my web application ?
thanks in advance for your help,
dennis
 
reply
    Bookmark Topic Watch Topic
  • New Topic