[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException while concurrent accessing EJBs and c
do-not-reply at jboss.com
Tue Aug 19 14:41:21 EDT 2008
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#4171355
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171355
More information about the jboss-user