JBoss Application Server Shows "pingDatabase failed status=-2" When Connecting to Oracle RDBMS
(Doc ID 1446547.1)
Last updated on MAY 15, 2023
Applies to:
JDBC - Version 11.1.0.6 and laterInformation in this document applies to any platform.
Symptoms
Using the Oracle 11.x thin JDBC driver with a connection pool in the JBoss application server, J2EE applications intermittently fail to get a connection to the database server. The JBoss connection pool reports a failure while validating an open connection. The failure is signalled by the JDBC driver's pingDatabase(timeout) method returning a status code of -2.
The JBoss server may show the following stack back-trace:
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Cause |
Solution |