Hello,
I have a webapp communicating with an EJB.
In my webapp, I have the following configuration in my jboss-web.xml:
<jboss-web> <context-root>/context-root</context-root> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> dot.com:loader=uniqueId <looader-repository-config> java2ParentDelegation=false </looader-repository-config> </loader-repository> </class-loading> </jboss-web>
Is the ClassCastException occuring on the EJB or on the object from the common package. Posting the stacktrace would be helpful in identifying the issue.