I have a problem in deploying an EAR with a classpath that has conflicts with some libraries of JBOSS 3.2.1.
I tried to create a custom loader repository but I get a java.io.ClassCastException.
the code of jboss-app.xml is:
<jboss-app>
<loader-repository>saib.gs.com:loader=gsApp.ear
<loader-repository-config>java2ParentDelegation=false</loader-repository-config>
</loader-repository>
</jboss-app>
Maybe I wrote a bad jboss-app.xml file, but i don't know. Can someone explain it better?. I have the documentation but is not so clear.
Anyway,the jars that give me problems are xalan.jar and xercesImpl.jar. The first is in the lib directory of the server ( instDir/server/all/lib), the second is in the top level lib directory (instDir/lib).
There is a way to isolate totally the execution evnviroment of an j2ee application?