1 Reply Latest reply on Mar 18, 2005 2:41 PM by Bruno Melloni

    class loading problems

    Julien Martin Expert

      Hello,
      I am trying for my web app to look for classe first in its classes directory instead of looking in the lib directory. Note that I am trying to do this through the jboss-web.xml so that it is enabled per application.

      I have this in my jboss-web.xml:

      <jboss-web>
       <class-loading java2ClassLoadingCompliance="false">
       <loader-repository>
       dot.com:loader=webTwo.war
       <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
       </loader-repository>
       </class-loading>
      </jboss-web>
      


      It still looks into the lib directory first and gets the classes from there. Can anyone tell me how to enable the wanted behavior on a per app basis?

      Thanks in advance,

      Julien Martin.