Problema ao publicar Web Service no WildFly 10

Olá Pessoa,
Estou desenvolvendo uma aplicação no Eclipse Neon .1 utilizando projeto Dynamica Web Project com o WildFly 10 e Java 8. Quando tento criar o Web Service no WildFly (JBoss) obtenho o seguinte log:

`12:22:45,601 INFO  [org.jboss.modules] (main) JBoss Modules version 1.5.2.Final
12:22:46,452 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.6.Final
12:22:46,623 INFO  [org.jboss.as] (MSC service thread 1-7) WFLYSRV0049: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) starting
12:22:49,217 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found RejudiWeb.war in deployment directory. To trigger deployment create a file called RejudiWeb.war.dodeploy
12:22:49,218 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found RejudiWebEAR.ear in deployment directory. To trigger deployment create a file called RejudiWebEAR.ear.dodeploy
12:22:49,302 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0039: Creating http management service using socket-binding (management-http)
12:22:49,346 INFO  [org.xnio] (MSC service thread 1-5) XNIO version 3.4.0.Final
12:22:49,358 INFO  [org.xnio.nio] (MSC service thread 1-5) XNIO NIO Implementation Version 3.4.0.Final
12:22:49,460 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 56) WFLYWS0002: Activating WebServices Extension
12:22:49,469 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 46) WFLYNAM0001: Activating Naming Subsystem
12:22:49,475 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 53) WFLYSEC0002: Activating Security Subsystem
12:22:49,493 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 38) WFLYCLINF0001: Activating Infinispan subsystem.
12:22:49,457 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 54) WFLYTX0013: Node identifier property is set to the default value. Please make sure it is unique.
12:22:49,568 INFO  [org.jboss.remoting] (MSC service thread 1-5) JBoss Remoting version 4.0.21.Final
12:22:49,607 INFO  [org.jboss.as.naming] (MSC service thread 1-2) WFLYNAM0003: Starting Naming Service
12:22:49,640 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-3) WFLYUT0003: Undertow 1.4.0.Final starting
12:22:49,649 INFO  [org.jboss.as.security] (MSC service thread 1-1) WFLYSEC0001: Current PicketBox version=4.9.6.Final
12:22:49,679 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 37) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
12:22:49,684 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 44) WFLYJSF0007: Activated the following JSF Implementations: [main]
12:22:49,913 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-3) WFLYMAIL0001: Bound mail session [java:jboss/mail/Default]
12:22:50,052 INFO  [org.jboss.as.connector] (MSC service thread 1-5) WFLYJCA0009: Starting JCA Subsystem (WildFly/IronJacamar 1.3.4.Final)
12:22:50,186 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 33) WFLYJCA0004: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
12:22:50,203 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-4) WFLYJCA0018: Started Driver service with driver-name = h2
12:22:50,522 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 55) WFLYUT0014: Creating file handler for path 'D:\wildfly-10.1.0.Final/welcome-content' with options [directory-listing: 'false', follow-symlink: 'false', case-sensitive: 'true', safe-symlink-paths: '[]']
12:22:50,571 INFO  [org.jboss.as.ejb3] (MSC service thread 1-1) WFLYEJB0482: Strict pool mdb-strict-max-pool is using a max instance size of 16 (per class), which is derived from the number of CPUs on this host.
12:22:50,573 INFO  [org.jboss.as.ejb3] (MSC service thread 1-8) WFLYEJB0481: Strict pool slsb-strict-max-pool is using a max instance size of 64 (per class), which is derived from thread worker pool sizing.
12:22:50,599 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0012: Started server default-server.
12:22:50,600 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0018: Host default-host starting
12:22:50,777 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-4) WFLYUT0006: Undertow HTTP listener default listening on 127.0.0.1:8080
12:22:51,958 WARN  [org.jboss.as.domain.management.security] (MSC service thread 1-3) WFLYDM0111: Keystore D:\wildfly-10.1.0.Final\standalone\configuration\application.keystore not found, it will be auto generated on first use with a self signed certificate for host localhost
12:22:51,993 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-7) WFLYDS0013: Started FileSystemDeploymentService for directory D:\wildfly-10.1.0.Final\standalone\deployments
12:22:51,999 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) WFLYSRV0027: Starting deployment of "RejudiWebEAR.ear" (runtime-name: "RejudiWebEAR.ear")
12:22:52,019 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0027: Starting deployment of "RejudiWeb.war" (runtime-name: "RejudiWeb.war")
12:22:52,430 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-6) WFLYSRV0207: Starting subdeployment (runtime-name: "RejudiWeb.war")
12:22:52,631 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) WFLYUT0006: Undertow HTTPS listener https listening on 127.0.0.1:8443
12:22:52,702 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-5) WFLYJCA0001: Bound data source [java:jboss/datasources/ExampleDS]
12:22:52,820 INFO  [org.infinispan.factories.GlobalComponentRegistry] (MSC service thread 1-8) ISPN000128: Infinispan version: Infinispan 'Chakra' 8.2.4.Final
12:22:52,917 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
12:22:52,921 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 59) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
12:22:52,923 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
12:22:52,924 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 60) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
12:22:52,931 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 62) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
12:22:52,933 INFO  [org.infinispan.configuration.cache.EvictionConfigurationBuilder] (ServerService Thread Pool -- 62) ISPN000152: Passivation configured without an eviction policy being selected. Only manually evicted entities will be passivated.
12:22:52,992 INFO  [org.jboss.ws.common.management] (MSC service thread 1-6) JBWS022052: Starting JBossWS 5.1.5.Final (Apache CXF 3.1.6) 
12:22:53,149 INFO  [org.jboss.as.jpa] (MSC service thread 1-8) WFLYJPA0002: Read persistence.xml for dev
12:22:53,157 INFO  [org.jboss.as.jpa] (MSC service thread 1-3) WFLYJPA0002: Read persistence.xml for dev
12:22:53,412 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'RejudiWebEAR.ear/RejudiWeb.war#dev'
12:22:53,412 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 66) WFLYJPA0010: Starting Persistence Unit (phase 1 of 2) Service 'RejudiWeb.war#dev'
12:22:53,457 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 65) HHH000204: Processing PersistenceUnitInfo [
    name: dev
    ...]
12:22:53,456 INFO  [org.hibernate.jpa.internal.util.LogHelper] (ServerService Thread Pool -- 66) HHH000204: Processing PersistenceUnitInfo [
    name: dev
    ...]
12:22:54,437 INFO  [org.hibernate.Version] (ServerService Thread Pool -- 65) HHH000412: Hibernate Core {5.0.10.Final}
12:22:54,440 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 65) HHH000206: hibernate.properties not found
12:22:54,442 INFO  [org.hibernate.cfg.Environment] (ServerService Thread Pool -- 65) HHH000021: Bytecode provider name : javassist
12:22:54,733 INFO  [org.hibernate.annotations.common.Version] (ServerService Thread Pool -- 66) HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
12:22:54,884 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=UsuarioService
 address=http://localhost:8080/RejudiWeb/UsuarioService
 implementor=com.criagile.rejudi.services.UsuarioService
 serviceName={http://services.rejudi.criagile.com/}UsuarioServiceService
 portName={http://services.rejudi.criagile.com/}UsuarioServicePort
 annotationWsdlLocation=null
 wsdlLocationOverride=null
 mtomEnabled=false
12:22:54,885 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-8) JBWS024061: Adding service endpoint metadata: id=com.criagile.rejudi.services.RecuperacaoService
 address=http://localhost:8080/RejudiWeb/RecuperacaoService
 implementor=com.criagile.rejudi.services.RecuperacaoService
 serviceName={http://services.rejudi.criagile.com/}RecuperacaoServiceService
 portName={http://services.rejudi.criagile.com/}RecuperacaoServicePort
 annotationWsdlLocation=null
 wsdlLocationOverride=null
 mtomEnabled=false
12:22:54,886 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-1) JBWS024061: Adding service endpoint metadata: id=UsuarioService
 address=http://localhost:8080/RejudiWeb/UsuarioService
 implementor=com.criagile.rejudi.services.UsuarioService
 serviceName={http://services.rejudi.criagile.com/}UsuarioServiceService
 portName={http://services.rejudi.criagile.com/}UsuarioServicePort
 annotationWsdlLocation=null
 wsdlLocationOverride=null
 mtomEnabled=false
12:22:54,887 INFO  [org.jboss.ws.cxf.metadata] (MSC service thread 1-1) JBWS024061: Adding service endpoint metadata: id=com.criagile.rejudi.services.RecuperacaoService
 address=http://localhost:8080/RejudiWeb/RecuperacaoService
 implementor=com.criagile.rejudi.services.RecuperacaoService
 serviceName={http://services.rejudi.criagile.com/}RecuperacaoServiceService
 portName={http://services.rejudi.criagile.com/}RecuperacaoServicePort
 annotationWsdlLocation=null
 wsdlLocationOverride=null
 mtomEnabled=false
12:22:55,944 INFO  [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {http://services.rejudi.criagile.com/}UsuarioServiceService from class com.criagile.rejudi.services.UsuarioService
12:22:55,944 INFO  [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service {http://services.rejudi.criagile.com/}UsuarioServiceService from class com.criagile.rejudi.services.UsuarioService
12:22:56,502 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-1) Setting the server's publish address to be http://localhost:8080/RejudiWeb/UsuarioService
12:22:56,502 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:8080/RejudiWeb/UsuarioService
12:22:56,604 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-8) JBWS024074: WSDL published to: file:/D:/wildfly-10.1.0.Final/standalone/data/wsdl/RejudiWebEAR.ear/RejudiWeb.war/UsuarioServiceService.wsdl
12:22:56,604 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-1) JBWS024074: WSDL published to: file:/D:/wildfly-10.1.0.Final/standalone/data/wsdl/RejudiWeb.war/UsuarioServiceService.wsdl
12:22:56,606 INFO  [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-1) Creating Service {http://services.rejudi.criagile.com/}RecuperacaoServiceService from class com.criagile.rejudi.services.RecuperacaoService
12:22:56,606 INFO  [org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean] (MSC service thread 1-8) Creating Service {http://services.rejudi.criagile.com/}RecuperacaoServiceService from class com.criagile.rejudi.services.RecuperacaoService
12:22:56,761 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-8) Setting the server's publish address to be http://localhost:8080/RejudiWeb/RecuperacaoService
12:22:56,776 INFO  [org.apache.cxf.endpoint.ServerImpl] (MSC service thread 1-1) Setting the server's publish address to be http://localhost:8080/RejudiWeb/RecuperacaoService
12:22:56,785 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-8) JBWS024074: WSDL published to: file:/D:/wildfly-10.1.0.Final/standalone/data/wsdl/RejudiWebEAR.ear/RejudiWeb.war/RecuperacaoServiceService.wsdl
12:22:56,886 INFO  [org.jboss.ws.cxf.deployment] (MSC service thread 1-1) JBWS024074: WSDL published to: file:/D:/wildfly-10.1.0.Final/standalone/data/wsdl/RejudiWeb.war/RecuperacaoServiceService.wsdl
12:22:56,923 ERROR [org.jboss.ws.common.deployment] (MSC service thread 1-1) JBWS022102: Cannot stop endpoint in state UNDEFINED: jboss.ws:context=RejudiWeb,endpoint=UsuarioService
12:22:56,926 ERROR [org.jboss.ws.common.deployment] (MSC service thread 1-1) JBWS022102: Cannot stop endpoint in state UNDEFINED: jboss.ws:context=RejudiWeb,endpoint=com.criagile.rejudi.services.RecuperacaoService
12:22:56,995 INFO  [org.jboss.as.webservices] (MSC service thread 1-8) WFLYWS0003: Starting service jboss.ws.endpoint."RejudiWebEAR.ear"."RejudiWeb.war".UsuarioService
12:22:57,035 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 65) WFLYJPA0010: Starting Persistence Unit (phase 2 of 2) Service 'RejudiWebEAR.ear/RejudiWeb.war#dev'
12:22:56,997 INFO  [org.jboss.as.webservices] (MSC service thread 1-6) WFLYWS0003: Starting service jboss.ws.endpoint."RejudiWebEAR.ear"."RejudiWeb.war"."com.criagile.rejudi.services.RecuperacaoService"
12:22:57,191 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-1) MSC000001: Failed to start service jboss.deployment.unit."RejudiWeb.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."RejudiWeb.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "RejudiWeb.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:154)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1948)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1881)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.ws.endpoint.context=RejudiWeb.UsuarioService is already registered
    at org.jboss.msc.service.ServiceRegistrationImpl.setInstance(ServiceRegistrationImpl.java:158)
    at org.jboss.msc.service.ServiceControllerImpl.startInstallation(ServiceControllerImpl.java:238)
    at org.jboss.msc.service.ServiceContainerImpl.install(ServiceContainerImpl.java:768)
    at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
    at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
    at org.jboss.msc.service.ServiceTargetImpl.install(ServiceTargetImpl.java:223)
    at org.jboss.msc.service.ServiceControllerImpl$ChildServiceTarget.install(ServiceControllerImpl.java:2401)
    at org.jboss.msc.service.ServiceBuilderImpl.install(ServiceBuilderImpl.java:317)
    at org.jboss.as.webservices.service.EndpointService.install(EndpointService.java:228)
    at org.jboss.as.webservices.deployers.EndpointServiceDeploymentAspect.start(EndpointServiceDeploymentAspect.java:50)
    at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:147)
    ... 5 more

12:22:57,593 INFO  [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 65) HHH000400: Using dialect: org.hibernate.dialect.MySQL5InnoDBDialect
12:22:57,657 INFO  [org.hibernate.envers.boot.internal.EnversServiceImpl] (ServerService Thread Pool -- 65) Envers integration enabled? : true
12:22:58,862 INFO  [org.hibernate.validator.internal.util.Version] (ServerService Thread Pool -- 65) HV000001: Hibernate Validator 5.2.4.Final
12:23:00,619 INFO  [org.hibernate.tool.hbm2ddl.SchemaUpdate] (ServerService Thread Pool -- 65) HHH000228: Running hbm2ddl schema update
12:23:00,704 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Advogado
12:23:00,708 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Advogado
12:23:00,717 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Convocacao
12:23:00,734 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Convocacao
12:23:00,757 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Credor
12:23:00,762 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Credor
12:23:00,777 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: hibernate_sequence
12:23:00,789 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: hibernate_sequence
12:23:00,806 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Recuperacao
12:23:00,831 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Recuperacao
12:23:00,838 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Usuario
12:23:00,845 INFO  [org.hibernate.tool.schema.extract.internal.InformationExtractorJdbcDatabaseMetaDataImpl] (ServerService Thread Pool -- 65) HHH000262: Table not found: Usuario
12:23:02,630 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 64) WFLYUT0021: Registered web context: /RejudiWeb
12:23:02,656 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "RejudiWeb.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"RejudiWeb.war\".INSTALL" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"RejudiWeb.war\".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment \"RejudiWeb.war\"
    Caused by: org.jboss.msc.service.DuplicateServiceException: Service jboss.ws.endpoint.context=RejudiWeb.UsuarioService is already registered"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.deployment.unit.\"RejudiWeb.war\".INSTALL"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
12:23:02,872 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "RejudiWebEAR.ear" (runtime-name : "RejudiWebEAR.ear")
12:23:02,875 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Deployed "RejudiWeb.war" (runtime-name : "RejudiWeb.war")
12:23:02,908 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."RejudiWeb.war".INSTALL: org.jboss.msc.service.StartException in service jboss.deployment.unit."RejudiWeb.war".INSTALL: WFLYSRV0153: Failed to process phase INSTALL of deployment "RejudiWeb.war"

12:23:03,564 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
12:23:03,565 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
12:23:03,566 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 10.1.0.Final (WildFly Core 2.2.0.Final) started (with errors) in 19899ms - Started 474 of 731 services (1 services failed or missing dependencies, 414 services are lazy, passive or on-demand)
12:23:03,834 INFO  [org.jboss.as.jpa] (ServerService Thread Pool -- 64) WFLYJPA0011: Stopping Persistence Unit (phase 1 of 2) Service 'RejudiWeb.war#dev'
12:23:03,876 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) WFLYSRV0028: Stopped deployment RejudiWeb.war (runtime-name: RejudiWeb.war) in 102ms
12:23:04,049 WARN  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0357: Notification of type deployment-undeployed is not described for the resource at the address []
12:23:04,063 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0009: Undeployed "RejudiWeb.war" (runtime-name: "RejudiWeb.war")
12:23:04,064 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."RejudiWeb.war".INSTALL

12:23:08,365 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) WFLYDS0004: Found RejudiWeb.war in deployment directory. To trigger deployment create a file called RejudiWeb.war.dodeploy

O que me chamou atenção foi o erro 12:22:56,923 ERROR [org.jboss.ws.common.deployment] (MSC service thread 1-1) JBWS022102: Cannot stop endpoint in state UNDEFINED: jboss.ws:context=RejudiWeb,endpoint=UsuarioService

que não encontrei solução em nenhum lugar.
Alguém já teve esse problema e sabe como resulver?
Obrigado

`

Posta sua classe de ws

Verifica se não há outro ws mapeado com o mesmo nome.

Olá amigo, segue minha classe do WS

package com.criagile.rejudi.services;

import javax.jws.WebResult;
import javax.jws.WebService;

import com.criagile.rejudi.dao.UsuarioDAOJPA;
import com.criagile.rejudi.entities.Usuario;
import com.criagile.rejudi.util.EntityManagerSingleton;

@WebService
public class UsuarioService {

    @WebResult(name="novoUsuario")
    public boolean novoUsuario(Usuario usuario){
        
        UsuarioDAOJPA advDAO = new UsuarioDAOJPA(EntityManagerSingleton.getInstance().getEm());
        
        Usuario adv = advDAO.buscaPorLogin(usuario.getLogin());
        
        if(adv == null){

            EntityManagerSingleton.getInstance().getEm().getTransaction().begin();
            advDAO.adiciona(usuario);
            EntityManagerSingleton.getInstance().getEm().getTransaction().commit();
            return true;
        }
        else{
            System.out.println("Já existe registro com este usuário");
            return false;
        }
    }
    
    @WebResult(name="totalDeUsuarios")
    public long totalDeUsuarios(){
        EntityManagerSingleton.getInstance();
        UsuarioDAOJPA dao = new UsuarioDAOJPA(EntityManagerSingleton.getInstance().getEm());
        
        return dao.totalUsuarios();
    }
    
    @WebResult(name="logarUsuario")
    public boolean logarUsuario(String login, String senha){
        
        UsuarioDAOJPA dao = new UsuarioDAOJPA(EntityManagerSingleton.getInstance().getEm());
        
        Usuario advogado = dao.buscaPorLogin(login);
        
        if(advogado != null){
            
            if(advogado.getSenha().equals(senha)){
                return true;
            }
            else{
                return false;
            }
            
        }
        else{
            return false;
        }
        
    }
    
}

Olá Raul, então que eu criei existem dois WS um chamado RecuperacaoService e um UsuarioService. Existe algum lugar ou configuração específica que eu precise olhar para verificar se existem registros duplicados?
Estou começando agora a mexer com WS.

Obrigado

Acho que tá faltando o @WebMethod ai …

Tem isso que o @RaulCrash disse.
E eu não entendi a parte de vc estar em um servidor de aplicação e instanciando tudo, controlando transação na mão e etc

@igomes, na vdd eu estou começando a mexer com WS agora. Estou lendo um livro e aplicando o que vejo nele, só que chegou em um ponto que eu tenho 2 WS e a coisa não funcionou bem com o Tomcat ai migrei para o JBoss que estou aprendendo agora tbm. Tem algum tutorial ou material que eu possa ver para fazer essas instâncias sem fazer esse controle na mão?

Seguindo a sugestão do @RaulCrash ele publicou a minha aplicação, mas continuou dando erros.
[Corrigindo] Achei o endereço ele não ficou como serviço e sim como endpoint :slight_smile:

Obrigado.

Não é questão de tutorial, são principios.
Se vc esta deixando um servlet container, e indo para um servidor de aplicação como jboss, e para os mais novos widfly, precisa ter um motivo certo ?
Vc aprende os beneficios, como ele funciona, pra ai sim migrar, entendeu ?
Tem varios, a própria documentação mesmo.

Hummm, entendi!
Bom, de início com o que vcs colocaram aqui no tópico consegui resolver o problema, vou tentar usar um servlet container para publicar minha aplicação. A única coisa que eu preciso é publicar vários web services acho que com um servlet container isso vai ser mais fácil.

Obrigado!