2 Replies Latest reply on May 20, 2015 8:28 AM by Sergiu Pienar

    Can module depend on an EAR ?

    Sergiu Pienar Expert

      Can a jboss module declare a dependency on a certain EAR ? Not sure if this is possible (or even reasonable from a design POV).


      In my module.xml I tried with


      <?xml version="1.0" encoding="UTF-8"?>
      <module xmlns="urn:jboss:module:1.0" name="com.myModule">
          <resource-root path="myModule.jar"/>
        <resource-root path="smpp.jar"/>
          <module name="org.apache.log4j"/>
        <module name="deployment.all-5.5.ear" export="TRUE" />

      But the classes defined in myModule.jar can not access the classes from the all-5.5.ear .