Skip to content

Instantly share code, notes, and snippets.

@emag
Last active August 30, 2015 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save emag/5833078b428ca5e3e09d to your computer and use it in GitHub Desktop.
Save emag/5833078b428ca5e3e09d to your computer and use it in GitHub Desktop.
WIldFly Swarm MDB deployment error
$ java -jar target/wildfly-swarm-example-messaging-mdb-swarm.jar
tmpDir: /tmp
00:36:30,035 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
00:36:30,153 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Core 2.0.0.Beta4 "Kenny" starting
2015-08-31 00:36:31,032 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 17) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
2015-08-31 00:36:31,037 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 18) WFLYSEC0002: Activating Security Subsystem
2015-08-31 00:36:31,039 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 19) WFLYNAM0001: Activating Naming Subsystem
2015-08-31 00:36:31,039 INFO  [org.jboss.as.security] (MSC service thread 1-4) WFLYSEC0001: Current PicketBox version=4.9.3.Final
2015-08-31 00:36:31,069 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 20) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
2015-08-31 00:36:31,081 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0003: Undertow 1.3.0.Beta9 starting
2015-08-31 00:36:31,085 INFO  [org.jboss.as.naming] (MSC service thread 1-3) WFLYNAM0003: Starting Naming Service
2015-08-31 00:36:31,088 INFO  [org.jboss.as.connector] (MSC service thread 1-8) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.5.Final)
2015-08-31 00:36:31,089 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0003: Undertow 1.3.0.Beta9 starting
2015-08-31 00:36:31,155 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.4.0.Beta1
2015-08-31 00:36:31,186 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.4.0.Beta1
2015-08-31 00:36:31,270 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-7) WFLYMSGAMQ0075: AIO wasn't located on this platform, it will fall back to using pure Java NIO. Your platform is Linux, install LibAIO to enable the AIO journal and achieve optimal performance.
2015-08-31 00:36:31,453 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0012: Started server default-server.
2015-08-31 00:36:31,459 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/tmp/wildfly-self-contained1010504170410013635.d/activemq/journal,bindingsDirectory=/tmp/wildfly-self-contained1010504170410013635.d/activemq/bindings,largeMessagesDirectory=/tmp/wildfly-self-contained1010504170410013635.d/activemq/largemessages,pagingDirectory=/tmp/wildfly-self-contained1010504170410013635.d/activemq/paging)
2015-08-31 00:36:31,511 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221013: Using NIO Journal
2015-08-31 00:36:31,516 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0006: Undertow HTTP listener default listening on /0:0:0:0:0:0:0:0:8080
2015-08-31 00:36:31,645 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
2015-08-31 00:36:31,742 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221007: Server is now live
2015-08-31 00:36:31,742 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.0.0 [nodeID=e3420c2d-4f2c-11e5-b822-09a047d394f4]
2015-08-31 00:36:31,744 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221003: trying to deploy queue jms.queue.my-topic
2015-08-31 00:36:31,801 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 24) AMQ221003: trying to deploy queue jms.topic.my-topic
2015-08-31 00:36:31,838 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 25) WFLYMSGAMQ0002: Bound messaging object to jndi name java:/ConnectionFactory
2015-08-31 00:36:31,955 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.Beta4 "Kenny" started in 1961ms - Started 132 of 142 services (29 services are lazy, passive or on-demand)
2015-08-31 00:36:32,053 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0027: Starting deployment of "0b88d7eb-2b71-47c3-8163-d7607dcc7550.war" (runtime-name: "0b88d7eb-2b71-47c3-8163-d7607dcc7550.war")
2015-08-31 00:36:32,140 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."0b88d7eb-2b71-47c3-8163-d7607dcc7550.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."0b88d7eb-2b71-47c3-8163-d7607dcc7550.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "0b88d7eb-2b71-47c3-8163-d7607dcc7550.war"
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
	at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found
	at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:669)
	at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:274)
	at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154)
	at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:81)
	at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:57)
	at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:76)
	at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
	... 5 more

2015-08-31 00:36:32,143 ERROR [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("add") failed - address: (("deployment" => "0b88d7eb-2b71-47c3-8163-d7607dcc7550.war")) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"0b88d7eb-2b71-47c3-8163-d7607dcc7550.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"0b88d7eb-2b71-47c3-8163-d7607dcc7550.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"0b88d7eb-2b71-47c3-8163-d7607dcc7550.war\"
    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}
2015-08-31 00:36:32,145 ERROR [org.jboss.as.server] (main) WFLYSRV0021: Deploy of deployment "0b88d7eb-2b71-47c3-8163-d7607dcc7550.war" was rolled back with the following failure message:
{"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"0b88d7eb-2b71-47c3-8163-d7607dcc7550.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"0b88d7eb-2b71-47c3-8163-d7607dcc7550.war\".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment \"0b88d7eb-2b71-47c3-8163-d7607dcc7550.war\"
    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}
2015-08-31 00:36:32,149 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-8) WFLYSRV0028: Stopped deployment 0b88d7eb-2b71-47c3-8163-d7607dcc7550.war (runtime-name: 0b88d7eb-2b71-47c3-8163-d7607dcc7550.war) in 4ms
2015-08-31 00:36:32,150 INFO  [org.jboss.as.controller] (main) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."0b88d7eb-2b71-47c3-8163-d7607dcc7550.war".PARSE
$ java -jar target/wildfly-swarm-example-messaging-mdb-swarm.jar
tmpDir: /tmp
01:02:43,436 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
01:02:43,652 INFO  [org.jboss.as] (MSC service thread 1-8) WFLYSRV0049: WildFly Core 2.0.0.Beta4 "Kenny" starting
2015-08-31 01:02:45,308 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 17) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
2015-08-31 01:02:45,327 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 18) WFLYSEC0002: Activating Security Subsystem
2015-08-31 01:02:45,334 INFO  [org.jboss.as.connector] (MSC service thread 1-4) WFLYJCA0009: Starting JCA Subsystem (IronJacamar 1.2.5.Final)
2015-08-31 01:02:45,338 INFO  [org.jboss.as.security] (MSC service thread 1-3) WFLYSEC0001: Current PicketBox version=4.9.3.Final
2015-08-31 01:02:45,339 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 20) WFLYIO001: Worker 'default' has auto-configured to 16 core threads with 128 task threads based on your 8 available processors
2015-08-31 01:02:45,358 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 19) WFLYNAM0001: Activating Naming Subsystem
2015-08-31 01:02:45,368 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-1) WFLYUT0003: Undertow 1.3.0.Beta9 starting
2015-08-31 01:02:45,370 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 14) WFLYUT0003: Undertow 1.3.0.Beta9 starting
2015-08-31 01:02:45,442 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
2015-08-31 01:02:45,544 INFO  [org.xnio] (MSC service thread 1-4) XNIO version 3.4.0.Beta1
2015-08-31 01:02:45,627 INFO  [org.xnio.nio] (MSC service thread 1-4) XNIO NIO Implementation Version 3.4.0.Beta1
2015-08-31 01:02:45,734 INFO  [org.wildfly.extension.messaging-activemq] (MSC service thread 1-7) WFLYMSGAMQ0075: AIO wasn't located on this platform, it will fall back to using pure Java NIO. Your platform is Linux, install LibAIO to enable the AIO journal and achieve optimal performance.
2015-08-31 01:02:45,925 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0012: Started server default-server.
2015-08-31 01:02:46,179 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221000: live Message Broker is starting with configuration Broker Configuration (clustered=false,journalDirectory=/tmp/wildfly-self-contained3304988099587257661.d/activemq/journal,bindingsDirectory=/tmp/wildfly-self-contained3304988099587257661.d/activemq/bindings,largeMessagesDirectory=/tmp/wildfly-self-contained3304988099587257661.d/activemq/largemessages,pagingDirectory=/tmp/wildfly-self-contained3304988099587257661.d/activemq/paging)
2015-08-31 01:02:46,246 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0006: Undertow HTTP listener default listening on /0:0:0:0:0:0:0:0:8080
2015-08-31 01:02:46,264 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221013: Using NIO Journal
2015-08-31 01:02:46,454 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221043: Protocol module found: [artemis-server]. Adding protocol support for: CORE
2015-08-31 01:02:46,623 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221007: Server is now live
2015-08-31 01:02:46,624 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 23) AMQ221001: Apache ActiveMQ Artemis Message Broker version 1.0.0 [nodeID=8ddd40e5-4f30-11e5-bc98-69aad65a5711] 
2015-08-31 01:02:46,681 INFO  [org.wildfly.extension.messaging-activemq] (ServerService Thread Pool -- 23) WFLYMSGAMQ0002: Bound messaging object to jndi name java:/ConnectionFactory
2015-08-31 01:02:46,699 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 25) AMQ221003: trying to deploy queue jms.queue.my-topic
2015-08-31 01:02:46,797 INFO  [org.apache.activemq.artemis.core.server] (ServerService Thread Pool -- 24) AMQ221003: trying to deploy queue jms.topic.my-topic
2015-08-31 01:02:47,016 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: WildFly Core 2.0.0.Beta4 "Kenny" started in 3639ms - Started 133 of 143 services (29 services are lazy, passive or on-demand)
2015-08-31 01:02:47,157 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-3) WFLYSRV0027: Starting deployment of "6c7843f9-bc1b-4e30-b419-78cd043c1948.war" (runtime-name: "6c7843f9-bc1b-4e30-b419-78cd043c1948.war")
2015-08-31 01:02:47,890 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-5) WFLYUT0018: Host default-host starting
2015-08-31 01:02:47,983 ERROR [org.jboss.as.controller.management-operation] (main) WFLYCTL0013: Operation ("add") failed - address: (("deployment" => "6c7843f9-bc1b-4e30-b419-78cd043c1948.war")) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"6c7843f9-bc1b-4e30-b419-78cd043c1948.war\".component.MyTopicMDB.CREATE is missing [jboss.ra.activemq-ra]"]}
2015-08-31 01:02:47,989 ERROR [org.jboss.as.server] (main) WFLYSRV0021: Deploy of deployment "6c7843f9-bc1b-4e30-b419-78cd043c1948.war" was rolled back with the following failure message: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"6c7843f9-bc1b-4e30-b419-78cd043c1948.war\".component.MyTopicMDB.CREATE is missing [jboss.ra.activemq-ra]"]}
2015-08-31 01:02:48,002 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0019: Host default-host stopping
2015-08-31 01:02:48,020 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment 6c7843f9-bc1b-4e30-b419-78cd043c1948.war (runtime-name: 6c7843f9-bc1b-4e30-b419-78cd043c1948.war) in 30ms
2015-08-31 01:02:48,022 INFO  [org.jboss.as.controller] (main) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component.MyTopicMDB.CREATE (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component.MyTopicMDB.VIEW."org.wildfly.swarm.examples.messaging.mdb.MyTopicMDB".MESSAGE_ENDPOINT, service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component.MyTopicMDB.START, service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".moduleDeploymentRuntimeInformation] 
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component.MyTopicMDB.START (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".moduleDeploymentRuntimeInformationStart, service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./, service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService] 
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component.MyTopicMDB.VIEW."org.wildfly.swarm.examples.messaging.mdb.MyTopicMDB".MESSAGE_ENDPOINT (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".moduleDeploymentRuntimeInformation] 
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./, service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService] 
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./, service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService] 
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".ee.ComponentRegistry (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService] 
      service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".moduleDeploymentRuntimeInformation (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".moduleDeploymentRuntimeInformationStart] 
      service jboss.ra.activemq-ra (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".component.MyTopicMDB.CREATE] 
      service jboss.undertow.deployment.default-server.default-host./ (missing) dependents: [service jboss.deployment.unit."6c7843f9-bc1b-4e30-b419-78cd043c1948.war".deploymentCompleteService] 
      service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./] 
      service jboss.undertow.deployment.default-server.default-host./.codec (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService] 
      service jboss.undertow.deployment.default-server.default-host./.session (missing) dependents: [service jboss.undertow.deployment.default-server.default-host./.UndertowDeploymentInfoService] 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment