1 Reply Latest reply on Dec 5, 2012 6:38 PM by wschroeder

    DuplicateServiceException when loading different EARs with same embedded WAR name

    wschroeder

      Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.security.jacc."web.war" is already registered

       

      I have three EARs, all of which have their own application.xml declaring a contained web.war file in DIFFERENT context roots.  The contents of web.war in each EAR are different, it's just our packaging standard to put all the servlets for our projects in web.war.  This particular server holds three projects that have a web tier.  Now, this can change as a work around (I can change the name of the archive), but I was under the impression, after searching, that you COULD have the same WAR name in different EARs as long as their context roots were declared to be different, which in my case, they definitely are.  It seems that the name of the archive is being used as a unique identifier when it should not.

       

      I have looked at the following locations and they seem to indicate that this is most likely a bug:

       

      https://issues.jboss.org/browse/JBAS-8879

      https://community.jboss.org/message/621482

      https://issues.jboss.org/browse/AS7-3090

       

      Thoughts?  Create a JIRA?  Is this an open issue I've missed?

       

      Wayne