Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am in a development environment, and our test Oracle 9i server has been misbehaving for a few days now. What happens is that we have our JDBC connections disconnecting after a few successful connections.

We got this box set up by our IT department and handed over to. It is 'our problem', so options like 'ask you DBA' isn't going to help me. :(

Our server is set up with 3 plain databases (one is the main dev db, the other is the 'experimental' dev db). We use the Oracle 10 ojdbc14.jar thin JDBC driver (because of some bug in the version 9 of the driver). We're using Hibernate to talk to the DB.

The only thing that I can see that changed is that we now have more users connecting to the server. Instead of one developer, we now have 3. With the Hibernate connection pools, I'm thinking that maybe we're hitting some limit?

Anyone has any idea what's going on?

Here's the stack trace on the client:

Caused by: org.hibernate.exception.GenericJDBCException: could not execute query
at org.hibernate.exception.SQLStateConverter.handledNonSpecificException( [hibernate3.jar:na]
at org.hibernate.exception.SQLStateConverter.convert( [hibernate3.jar:na]
at org.hibernate.exception.JDBCExceptionHelper.convert( [hibernate3.jar:na]
at org.hibernate.loader.Loader.doList( [hibernate3.jar:na]
at org.hibernate.loader.Loader.listIgnoreQueryCache( [hibernate3.jar:na]
at org.hibernate.loader.Loader.list( [hibernate3.jar:na]
at org.hibernate.loader.hql.QueryLoader.list( [hibernate3.jar:na]
at org.hibernate.hql.ast.QueryTranslatorImpl.list( [hibernate3.jar:na]
at org.hibernate.engine.query.HQLQueryPlan.performList( [hibernate3.jar:na]
at org.hibernate.impl.SessionImpl.list( [hibernate3.jar:na]
at org.hibernate.impl.QueryImpl.list( [hibernate3.jar:na]
Caused by: java.sql.SQLException: Io exception: Connection reset
at oracle.jdbc.driver.DatabaseError.throwSqlException( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.DatabaseError.throwSqlException( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.DatabaseError.throwSqlException( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery( [ojdbc14.jar:Oracle JDBC Driver version - ""]
at org.hibernate.jdbc.AbstractBatcher.getResultSet( [hibernate3.jar:na]
at org.hibernate.loader.Loader.getResultSet( [hibernate3.jar:na]
at org.hibernate.loader.Loader.doQuery( [hibernate3.jar:na]
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections( [hibernate3.jar:na]
at org.hibernate.loader.Loader.doList( [hibernate3.jar:na]
share|improve this question

Did something change on the network ? Was a firewall added on the path between client and oracle server ?

Posting the database ora config file would help

share|improve this answer
Not sure what file that is... I'm no DBA :( – malaverdiere Feb 15 '10 at 8:13
I've checked with the NOC, and they told me that there was no network change. – malaverdiere Feb 17 '10 at 9:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.