1 Reply Latest reply on May 9, 2014 1:21 PM by wdfink

    Migrate jars from jboss 4.2.3 to jboss 7.1

    mohamedali

      Hello friends !

       

      We Have an application deployed on jboss 4.2.3 wich use the jars listed above, we want to migrate that application to jboss 7.1.

       

      poi-3.9-20121203.jar

      poi-ooxml-3.9-20121203.jar

      poi-ooxml-schemas-3.9-20121203.jar

      stax-api-1.0.1.jar

      xmlbeans-2.3.0.jar

      dom4j-1.6.1.jar

       

      Those jars was copied into lib folder of the jboss 4.2.3, how can we do to declare them as module on the JBOSS 7.1 ?

        • 1. Re: Migrate jars from jboss 4.2.3 to jboss 7.1
          wdfink

          You may copy them all in a moduls/my/module/main directory and provide a module.xml (you find examples from jboss modules)

           

          In you application you set a dependency to that module her to "my.module" either MANIFEST or jboss-deployment-structure.xml. See Classloading documentation