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

Migration of ajp connector via migrate operation fails due missing capabilities

XMLWordPrintable

    • Hide
      1. Start the server with attached config in admin only mode => ./standalone.sh -c standalone-full-ha-migrate.xml.original --admin-only
      2. Connect to the server and call migrate operation on web subsystem => ./jboss-cli.sh -c --controller=localhost:9999 /subsystem=web:migrate()
      Show
      Start the server with attached config in admin only mode => ./standalone.sh -c standalone-full-ha-migrate.xml.original --admin-only Connect to the server and call migrate operation on web subsystem => ./jboss-cli.sh -c --controller=localhost:9999 /subsystem=web:migrate()

      Migrating AJP connector fails with [1]

      This is regression in comparison to EAP 7.1.0.DR15, caused by JBEAP-10033.

      Also note, that migrate operation shouldn't rather provide migration warnings than failing as whole.

      [1]

      10:58:19,440 ERROR [org.jboss.as.controller.management-operation] (management-handler-thread - 1) WFLYCTL0190: Step handler org.jboss.as.controller.extension.ExtensionRemoveHandler@388b2c29 for operation {"operation" => "remove","address" => [("extension" => "org.jboss.as.web")],"operation-headers" => {"caller-type" => "user","access-mechanism" => "NATIVE"}} at address [("extension" => "org.jboss.as.web")] failed handling operation rollback -- java.lang.IllegalStateException: WFLYCTL0363: Capability 'org.wildfly.undertow.listener' is already registered in context 'global'.: java.lang.IllegalStateException: WFLYCTL0363: Capability 'org.wildfly.undertow.listener' is already registered in context 'global'.
      	at org.jboss.as.controller.CapabilityRegistry.lambda$registerPossibleCapability$0(CapabilityRegistry.java:522) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at java.util.concurrent.ConcurrentHashMap.computeIfPresent(ConcurrentHashMap.java:1769) [rt.jar:1.8.0_121]
      	at org.jboss.as.controller.CapabilityRegistry.registerPossibleCapability(CapabilityRegistry.java:516) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerCapability(ConcreteResourceRegistration.java:679) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.web.WebConnectorDefinition.registerCapabilities(WebConnectorDefinition.java:231)
      	at org.jboss.as.controller.registry.NodeSubregistry.registerChild(NodeSubregistry.java:108) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.registry.ConcreteResourceRegistration.registerSubModel(ConcreteResourceRegistration.java:225) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.web.WebExtension.initializeLegacyModel(WebExtension.java:107)
      	at org.jboss.as.controller.extension.AbstractLegacyExtension.initialize(AbstractLegacyExtension.java:72) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.extension.ExtensionAddHandler.initializeExtension(ExtensionAddHandler.java:131) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.extension.ExtensionRemoveHandler$1.handleRollback(ExtensionRemoveHandler.java:81) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext$RollbackDelegatingResultHandler.handleResult(AbstractOperationContext.java:1521) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext$Step.invokeResultHandler(AbstractOperationContext.java:1493) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext$Step.handleResult(AbstractOperationContext.java:1475) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext$Step.finalizeInternal(AbstractOperationContext.java:1437) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext$Step.finalizeStep(AbstractOperationContext.java:1420) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext$Step.access$400(AbstractOperationContext.java:1284) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext.executeResultHandlerPhase(AbstractOperationContext.java:856) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext.processStages(AbstractOperationContext.java:683) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AbstractOperationContext.executeOperation(AbstractOperationContext.java:441) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.OperationContextImpl.executeOperation(OperationContextImpl.java:1397) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl.internalExecute(ModelControllerImpl.java:421) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl.lambda$execute$1(ModelControllerImpl.java:243) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:263) [wildfly-elytron-1.1.0.Beta34-redhat-1.jar:1.1.0.Beta34-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:229) [wildfly-elytron-1.1.0.Beta34-redhat-1.jar:1.1.0.Beta34-redhat-1]
      	at org.jboss.as.controller.ModelControllerImpl.execute(ModelControllerImpl.java:243) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.doExecute(ModelControllerClientOperationHandler.java:217) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler.access$400(ModelControllerClientOperationHandler.java:137) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:161) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1$1.run(ModelControllerClientOperationHandler.java:157) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:287) [wildfly-elytron-1.1.0.Beta34-redhat-1.jar:1.1.0.Beta34-redhat-1]
      	at org.wildfly.security.auth.server.SecurityIdentity.runAs(SecurityIdentity.java:244) [wildfly-elytron-1.1.0.Beta34-redhat-1.jar:1.1.0.Beta34-redhat-1]
      	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:254) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.AccessAuditContext.doAs(AccessAuditContext.java:225) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.controller.remote.ModelControllerClientOperationHandler$ExecuteRequestHandler$1.execute(ModelControllerClientOperationHandler.java:157) [wildfly-controller-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$1.doExecute(ManagementRequestContextImpl.java:70) [wildfly-protocol-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at org.jboss.as.protocol.mgmt.ManagementRequestContextImpl$AsyncTaskRunner.run(ManagementRequestContextImpl.java:160) [wildfly-protocol-3.0.0.Beta13-redhat-1.jar:3.0.0.Beta13-redhat-1]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121]
      	at org.jboss.threads.JBossThread.run(JBossThread.java:320) [jboss-threads-2.2.1.Final-redhat-1.jar:2.2.1.Final-redhat-1]
      

              tomazcerar Tomaž Cerar (Inactive)
              tomazcerar Tomaž Cerar (Inactive)
              Radim Hatlapatka Radim Hatlapatka (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: