Bom dia pessoal,
Estou migrando uma aplicação que esta no Jboss 6.4 para o Jboss 7.0, mas esta gerando um erro ao criar o .war, segue o erro:
08:46:18,417 ERROR [-] [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start service jboss.deployment.unit."cpj2.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."cpj2.war".PARSE: WFLYSRV0153: Falha ao processar a fase PARSE do deployment "cpj2.war"
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:748)
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYWS0059: Apache CXF library (cxf-core-3.0.10.jar) detected in ws endpoint deployment; either provide a proper deployment replacing embedded libraries with container module dependencies or disable the webservices subsystem for the current deployment adding a proper jboss-deployment-structure.xml descriptor to it. The former approach is recommended, as the latter approach causes most of the webservices Java EE and any JBossWS specific functionality to be disabled.
at org.jboss.as.webservices.deployers.WSLibraryFilterProcessor.deploy(WSLibraryFilterProcessor.java:70)
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 5 more
08:46:18,421 ERROR [-] [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Falha na operação ("deploy") - endereço ([("deployment" => "cpj2.war")]) - falha na descrição: {"WFLYCTL0080: Falha de serviços" => {"jboss.deployment.unit.\"cpj2.war\".PARSE" => "org.jboss.msc.service.StartException in service jboss.deployment.unit.\"cpj2.war\".PARSE: WFLYSRV0153: Falha ao processar a fase PARSE do deployment \"cpj2.war\"
Caused by: org.jboss.as.server.deployment.DeploymentUnitProcessingException: WFLYWS0059: Apache CXF library (cxf-core-3.0.10.jar) detected in ws endpoint deployment; either provide a proper deployment replacing embedded libraries with container module dependencies or disable the webservices subsystem for the current deployment adding a proper jboss-deployment-structure.xml descriptor to it. The former approach is recommended, as the latter approach causes most of the webservices Java EE and any JBossWS specific functionality to be disabled."}}
08:46:18,471 INFO [-] [org.jboss.as.server] (ServerService Thread Pool -- 34) WFLYSRV0010: Implantado "cpj2.war" (runtime-name: "cpj2.war")
08:46:18,473 INFO [-] [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Relatório
de status de serviço WFLYCTL0186: Serviços que falham na inicialização: service jboss.deployment.unit."cpj2.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."cpj2.war".PARSE: WFLYSRV0153: Falha ao processar a fase PARSE do deployment "cpj2.war"