Quoting "Caldarale, Charles R" <[EMAIL PROTECTED]>:
java.lang.ClassCastException: javax.mail.Session cannot be cast to
javax.mail.Session
at utils.MailHelper.sendMail(MailHelper.java:36)
This would indicate you've got the javax.mail.Session class in multiple
places.
Thank you for explaining this.
The activation.jar and mail.jar files should go into common/lib
only, not in the app's WEB-INF/lib. Check the docs for configuring
mail:
http://tomcat.apache.org/tomcat-5.5-doc/jndi-resources-howto.html#JavaMa
il%20Sessions
See the note in item 4.
Yes, that's was the mistake (i reinstalled my application with my own
bad notes...). I will try to have a better look to the doc the next
time. Thx!
----------------------------------------------------
Ce message a ete envoye par le serveur IMP de l'EMA.
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]