1
resposta

Erro de mysql

17:03:28,791 ERROR [org.jboss.as.controller.management-operation] (Controller Boot Thread) WFLYCTL0013: Operation ("deploy") failed - address: ([("deployment" => "casadogog.war")]) - failure description: {
    "WFLYCTL0080: Failed services" => {"jboss.persistenceunit.\"casadogog.war#casadocodigo-dev\"" => "org.jboss.msc.service.StartException in service jboss.persistenceunit.\"casadogog.war#casadocodigo-dev\": javax.persistence.PersistenceException: [PersistenceUnit: casadocodigo-dev] Unable to build Hibernate SessionFactory
    Caused by: javax.persistence.PersistenceException: [PersistenceUnit: casadocodigo-dev] Unable to build Hibernate SessionFactory
    Caused by: org.hibernate.tool.schema.spi.SchemaManagementException: Unable to open JDBC connection for schema management target
    Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/casadocodigoDS
    Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:jboss/datasources/casadocodigoDS
    Caused by: javax.resource.ResourceException: IJ031084: Unable to create connection
    Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'casadocodigo_javaee'"},
    "WFLYCTL0412: Required services that are not installed:" => ["jboss.persistenceunit.\"casadogog.war#casadocodigo-dev\""],
    "WFLYCTL0180: Services with missing/unavailable dependencies" => undefined
}
17:03:28,816 INFO  [org.jboss.as.server] (ServerService Thread Pool -- 37) WFLYSRV0010: Deployed "casadogog.war" (runtime-name : "casadogog.war")
17:03:28,817 INFO  [org.jboss.as.controller] (Controller Boot Thread) WFLYCTL0183: Service status report
WFLYCTL0186:   Services which failed to start:      service jboss.persistenceunit."casadogog.war#casadocodigo-dev": org.jboss.msc.service.StartException in service jboss.persistenceunit."casadogog.war#casadocodigo-dev": javax.persistence.PersistenceException: [PersistenceUnit: casadocodigo-dev] Unable to build Hibernate SessionFactory
1 resposta
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'casadocodigo_javaee'"},

Pela mensagem de erro acima você não criou o database "casadocodigo_javaee" no seu MySQL, ou criou?

Envia seu casadocodigoDS aqui também, por favor.