[jboss-jira] [JBoss JIRA] (AS7-5495) DuplicateServiceException when redeploying a rar multiple times
Flavia Rainone (JIRA)
jira-events at lists.jboss.org
Mon Sep 10 19:39:32 EDT 2012
[ https://issues.jboss.org/browse/AS7-5495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12717255#comment-12717255 ]
Flavia Rainone commented on AS7-5495:
-------------------------------------
Thanks, Brian! I was unsure as what to put in those fields and that's why I left it blank.
> DuplicateServiceException when redeploying a rar multiple times
> ---------------------------------------------------------------
>
> Key: AS7-5495
> URL: https://issues.jboss.org/browse/AS7-5495
> Project: Application Server 7
> Issue Type: Bug
> Reporter: Flavia Rainone
> Assignee: Flavia Rainone
> Fix For: 7.2.0.Alpha1, 7.1.4.Final (EAP)
>
>
> Start up a JBoss AS instance and run org.jboss.as.test.smoke.deployment.rar.tests.redeployment.ReDeploymentTestCase twice. At the second time the test runs, it will fail with a DuplicateServiceException.
> The cause of this failure is in ResourceAdapterService, that does not remove itself from the resource adapters service list on stop. Notice that the same service adds itself to that list on start.
> So, when a new rar is deployed, that list is reread and the resource adapter service gets redeployed along with the service being deployed. If the service being deployed is the same as before, we will get a duplicate deployment of the same components, resulting in a DuplicateServiceException.
--
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