0 Replies Latest reply on Oct 8, 2013 5:59 AM by wowalex

    jboss 4.2.3 with ear and wars

    wowalex

      Hi all,

      I have a problem with jboss 4.2.3

       

      I've deployed an ear, without any library. In ear I've 2 war each with its WEB-INF/lib.

      This is the structure:

      a.ear

      |-   b.war

      |     |-----------WEB-INF/lib

      |                    |-------------------  libraryV1.jar

      |-    c.war

      |      |----------WEB-INF/lib

      |                    |-------------------- libraryV2.jar

       

      libraryV2 is a later version of libraryV1 and so in libraryV1 some method don't exist.

       

      When I start my jboss, my c application see classes and methods of libraryV1.jar, but no ones of libraryV2.jar.

      The problem there isn't if I undeploy application b.

      Why this problem?

      Can I tell b and c applications to see only their own libraries?

       

      Thank's