JBoss Application Server Shows "pingDatabase failed status=-2" When Connecting to Oracle RDBMS
(Doc ID 1446547.1)
Last updated on FEBRUARY 26, 2021
Applies to:JDBC - Version 22.214.171.124 and later
Information in this document applies to any platform.
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:
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