3 Replies Latest reply on Nov 4, 2014 11:10 AM by Paul Ferraro

    DuplicateServiceException: Service jboss.undertow.deployment.default-server.default-host./.codec  is already registered

    Jaroslav Simak Newbie

      I have two distinct ear with an war and ejb inside. When I try to deploy  the second one in a standalone server I get

       

      {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.deployment.subunit.\"acl-omsoegdsws-ear-1.0.ear\".\"acl-omsoegdsws-war-1.0.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.subunit.\"acl-omsoegdsws-ear-1.0.ear\".\"acl-omsoegdsws-war-1.0.war\".INSTALL: JBAS018733: Failed to process phase INSTALL of subdeployment \"acl-omsoegdsws-war-1.0.war\" of deployment \"acl-omsoegdsws-ear-1.0.ear\"

          Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.undertow.deployment.default-server.default-host./.codec is already registered"},"JBAS014771: Services with missing/unavailable dependencies" => ["jboss.deployment.unit.\"acl-omsoegdsws-ear-1.0.ear\".WeldStartService is missing [jboss.deployment.subunit.\"acl-omsoegdsws-ear-1.0.ear\".\"acl-omsoegdsws-war-1.0.war\".jndiDependencyService]","jboss.deployment.unit.\"acl-omsoegdsws-ear-1.0.ear\".deploymentCompleteService is missing [jboss.deployment.subunit.\"acl-omsoegdsws-ear-1.0.ear\".\"acl-omsoegdsws-war-1.0.war\".deploymentCompleteService]","jboss.deployment.subunit.\"acl-omsoegdsws-ear-1.0.ear\".\"acl-omsoegdsws-war-1.0.war\".weld.weldClassIntrospector is missing [jboss.deployment.subunit.\"acl-omsoegdsws-ear-1.0.ear\".\"acl-omsoegdsws-war-1.0.war\".beanmanager]"]}}}

       

      These ears are build similarly and have similar still distinct names: acl-omsoegdsws-ear-1.0.ear, acl-omsoevvlws-ear-1.0.ear. Both ears are working applications, exclude each other. Did I missed something?

       

      Wildfly 8.1