I run into the same thing, with my mail sent from a java class: if the mail.jar and activation.jar are in the shared/lib directory, it won't pick them up, but in web-inf/lib it will.

Dave


Amar wrote:

Hi,
 I am trying to use shared directory for mail api. But when i keep these
jar files ( mail.jar and activation.jar) in shared/lib directory, after
restarting tomcat server when i try to send mail thorugh my jsp page its
give me smtp error.
       But when i keep those archives in WEB-INF/lib then its work fine.

Where could be i am going wrong using shared library?

Thanks
--
Amar




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to