0 Replies Latest reply on Feb 8, 2006 2:37 AM by bgonline

    How to share class through war with isolated ClassLoader ?

    bgonline

      Hello,

      I have two web applications deployed on JBoss with the following container configuration in jboss-web.xml file :

      <class-loading java2ClassLoadingCompliance="true">
       <loader-repository>
       dot.com:loader=unique-archive-name
       <looader-repository-config>
       java2ParentDelegation=true
       </looader-repository-config>
       </loader-repository>
      </class-loading>
      

      These webapps share classes through their session.
      So, I put the shared classes in a common package put in the lib directory of my jboss server configuration.
      But I have a ClassNotFoundException that occured.

      Could someone help me please ?

      Thanks in advance.
      ____________________ _ _ _
      bgOnline