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

Depois que configurei o DataSource, a aplicação não sobe.

Segue o erro que estou tomando:

05:22:14,909 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0028: Stopped deployment casadocodigo.war (runtime-name: casadocodigo.war) in 13ms
05:22:14,910 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-1) WFLYSRV0027: Starting deployment of "casadocodigo.war" (runtime-name: "casadocodigo.war")
05:22:14,931 INFO  [org.jboss.as.jpa] (MSC service thread 1-5) WFLYJPA0002: Read persistence.xml for casadocodigo-dev
05:22:14,952 INFO  [org.jboss.weld.deployer] (MSC service thread 1-6) WFLYWELD0003: Processing weld deployment casadocodigo.war
05:22:15,009 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.naming.context.java.jboss.datasources.casadocodigoDS"],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => [
        "jboss.persistenceunit.\"casadocodigo.war#casadocodigo-dev\" is missing [jboss.naming.context.java.jboss.datasources.casadocodigoDS]",
        "jboss.persistenceunit.\"casadocodigo.war#casadocodigo-dev\".__FIRST_PHASE__ is missing [jboss.naming.context.java.jboss.datasources.casadocodigoDS]"
    ]
}
05:22:15,071 INFO  [org.jboss.as.server] (DeploymentScanner-threads - 1) WFLYSRV0016: Replaced deployment "casadocodigo.war" with deployment "casadocodigo.war"
05:22:15,074 INFO  [org.jboss.as.controller] (DeploymentScanner-threads - 1) WFLYCTL0183: Service status report
WFLYCTL0184:    New missing/unsatisfied dependencies:
      service jboss.deployment.unit."casadocodigo.war".beanmanager (unavailable) dependents: [service jboss.persistenceunit."casadocodigo.war#casadocodigo-dev"] 
      service jboss.deployment.unit."casadocodigo.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".CREATE (unavailable) dependents: [service jboss.deployment.unit."casadocodigo.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START] 
      service jboss.deployment.unit."casadocodigo.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".WeldInstantiator (unavailable) dependents: [service jboss.deployment.unit."casadocodigo.war".component."javax.servlet.jsp.jstl.tlv.PermittedTaglibsTLV".START] 
      service jboss.deployment.unit."casadocodigo.war".component."javax.servlet.jsp.jstl.tlv.ScriptFreeTLV".START (unavailable) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService, service jboss.deployment.unit."casadocodigo.war".deploymentCompleteService, service jboss.undertow.deployment.default-server.default-host./casadocodigo] 
      service jboss.deployment.unit."casadocodigo.war".component."org.jboss.weld.servlet.WeldInitialListener".WeldInstantiator (unavailable) dependents: [service jboss.deployment.unit."casadocodigo.war".component."org.jboss.weld.servlet.WeldInitialListener".START] 
      service jboss.undertow.deployment.default-server.default-host./casadocodigo (unavailable) dependents: [service jboss.deployment.unit."casadocodigo.war".deploymentCompleteService] 
      service jboss.undertow.deployment.default-server.default-host./casadocodigo.codec (unavailable) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService] 
      service jboss.undertow.deployment.default-server.default-host./casadocodigo.session (unavailable) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService] 
      service org.wildfly.request-controller.control-point."casadocodigo.war".undertow (unavailable) dependents: [service jboss.undertow.deployment.default-server.default-host./casadocodigo.UndertowDeploymentInfoService]
2 respostas
solução!

apenas por esse trecho, ele ta dizendo que não encontra o datasource casadocodigoDS . Configurou no arquivo correto do widlfly?

Alberto, realmente a alteração que eu fiz no wildfly não refletiu, alterei novamente e funcionou. Obrigado pela ajuda.