1 Reply Latest reply on Sep 22, 2016 3:57 AM by Miroslav Novak

    (activemq RAR): WFLYCTL0030 No resource definition is registered for address

    Eric Wittmann Apprentice

      I'm looking for a bit of help with activemq in Wildfly 10.0.0.Final.

       

      The problem is that an error occurs on startup of Wildfly 10, which appears to be an activemq configuration (or lookup?) problem.

       

      Here is the error on startup:

       

       

      > 00:40:15,151 INFO [org.apache.activemq.broker.BrokerService] (Starting ActiveMQ Broker) Apache ActiveMQ 5.12.1 (bedework, ID:Michaels-MacBook-Pro.local-55649-1465101614967-0:1) is starting
      > 00:40:15,164 INFO [org.apache.activemq.broker.TransportConnector] (Starting ActiveMQ Broker) Connector bedework started
      > 00:40:15,166 INFO [org.apache.activemq.broker.BrokerService] (Starting ActiveMQ Broker) Apache ActiveMQ 5.12.1 (bedework, ID:Michaels-MacBook-Pro.local-55649-1465101614967-0:1) started
      > 00:40:15,166 INFO [org.apache.activemq.broker.BrokerService] (Starting ActiveMQ Broker) For help or more information please see: http://activemq.apache.org
      > 00:40:15,182 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (MSC service thread 1-6) IJ020002: Deployed: file:/Users/mike/bedework/quickstart-3.10.dev/wildfly-10.0.0.Final/standalone/deployments/activemq-rar-5.12.1.rar/
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/sysevents]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/crawler]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-7) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/changes]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-4) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/schedulerOut]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-7) WFLYJCA0002: Bound JCA ConnectionFactory [java:/jms/BedeworkConnectionFactory]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/syseventslog]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-1) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/schedulerIn]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-3) WFLYJCA0002: Bound JCA ConnectionFactory [java:/activemq/QueueConnectionFactory]
      > 00:40:15,186 INFO [org.jboss.as.connector.deployment] (MSC service thread 1-5) WFLYJCA0002: Bound JCA AdminObject [java:/activemq/queue/monitor]
      > 00:40:15,772 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("connection-definitions" => "ConnectionFactory"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"connection-definitions\" => \"ConnectionFactory\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,777 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("connection-definitions" => "BedeworkConnectionFactory"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"connection-definitions\" => \"BedeworkConnectionFactory\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,780 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "syseventsQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"syseventsQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,783 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "syseventsChangesQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"syseventsChangesQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,786 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "syseventsCrawlerQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"syseventsCrawlerQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,788 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "syseventsLoggerQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"syseventsLoggerQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,791 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "syseventsMonitorQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"syseventsMonitorQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,793 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "scheduleOutQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"scheduleOutQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,795 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("admin-objects" => "scheduleInQueue"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"admin-objects\" => \"scheduleInQueue\"),
      > (\"statistics\" => \"extended\")
      > ]"
      > 00:40:15,795 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 70) WFLYCTL0013: Operation ("read-resource-description") failed - address: ([
      > ("subsystem" => "resource-adapters"),
      > ("resource-adapter" => "activemq-rar-5.12.1.rar"),
      > ("statistics" => "extended")
      > ]) - failure description: "WFLYCTL0030: No resource definition is registered for address [
      > (\"subsystem\" => \"resource-adapters\"),
      > (\"resource-adapter\" => \"activemq-rar-5.12.1.rar\"),
      > (\"statistics\" => \"extended\")
      > ]"
      

       

      And here is a (rather large) reproducer:

       

      Download:

      https://dl.dropboxusercontent.com/u/2991998/bedework-quickstart-3.10-dev.zip

       

      Instructions:

      1. Unpack the zip
      2. Run:  ./startjboss
      3. Observe the error above!

       

      This will start up H2 and then jboss (with some -D params).  The result should be a clean startup *except* for the startup errors in the above error.

       

      Thanks very much - I appreciate any help!