4 Replies Latest reply on Dec 12, 2011 7:20 PM by stephan972

    Classloading isolation issue

    stephan972 Newbie

      I would like JBoss to use only the dependencies located in my war file.

      Each time I deploy this war file, JBoss still uses its own jars.

       

      Here is the `jboss-web.xml` I use :

       

          <?xml version="1.0" encoding="UTF-8"?>

          <jboss-web>

              <class-loading java2ClassLoadingCompliance="false">

                  <loader-repository>

                      my.package:loader=my-app.war

                     <loader-repository-config>

                        java2ParentDelegation=false

                     </loader-repository-config>

                  </loader-repository>

              </class-loading>

          </jboss-web>

       

      and the `jboss-classloading.xml` :

       

          <?xml version="1.0" encoding="UTF-8"?>

          <classloading

              xmlns="urn:jboss:classloading:1.0"

              export-all="NON_EMPTY"

              import-all="true"

              parent-first="false"/>

       

      JBoss 5.1.0.GA