This content has been marked as final.
Show 3 replies
-
1. Re: Why DuplicateServiceException is throwing on deployment
jaikiran Jan 2, 2015 3:14 AM (in response to valsaraj007)Please post the entire exception stacktrace along with the relevant server logs and more details about your application. Which version of the server are you using?
-
2. Re: Why DuplicateServiceException is throwing on deployment
valsaraj007 Jan 2, 2015 5:48 AM (in response to jaikiran)WildFly 8.2.0 version.
-
3. Re: Why DuplicateServiceException is throwing on deployment
valsaraj007 Jan 2, 2015 7:13 AM (in response to valsaraj007)Hi jaikiran,
The error vanished from log when I updated application.xml of ear. I changed version from 5 to 6 and added initialize-in-order.
<
application
xmlns
=
"http://java.sun.com/xml/ns/javaee"
xmlns:xsi
=
"http://www.w3.org/2001/XMLSchema-instance"
version
=
"6"
xsi:schemaLocation
=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/application_6.xsd"
>
<
initialize-in-order
>true</
initialize-in-order
>
Thanks!