I'm seeing the following error when trying to connect my app server running jboss 6.1 to my DB running Oracle 22.214.171.124. The driver I'm currently using is ojdbc6.jar.
Closed Connection(class java.sql.SQLRecoverableException)
Under normal circumstances the connection works and I don't see the error. The error seems to manifest itself when the DB server is under heavy load.
I'm not sure if this is a pooling issue or a combination of the driver and a heavy load on the DB instance.
Here is my oracle-ds.xml
<!-- Checks the Oracle error codes and messages for fatal errors -->
<!-- sql to call when connection is created -->
<new-connection-sql>select 1 from dual</new-connection-sql>
<!-- sql to call on an existing pooled connection when it is obtained from pool - the OracleValidConnectionChecker is prefered, but it doesn't work. So, we have to go with this -->
<check-valid-connection-sql>select 1 from dual</check-valid-connection-sql>
<!-- configure connection pool
Any help on this would be greatly appreciated,