Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Failed to enable applicationPetstore.war #40

Open
mbisarya opened this issue Oct 14, 2013 · 0 comments
Open

Failed to enable applicationPetstore.war #40

mbisarya opened this issue Oct 14, 2013 · 0 comments

Comments

@mbisarya
Copy link

I'm encountering following error while trying to enable applicationPetstore.war in jBoss. Any help is appreciated.

Thanks,

Failed to enable applicationPetstore.war.

Unexpected HTTP response: 500

Request
{
"address" => [("deployment" => "applicationPetstore.war")],
"operation" => "deploy"
}

Response

Internal Server Error
{
"outcome" => "failed",
"failure-description" => {"JBAS014671: Failed services" => {"jboss.deployment.unit."applicationPetstore.war".component.DBPopulator.START" => "org.jboss.msc.service.StartException in service jboss.deployment.unit."applicationPetstore.war".component.DBPopulator.START: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
Caused by: java.lang.IllegalStateException: JBAS011048: Failed to construct component instance
Caused by: javax.ejb.EJBTransactionRolledbackException: org.hibernate.exception.GenericJDBCException: Could not open connection
Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Could not open connection
Caused by: org.hibernate.exception.GenericJDBCException: Could not open connection
Caused by: java.sql.SQLException: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/jdbc/applicationPetstoreDS
Caused by: javax.resource.ResourceException: IJ000453: Unable to get managed connection for java:global/jdbc/applicationPetstoreDS
Caused by: javax.resource.ResourceException: IJ000658: Unexpected throwable while trying to create a connection: null
Caused by: javax.resource.ResourceException: Could not create connection
Caused by: java.sql.SQLException: Database '' not found.
Caused by: java.sql.SQLException: Database '' not found."}},
"rolled-back" => true
}

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant