Solucionado (ver solução)
Solucionado
(ver solução)
4
respostas

Ao subir o wildfly o console mostrou essa exception: org.jboss.msc.service.ServiceNotFoundException

15:58:15,459 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001: Failed to start service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".PARSE: org.jboss.msc.service.StartException in service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "agendamento-email-0.0.1-SNAPSHOT.war"
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:189)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1739)
    at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1701)
    at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1559)
    at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
    at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1982)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1486)
    at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1377)
    at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found
    at org.jboss.msc.service.ServiceContainerImpl.getRequiredService(ServiceContainerImpl.java:663)
    at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.getDefaultResourceAdapterName(MessageDrivenComponentDescriptionFactory.java:257)
    at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processMessageBeans(MessageDrivenComponentDescriptionFactory.java:156)
    at org.jboss.as.ejb3.deployment.processors.MessageDrivenComponentDescriptionFactory.processAnnotations(MessageDrivenComponentDescriptionFactory.java:83)
    at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.processAnnotations(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:150)
    at org.jboss.as.ejb3.deployment.processors.AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.deploy(AnnotatedEJBComponentDescriptionDeploymentUnitProcessor.java:82)
    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:182)
    ... 8 more

15:58:15,465 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "agendamento-email-0.0.1-SNAPSHOT.war")]) - failure description: {"WFLYCTL0080: Failed services" => {"jboss.deployment.unit.\"agendamento-email-0.0.1-SNAPSHOT.war\".PARSE" => "WFLYSRV0153: Failed to process phase PARSE of deployment \"agendamento-email-0.0.1-SNAPSHOT.war\"
    Caused by: org.jboss.msc.service.ServiceNotFoundException: Service service jboss.ejb.default-resource-adapter-name-service not found"}}
15:58:15,638 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 45) WFLYSRV0010: Deployed "agendamento-email-0.0.1-SNAPSHOT.war" (runtime-name : "agendamento-email-0.0.1-SNAPSHOT.war")
15:58:15,642 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.deployment.unit."agendamento-email-0.0.1-SNAPSHOT.war".PARSE: WFLYSRV0153: Failed to process phase PARSE of deployment "agendamento-email-0.0.1-SNAPSHOT.war"

15:58:15,830 INFO  [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0212: Resuming server
15:58:15,835 ERROR [org.jboss.as] (Controller Boot Thread) WFLYSRV0026: WildFly Full 20.0.1.Final (WildFly Core 12.0.3.Final) started (with errors) in 8593ms - Started 317 of 584 services (1 services failed or missing dependencies, 370 services are lazy, passive or on-demand)
15:58:15,840 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
15:58:15,840 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
4 respostas

Você deve estar usando o arquivo standalone normal ao invés do standalone-full

Olá, Otávio. Agradeço por responder. Eu segui os procedimentos realizados na aula 01, atividade 05 do curso EJB com Jakarta EE: API Rest com o servidor WildFly, e mesmo assim apareceu esse erro. Fiz e refiz algumas vezes seguindo a aula.

Também pesquisei no Google e no Youtube e ainda não consegui resolver.

Eu preciso saber como fazer o procedimento correto para evitar esse erro. Ou o que deve ser feito para corrigir isso.

Vlw.

solução!

Oi Ivo

Dá uma olhada nesse vídeo : https://cursos.alura.com.br/course/ejb-jakarta-ee-api-rest-wildfly/task/80375 No minuto 8:50 o instrutor selecionou o arquivo standalone-full.xml, pelo erro que você reportou você está usando o arquivo standalone.xml

Olá, Otávio. Agora deu certo! Eu não havia prestado atenção nessa parte. Agora fiz certo e funcionou.

Muito Obrigado.

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software