4 Replies Latest reply on Sep 30, 2015 5:18 AM by thorkummer

    Wildfly 9.0.1 rejects a SAR (Service Archive) that works in Wildfly 8.1

    tkummer

      Weld is excluded from the SAR in the ears jboss-deployment-structure.xml

       

      <sub-deployment name="auth-jmx.sar">

         <exclude-subsystems>

         <subsystem name="weld" />

         </exclude-subsystems>

      </sub-deployment>

       

      The error in Wildfly is

       

      2015-09-25 14:47:03,529 ERROR                     [management-operation] WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "auth.ear")]) - failure description: {
      "WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"auth.ear\".\"auth-jmx.sar\".batch.environment is missing [jboss.deployment.subunit.\"auth.ear\".\"auth-jmx.sar\".beanmanager]"],
      "WFLYCTL0288: One or more services were unable to start due to one or more indirect dependencies not being available." => {
          "Services that were unable to start:" => ["jboss.deployment.subunit.\"auth.ear\".\"auth-jmx.sar\".batch.job-operator"],
          "Services that may be the cause:" => [
              "jboss.deployment.subunit.\"auth.ear\".\"auth-jmx.sar\".beanmanager",
              "jboss.deployment.subunit.\"babel.ear\".\"babel-jmx.sar\".beanmanager",
              "jboss.deployment.subunit.\"mailer.ear\".\"mailer-jmx.sar\".beanmanager",
              "jboss.deployment.subunit.\"monitor.ear\".\"monitor-jmx.sar\".beanmanager"
          ]
      }

      }

       

      Any ideas appreciated.