Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-8111

[GSS](7.1.0) Full-replace rollback is failing with java.util.NoSuchElementException: No child 'name' exists: java.util.NoSuchElementException: No child > 'name' exists

XMLWordPrintable

    • Not Required
    • Hide

      1. Deploy valid deployment on domain with DC and multiple slave HCs via CLI.

      deploy <path-to-deployment> --server-groups=main-server-group

      2. Add a nonexistent dependency to the deployment.
      jboss-deployment-structure.xml in resources of new deployment:

      <jboss-deployment-structure>
          <deployment>
              <dependencies>
                  <module name="deployment.nonexistent"/>
              </dependencies>
          </deployment>
      </jboss-deployment-structure>

      3. Full replace the old deployment with new with nonexistent dependency.

      :full-replace-deployment(content=[input-stream-index=<path-to-new-deployment>], name=<replaced-deployment-name>)

      The exception will be produced on affected slaves.

      Show
      1. Deploy valid deployment on domain with DC and multiple slave HCs via CLI. deploy <path-to-deployment> --server-groups=main-server-group 2. Add a nonexistent dependency to the deployment. jboss-deployment-structure.xml in resources of new deployment: <jboss-deployment-structure> <deployment> <dependencies> <module name= "deployment.nonexistent" /> </dependencies> </deployment> </jboss-deployment-structure> 3. Full replace the old deployment with new with nonexistent dependency. :full-replace-deployment(content=[input-stream-index=<path-to- new -deployment>], name=<replaced-deployment-name>) The exception will be produced on affected slaves.

      • 21:24:18,013 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool – 56) WFLYCTL0190: Step
        > handler org.jboss.as.server.deployment.DeploymentHandlerUtil$4@6f678cd for operation {"operation" => "full-replace-deployment","name" =>
        > "drmk22.ear","enabled" => true,"content" => [{"hash" => bytes { 0x40, 0xde, 0xe4, 0x1d, 0xdd, 0xd0, 0xa7, 0x9f, 0xa9, 0x7a, 0x92, 0x84,
        > 0xee, 0x92, 0x81, 0xea, 0x5d, 0x7b, 0xa3, 0x2a }}],"operation-headers" => {"access-mechanism" => "NATIVE","domain-uuid" => > "cf11aeb2-70b8-4f64-aa64-67fffd9c8080"}

        ,"address" => [],"runtime-name" => undefined,"persistent" => true,"owner" => undefined} at address []
        > failed handling operation rollback – java.util.NoSuchElementException: No child 'name' exists: java.util.NoSuchElementException: No child
        > 'name' exists
        > at org.jboss.dmr.ModelValue.requireChild(ModelValue.java:387)
        > at org.jboss.dmr.ObjectModelValue.requireChild(ObjectModelValue.java:302)
        > at org.jboss.dmr.ModelNode.require(ModelNode.java:875)
        > at org.jboss.as.server.deployment.DeploymentHandlerUtil$4$1.handleResult(DeploymentHandlerUtil.java:331)
        > at org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1435)
        > at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1417)
        > at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1379)

              ehugonne1@redhat.com Emmanuel Hugonnet
              ehugonne1@redhat.com Emmanuel Hugonnet
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: