Problems with classloading in JBoss 5.2
Hello Guys!We are migrating a system from Jboss 5.0 to JBoss 5.2. Our JBoss 5.0 has been running under JRE 1.6 and our JBoss 5.2 is now running under JRE 1.7
Our system consists of:
company-app.ear
- company-app.jar
- company-interface.jar
company-web.war
- company-web.jar
- company-interface.jar
Both files are deployed in the deploy-folder.
The company-web.war calls methods, in company-app.ear through JNDI, that returns object from the common jar-file company-interface.jar.
But when the objects arrives at the company-web.war I get: ClassCastException: my.company.Object cannot be cast to my.company.Object
I guess there is some problem with the classloading.
We did not experience this problem with JBoss 5.0.
Do you guys see what might be the problemo?
Best regards
Fredrik