[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JavaMail : java.lang.ClassCastException: javax.mail.Sess

knarenderreddy do-not-reply at jboss.com
Fri May 16 02:24:20 EDT 2008

"jaikiran" wrote : "knarenderreddy" wrote : 
  |   | 
  |   | This code is part of web application i mentioned clearly Using Jboss4.2.2
  | knarenderreddy,
  | You don't have to post your comments in "bold". Your first post did not mention whether the lookup code was part of a standalone client or a web application and that was the reason why i asked you that question.
  | Are you packaging mail.jar as part of your web application, which might be resulting into classloader conflicts? See this http://wiki.jboss.org/wiki/ClassCastExceptions for possible ways to debug the exception. Specifically have a look at the jmx-console method mentioned over there. 

Hi Thats why i am send another Post 
In that post i mention all the configuration files 
see that post and if you have solution please help 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151256#4151256

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151256

More information about the jboss-user mailing list