0 Replies Latest reply on Sep 11, 2006 1:47 PM by sreepraveen_2000

    can jboss use same classloader for a sar and war

    sreepraveen_2000

      Lets say we have two archives X.sar and Y.war. The Y.war is inside X.sar. The folder structure is something like this.

      X.sar
       --META-INF
       --jboss-service.xml
       --Y.war
       --WEB-INF
       --lib
      

      One of the services specified in jboss-service.xml of X.sar needs to use classes present in the lib folder of the Y.war. I want to use the same classloader for X.sar and Y.war.
      For example if there is a singleton class there should be only one object which is shared between the X.sar and Y.war.

      Any help would be greatly appreciated.