[jboss-jira] [JBoss JIRA] (AS7-5471) inbound RAR inside EAR: cannot redeploy
Stefano Maestri (JIRA)
jira-events at lists.jboss.org
Mon Sep 17 07:11:34 EDT 2012
[ https://issues.jboss.org/browse/AS7-5471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12719032#comment-12719032 ]
Stefano Maestri commented on AS7-5471:
--------------------------------------
In current master I'm getting this exception also at first attempt to deploy the attached ear
13:02:28,032 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-8) MSC00001: Failed to start service jboss.deployment.subunit."test-ear.ear"."test-ejb-2.0.0-SNAPSHOT.jar".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.subunit."test-ear.ear"."test-ejb-2.0.0-SNAPSHOT.jar".PARSE: JBAS018733: Failed to process phase PARSE of subdeployment "test-ejb-2.0.0-SNAPSHOT.jar" of deployment "test-ear.ear"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:123) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [rt.jar:1.6.0_24]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [rt.jar:1.6.0_24]
at java.lang.Thread.run(Thread.java:662) [rt.jar:1.6.0_24]
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:447) [jboss-msc-1.0.2.GA.jar:1.0.2.GA]
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:272)
at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:154)
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:116) [jboss-as-server-7.2.0.Alpha1-SNAPSHOT.jar:7.2.0.Alpha1-SNAPSHOT]
... 5 more
> inbound RAR inside EAR: cannot redeploy
> ---------------------------------------
>
> Key: AS7-5471
> URL: https://issues.jboss.org/browse/AS7-5471
> Project: Application Server 7
> Issue Type: Bug
> Components: JCA
> Affects Versions: 7.1.2.Final (EAP), 7.2.0.Alpha1
> Reporter: Marcel Šebek
> Assignee: Stefano Maestri
> Attachments: test.zip
>
>
> There is a regression somewhere after 7.1.1.Final release regarding inbound resource adapters inside EAR. Previously, it was possible to redeploy EAR containing inbound RAR. Now, only the first attempt succeeds, and the subsequent deployments fail. It is reproducible in both latest git master snapshot, and in some older (about a month) snapshot of 7.1.3 branch. I have tested the issue using a very simple EAR containing a trivial inbound RAR, EJB-JAR with a MDB consuming messages from RAR, and a library JAR with listener interface (sources and binaries attached).
> Here is the relevant part of server log:
> {{
> 14:52:49,934 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014900: Content added at location /home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/data/content/72/40a822f9ee326844575078a21f942890414c2b/content
> 14:53:01,460 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015876: Starting deployment of "test-ear.ear"
> 14:53:01,557 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "test-ejb-2.0.0-SNAPSHOT.jar"
> 14:53:01,557 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "test-rar-2.0.0-SNAPSHOT.rar"
> 14:53:02,015 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-2) IJ020002: Deployed: file:/home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/tmp/vfs/deploymentcae5cd1d0b6a9fb7/test-rar-2.0.0-SNAPSHOT.rar-ca312609764d3645/contents/
> 14:53:02,137 INFO [org.jboss.as.ejb3] (MSC service thread 1-2) JBAS014142: Started message driven bean 'InboundMDB' with 'test-ear.ear#test-rar-2.0.0-SNAPSHOT' resource adapter
> 14:53:02,188 INFO [org.hibernate.validator.util.Version] (ServerService Thread Pool -- 64) Hibernate Validator 4.2.0.Final
> 14:53:02,381 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS018559: Deployed "test-ear.ear"
> 14:53:06,898 INFO [stdout] (MSC service thread 1-4) TestRA stopped
> 14:53:06,923 INFO [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015877: Stopped deployment test-ejb-2.0.0-SNAPSHOT.jar in 39ms
> 14:53:06,925 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test-rar-2.0.0-SNAPSHOT.rar in 40ms
> 14:53:06,926 INFO [org.jboss.as.server.deployment] (MSC service thread 1-3) JBAS015877: Stopped deployment test-ear.ear in 42ms
> 14:53:06,997 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS018558: Undeployed "test-ear.ear"
> 14:53:11,789 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014901: Content removed from location /home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/data/content/72/40a822f9ee326844575078a21f942890414c2b/content
> 14:53:19,937 INFO [org.jboss.as.repository] (HttpManagementService-threads - 2) JBAS014900: Content added at location /home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/data/content/72/40a822f9ee326844575078a21f942890414c2b/content
> 14:53:25,438 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015876: Starting deployment of "test-ear.ear"
> 14:53:25,447 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "test-ejb-2.0.0-SNAPSHOT.jar"
> 14:53:25,447 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015876: Starting deployment of "test-rar-2.0.0-SNAPSHOT.rar"
> 14:53:25,604 INFO [org.jboss.as.connector.deployers.RADeployer] (MSC service thread 1-2) IJ020002: Deployed: file:/home/marcel/compile/jboss-as-7.2.0.Alpha1-SNAPSHOT/standalone/tmp/vfs/deploymentcae5cd1d0b6a9fb7/test-rar-2.0.0-SNAPSHOT.rar-26147c352a452c34/contents/
> 14:53:25,815 INFO [org.jboss.as.server] (HttpManagementService-threads - 2) JBAS015870: Deploy of deployment "test-ear.ear" was rolled back with failure message {"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".moduleDeploymentRuntimeInformation Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.ejb3.timerService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.TimedObjectInvoker Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.VIEW.\"test.TestEventListener\".MESSAGE_ENDPOINT Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.unit.\"test-ear.ear\".deploymentCompleteService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.START Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".deploymentCompleteService Missing[JBAS014861: <one or more transitive dependencies>]","jboss.deployment.subunit.\"test-ear.ear\".\"test-ejb-2.0.0-SNAPSHOT.jar\".component.InboundMDB.CREATE Missing[jboss.ra.\"test-ear.ear#test-rar-2.0.0-SNAPSHOT\"]"]}
> 14:53:25,823 INFO [stdout] (MSC service thread 1-3) TestRA stopped
> 14:53:25,861 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test-ejb-2.0.0-SNAPSHOT.jar in 45ms
> 14:53:25,862 INFO [org.jboss.as.server.deployment] (MSC service thread 1-2) JBAS015877: Stopped deployment test-rar-2.0.0-SNAPSHOT.rar in 45ms
> 14:53:25,864 INFO [org.jboss.as.server.deployment] (MSC service thread 1-1) JBAS015877: Stopped deployment test-ear.ear in 48ms
> }}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list