0 Replies Latest reply on Feb 25, 2015 4:36 AM by Yurii Lybarskii

    Remove deployment dependencies from multi-module application

    Yurii Lybarskii Newbie

      I have application, contains number of several modules.

      for example




      Then, a have web interface ROOT.war, with deployment descriptor like this

      <module name="deployment.module1.jar" optional="true"/>


      <module name="deployment.module2.sar" optional="true"/>


      <module name="deployment.module3.sar" optional="true"/>

      SO, my ROOT.war could load with any deployment bundle, only module1 and module3, or module2,3, etc.

      But when i remove module, ROOT.war going down with ClassNotFoundException, and could not redeploy even after wildfly reboot.

      How could i remove optional dependencies at runtime?