Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-5404

WF 10.0.0.CR2 with standalone.xml from WF 9 crashes on war deploy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.0.0.CR2
    • 10.0.0.CR1
    • Batch
    • None
    • Hide

      If you take standalone/configuration/standalone.xml from WF 9.0.1.Final, and copy it over the one coming with WF 10.0.0.CR1, then start the server, and deploy a .war you get an exception:

      ...
      17:13:33,335 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0021: Registered web context: /customer-portal
      17:13:33,344 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([("subsystem" => "batch")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["org.wildfly.batch.default.thread.pool is missing [jboss.thread.executor.batch]"]}
      17:13:33,347 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "customer-portal.war")]) - failure description: {"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.unit.\"customer-portal.war\".batch.environment",
              "jboss.deployment.unit.\"customer-portal.war\".batch.job-operator"
          ],
          "Services that may be the cause:" => ["jboss.thread.executor.batch"]
      }}
      17:13:33,403 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "customer-portal.war" (runtime-name : "customer-portal.war")
      

      The deployed .war does not make any use of batch at all.

      Show
      If you take standalone/configuration/standalone.xml from WF 9.0.1.Final, and copy it over the one coming with WF 10.0.0.CR1, then start the server, and deploy a .war you get an exception: ... 17:13:33,335 INFO [org.wildfly.extension.undertow] (ServerService Thread Pool -- 61) WFLYUT0021: Registered web context: /customer-portal 17:13:33,344 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread ) WFLYCTL0013: Operation ( "add" ) failed - address: ([( "subsystem" => "batch" )]) - failure description: { "WFLYCTL0180: Services with missing/unavailable dependencies" => [ "org.wildfly.batch. default .thread.pool is missing [jboss.thread.executor.batch]" ]} 17:13:33,347 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread ) WFLYCTL0013: Operation ( "deploy" ) failed - address: ([( "deployment" => "customer-portal.war" )]) - failure description: { "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.unit.\" customer-portal.war\ ".batch.environment" , "jboss.deployment.unit.\" customer-portal.war\ ".batch.job- operator " ], "Services that may be the cause:" => [ "jboss.thread.executor.batch" ] }} 17:13:33,403 INFO [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "customer-portal.war" (runtime-name : "customer-portal.war" ) The deployed .war does not make any use of batch at all.

      As I understand it Wildfly 10 wants to maintain configuration compatibility with Wildfly 9.
      It looks lake some of the compatibility was broken with CR1 (worked with Betas).

              jperkins-rhn James Perkins
              marko.strukelj@gmail.com Marko Strukelj
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: