0 Replies Latest reply on Feb 2, 2012 1:00 PM by baleado

    JBoss 6.0.1 - Classload Isolation

    baleado Newbie

      Hi,

       

      I'm trying to run a maven project in JBoss 6.0.1, I'm using a framework that have jaxb-xjc-2.1.13 as dependency.

       

      The problem is that JBoss 6.0.1 have their own cxf implementation and this causes classload conflicts.

       

      I tried every tips that I found but without success.

       

      Can anyone help me? Below my project configurations:

       

      WEB-INF/jboss-classloading.xml:

      <classloading xmlns="urn:jboss:classloading:1.0"
          parent-first="false" 
          domain="DefaultDomain" 
          top-level-classloader="true"
          parent-domain="Ignored" 
          export-all="NON_EMPTY" 
          import-all="true">
      </classloading>
      

       

      WEB-INF/jboss-web.xml:

      <?xml version="1.0" encoding="UTF-8" ?>
      <jboss-web>
          <class-loading>
              <loader-repository>
                  pt.mycompany:loader='MuleWebAppSample'
                  <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
              </loader-repository>
          </class-loading>
      </jboss-web>
      

       

      StackTrace (see attach file)