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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.0.5.CR1, 7.0.5.GA
    • 7.0.3.GA
    • Management
    • None
    • 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=[url=file://<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=[url=file: //<path-to- new -deployment>], name=<replaced-deployment-name>) The exception will be produced on affected slaves.
    • EAP 7.0.5

    Description

      • 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)

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-lgao Lin Gao
              rhn-support-bmaxwell Brad Maxwell
              Ivo Hradek Ivo Hradek (Inactive)
              Ivo Hradek Ivo Hradek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: