[jboss-jira] [JBoss JIRA] (AS7-4150) DuplicateServiceException when deploying application a second time with different name, ServiceName not including EAR-name
Frank Langelage (JIRA)
jira-events at lists.jboss.org
Tue Mar 13 16:58:47 EDT 2012
[ https://issues.jboss.org/browse/AS7-4150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Langelage updated AS7-4150:
---------------------------------
Attachment: prod.ear
test.ear
Two very simple ear-files to reproduce the problem.
Each of them alone deploys fine.
If both are deployed, the second one fails with DuplicateServiceException.
> DuplicateServiceException when deploying application a second time with different name, ServiceName not including EAR-name
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: AS7-4150
> URL: https://issues.jboss.org/browse/AS7-4150
> Project: Application Server 7
> Issue Type: Bug
> Affects Versions: 7.1.1.Final
> Reporter: Frank Langelage
> Attachments: prod.ear, test.ear
>
>
> See also forum reference.
> Deployed ear-file with same structure and modules twice, only different persistence.xml because of database name.
> This gives an error with cause
> Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.security.jacc."ws-core.war" is already registered
> As you can see, the name of the module is only build of the module within the ear itself, the ear name itself is not used.
> Neither the file name of the ear itself nor the application-name from application.xml file.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list