4 Replies Latest reply on Oct 27, 2014 6:38 PM by James Livingston

    How to access jars which are available in ear/lib in module.xml

    Jitendra Tiwari Newbie


          I am trying to read jar files from ear/lib in module.xml.  All the application jars  are available in standalone/deployment/my.ear/lib . I don't want to copy them with module.xml but I want to read those jars and its dependent jars from my.ear/lib . For an example:-

      <module xmlns="urn:jboss:module:1.3" name="com.test.my.login">


              <resource-root path="../standalone/deployments/my.ear/lib/login.jar"/>          



              <module name="javax.api"/>

              <module name="javax.resource.api"/>      




      Please help if it is possible.