ManagedConnectionPool doesn't create new connection on JBossEAP
Issue
- Our DBA recently stops and restarts database on DEV machine every night. Our application ( deployed as ejb) reads database. After the database comes back, the application still fails complaining ManagedConnectionFactory is null. I noticed the same errors happened after I modified oracle-ds.xml file.
FATAL[JdbcOperation.java:60][Cannot get database connection: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.;
nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)]
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 4.3
- 5.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
