This content has been marked as final.
Show 3 replies
-
1. Re: DuplicateServiceException: Service jboss.undertow.deployment.default-server.default-host./.codec is already registered
jaikiran Oct 31, 2014 1:10 AM (in response to jasim)It looks like you have a problem in your application.xml of those .ear files. Are both the application.xml files of those .ears using the same context root for the nested war files? Can you post the application.xml contents of both ears?
-
2. Re: DuplicateServiceException: Service jboss.undertow.deployment.default-server.default-host./.codec is already registered
jasim Oct 31, 2014 5:13 AM (in response to jaikiran)You are right. The applications have the same context root for the nested war file. After I changed it, the problem disappeared. Thank you very much. Quite cryptic error message, though.
-
3. Re: DuplicateServiceException: Service jboss.undertow.deployment.default-server.default-host./.codec is already registered
pferraro Nov 4, 2014 11:10 AM (in response to jasim)Good point. There should be a validation check that tests this condition (i.e. duplicate host/context path combinations) and throws a more appropriate/descriptive error message.