java ee - DuplicateServiceException JBoss Server -


i getting weird error when trying run ear on wildfly 10 server. says .session registered, other similar bugs have supposedly been caused multiple applications using same context-root. deploying single ear i'm confused.

09:57:30,654 error [org.jboss.msc.service.fail] (msc service thread 1-8) msc000001: failed start service jboss.deployment.subunit."********.ear"."*********.war".install: org.jboss.msc.service.startexception in service jboss.deployment.subunit."***********.ear"."**********".install: wflysrv0153: failed process phase install of subdeployment "******.war" of deployment "*******.ear"     @ org.jboss.as.server.deployment.deploymentunitphaseservice.start(deploymentunitphaseservice.java:154)     @ org.jboss.msc.service.servicecontrollerimpl$starttask.startservice(servicecontrollerimpl.java:1948)     @ org.jboss.msc.service.servicecontrollerimpl$starttask.run(servicecontrollerimpl.java:1881)     @ java.util.concurrent.threadpoolexecutor.runworker(threadpoolexecutor.java:1142)     @ java.util.concurrent.threadpoolexecutor$worker.run(threadpoolexecutor.java:617)     @ java.lang.thread.run(thread.java:745)   caused by: org.jboss.msc.service.duplicateserviceexception: service jboss.undertow.deployment.default-server.default-host./******.session registered 

possible fix, had had other errors files consequently fixed. looked in standalone directory , contained .failed ear, , believe 'duplicateserviceexception' came server trying deploy both of them. recreating server seemed solve problem. hope helps similar problem


Comments