Ori Kremer created AS7-4581:
-------------------------------
Summary: Connection manager not available during shutdown
Key: AS7-4581
URL:
https://issues.jboss.org/browse/AS7-4581
Project: Application Server 7
Issue Type: Bug
Affects Versions: 7.1.1.Final, 7.0.2.Final
Reporter: Ori Kremer
The problem occurs when trying to access the database during the shutdown phase.
It looks like when our shutdown code tries to access the database - it is no longer
available.
Our application is deployed as an EAR that has a SAR module to handle startup and
shutdown.
We add our application specific startup and shutdown code in the corresponding MBean
hooks.
In JBoss 7.0.2 and 7.1.1 we're encountering an error that the shutdown code is
attempting to access the database and is failing due to the fact that the connection
manager is closed:
Caused by: javax.resource.ResourceException: IJ000451: The connection manager is shutdown:
java:/org.test.NonSecureDS.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira