"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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4151253#4151253 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4151253 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user