Have you setup the ears for classloader isolation? See these for details: http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases Create a jboss-app.xml file for each of these EARs and place it in the META-INF folder the ear. The jboss-app.xml should contain something like this: <jboss-app> | <loader-repository> | myApp:loader=MyApp1 | <loader-repository-config>java2ParentDelegation=false</loader-repository-config> | </loader-repository> | | </jboss-app> Similarly for the other EAR, the content should look like: | <jboss-app> | <loader-repository> | myApp:loader=MyApp2 | <loader-repository-config>java2ParentDelegation=false</loader-repository-config> | </loader-repository> | | </jboss-app> Make sure the loader names (myApp:......) are unique names. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130736#4130736 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130736 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user