Troubles deploying ejb3 app with MDB.
whitingjr Apr 7, 2014 6:46 AMHi,
I have seen forum posts [1] for a problem that is similar to the one I am having now. The recommendations in the post are already configured in my runtime.
The exercise I am going through is to bump the version of EAP from 6.2.0.Final to 6.3.0.Alpha2 to check for perf regressions. So, my configuration has been merged in and now deploying the same applications that have run using 6.2. Again using the standalone full xml configuration file.
When deploying the same application to 6.3 with some ejb3 MDBs bundled in the archive I am seeing this error messaged.
11:24:13,085 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.subunit."acme.ear"."acme.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."
acme.ear"."acme.jar".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "acme.jar" of deployment "acme.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:166) [jboss-as-server-7.4.0.Final-redhat-6.jar:7.4.0.Final-redhat-6]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final.jar:1.1.5.Final]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final.jar:1.1.5.Final]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_51]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
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:625) [jboss-msc-1.1.5.Final.jar:1.1.5.Final]
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:278)
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:155)
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:82)
at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:58)
at org.jboss.as.ejb3.deployment.processors.AbstractDeploymentUnitProcessor.deploy(AbstractDeploymentUnitProcessor.java:81)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:159) [jboss-as-server-7.4.0.Final-redhat-6.jar:7.4.0.Final-redhat-6]
... 5 more
It's as though the msc has not loaded the required service in time for the MBD to get it. Is there anything else I can check ?
Regards,
Jeremy
OpenJDK 1.7
JBoss EAP 6.3.0.Alpha2 (AS 7.4.0.Final-redhat-6)
[1] Re: Can not deploy MDB because of service jboss.ejb.default-resource-adapter-name-service not found