Prezados,
Na inicialização do WildFly 10.1.0 está ocorrendo um erro que não estou conseguindo determinar a causa. Segue o trecho do arquivo server.log, onde é apontado o erro:
2017-11-14 11:03:35,399 INFO [org.hibernate.tool.hbm2ddl.SchemaValidator] (ServerService Thread Pool -- 63) HHH000229: Running schema validator
2017-11-14 11:03:35,404 INFO [org.hibernate.tool.hbm2ddl.SchemaValidator] (ServerService Thread Pool -- 62) HHH000229: Running schema validator
2017-11-14 11:03:35,594 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 67) WFLYCLINF0002: Started UBIMensagens-1.0-1.3.3.ear.UBIMensagens-war-1.0-1.3.3.war cache from web container
2017-11-14 11:03:35,642 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 65) WFLYCLINF0002: Started routing cache from web container
2017-11-14 11:03:35,653 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 66) WFLYCLINF0002: Started UBIPobox.ear.UBIPobox-war-1.0.war cache from web container
2017-11-14 11:03:35,665 INFO [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 64) WFLYCLINF0002: Started client-mappings cache from ejb container
2017-11-14 11:03:35,693 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.ejb.remoting.connector.client-mappings.installer: org.jboss.msc.service.StartException in service jboss.ejb.remoting.connector.client-mappings.installer: Failed to start service
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1904)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.IllegalStateException: Duplicate key [org.jboss.as.network.ClientMapping@147c79f3]
at java.util.stream.Collectors.lambda$throwingMerger$0(Collectors.java:133)
at java.util.HashMap.merge(HashMap.java:1254)
at java.util.stream.Collectors.lambda$toMap$58(Collectors.java:1320)
at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
at java.util.Iterator.forEachRemaining(Iterator.java:116)
at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
at org.wildfly.clustering.server.registry.CacheRegistry.getEntries(CacheRegistry.java:123)
at org.jboss.as.ejb3.remote.LocalEjbReceiver.registryAdded(LocalEjbReceiver.java:454)
at org.jboss.as.ejb3.remote.RegistryCollectorService.add(RegistryCollectorService.java:54)
at org.jboss.as.ejb3.remote.RegistryInstallerService.start(RegistryInstallerService.java:65)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
... 3 more
2017-11-14 11:03:36,016 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "UBIMensagens-1.0-1.3.3.ear")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
2017-11-14 11:03:36,020 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "UBIPobox.ear")]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined}
2017-11-14 11:03:36,023 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("add") failed - address: ([
("subsystem" => "ejb3"),
("service" => "remote")
]) - failure description: {
"WFLYCTL0080: Failed services" => {"jboss.ejb.remoting.connector.client-mappings.installer" => "org.jboss.msc.service.StartException in service jboss.ejb.remoting.connector.client-mappings.installer: Failed to start service
Caused by: java.lang.IllegalStateException: Duplicate key [org.jboss.as.network.ClientMapping@147c79f3]"},
"WFLYCTL0412: Required services that are not installed:" => ["jboss.ejb.remoting.connector.client-mappings.installer"],
"WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
Qualquer informação sobre como resolver o erro é bem vinda. Obrigado, Anderson Bestteti