Can you post the code where you are casting the object after the lookup? Additionally have
a look at
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions which will help you
identify whether this is a classloader issue.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4093957#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...