1 Reply Latest reply on Aug 26, 2011 8:42 AM by alesj

    Migration form Weblogic 9.x to Jboss AS 5.1

    deepaksshettigar

      I am trying to migrate from Weblogic 9.x to Jboss EAP 5.1


      On Weblogic I had
      1. APP-INF/lib : Containing multiple jars, shared by multiple webapps
      2. APP-INF/classes : Containing classes and property files, shared by multiple webapps.
      3. WebApp1

      4. WebApp2

       

      The APP-INF/lib & APP-INF/classes available in the classpath for the 2 webapps.

       

      For Jboss the EAR structure  I intend to have the following structure.

      1. META-INF

      2. WebApp1

      3. WebApp2


      For Jboss AS 5.1 please suggest a convenient way to have a shared structure similar to APP-INF, without having to put the files jars & classes inside the webapps.

       

      I have tried using the following approaches, but they havent worked on JBoss AS 5.1.

      1. EAR/lib (instead of APP-INF/lib)

      2. Updated META-INF/jboss-app.xml to inlcude

      <jboss-app>

          <library-directory>APP-INF/lib</library-directory>

      </jboss-app>

      3. Added the jars and properties in the EAR classpath by updating the META-INF/manifest.mf. through ant while building the jar.

       

      This is my reference :http://www.mastertheboss.com/jboss-application-server/211-configuring-jboss-shared-libs.html

       

      Please let me know if I m missing something in this or is there another approach.