[jboss-jira] [JBoss JIRA] (AS7-5495) DuplicateServiceException when redeploying a rar multiple times
Brian Stansberry (JIRA)
jira-events at lists.jboss.org
Mon Sep 10 16:53:32 EDT 2012
[ https://issues.jboss.org/browse/AS7-5495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Stansberry updated AS7-5495:
----------------------------------
Fix Version/s: 7.1.4.Final (EAP)
I added Fix Version 7.1.4.Final as this was merged into the 7.1 branch.
> 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