You probably have not configured classloader isolation for those 2 EARs. Create a
jboss-app.xml (if you don't have one, already) for both these EARs. The jboss-app.xml
needs to be placed in the META-INF folder of the EARs. The contents of that file should be
something like this:
EAR1:
<jboss-app>
| <loader-repository>
| org.myapp:loader=myEAR
| <loader-repository-config>
| java2ParentDelegation=false
| </loader-repository-config>
| </loader-repository>
|
|
|
| </jboss-app>
|
For the other EAR, the jboss-app.xml contents will be similar except a unique name for the
classloader
EAR2:
<jboss-app>
| <loader-repository>
| org.myapp:loader=myOtherEAR
| <loader-repository-config>
| java2ParentDelegation=false
| </loader-repository-config>
| </loader-repository>
|
|
|
| </jboss-app>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4146474#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...