5 Replies Latest reply on Sep 11, 2009 12:43 PM by Peter Johnson

    Class loading poilicy in JBoss

    Vishwanath Washimkar Newbie

      Hi,
      I am new to JBoss AS. I have a web application WAR file which uses JSF1.1 jars and there is a conflict with JBoss JSF jars which comes with the application server.

      Here is my requirement :

      The web application has 4 higher level packages :
      t1,t2,t3,t4

      I want that my webapp perfers classes from web-inf/lib directory over the application server JARs. I had put the following entry in the jboss-web.xml but does not help the cause. May be I am messing something.

      <class-loading>
      <loader-repository>
      <loader-repository-config>java2ParentDelegation=false</loader-repository-config>
      </loader-repository>
      </class-loading>

      Please give an early reply.

      The version of JBoss AS I am using is :

      JBoss 5.1.0 and JBoss-4.2.3