|Re: [jetty-users] Force webapp to use different javax.mail from that one included in lib/jndi
Hi all jetty users, hi Janmy problems with javamail seem not come to ending...now it's time of:"java.lang.ClassCastException: javax.mail.Session cannot be cast to javax.mail.Sessionat org.apache.commons.mail.Email.
setMailSessionFromJNDI(Email. java:612)I've recently configured a javax.mail.Session jndi resource, but as you probably remember (if not I'm replying in the same old thread) I've left both mail.jar, either in jetty lib or in webapp lib.I can't use an old javamail version for my webapplication, I want to use the latest, 1.5.6, why does jetty has an old version?Maybe the solution is not using jndi at this point, what do you think? Thanks guys, bye
eclipse.orgha scritto: -----
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top