2 Replies Latest reply on Nov 11, 2011 1:51 AM by jaikiran pai

    JBoss 5.1 bleeding Wars

    gboro54 Novice

      We have two wars deployed on the same server, which happen to have a class named the same(say class A). After running for a while, Springs reflection seems to pick up the other war's class and try to perform an operation on that class. We have added the following to both wars but can't see to prevent it from occuring. Are we missing something?

       

       

      The following snippets from jboss-classloading.xml(placed in the web-inf directory).

       

       

      {code:xml}

      <classloading xmlns="urn:jboss:classloading:1.0"

      name="a.war"

      domain="a.war"

      export-all="NON_EMPTY"

      import-all="false"

      parent-first="false">

      </classloading>

       

       

      <classloading xmlns="urn:jboss:classloading:1.0"

      name="b.war"

      domain="b.war"

      export-all="NON_EMPTY"

      import-all="false"

      parent-first="false">

      </classloading>

      {code}