Try this. On the system getting the class cast exception, run jbossas with the
"-verbose:class" JVM option (add it to the JAVA_OPTS variable in the run
script). This will print out each class loaded and the jar it came from. This might help
you resolve the issue (for example, the EJB is created using a class at one location but
when you code does the cast it is getting a class from another location).
If that does not help you resolve the problem, please post the code that is accessing the
EJB and getting the CCE. Also post the full stack trace for the CCE.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171355#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...