-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: Failed to destroy resource...NewPooledConnection...NPE
PostPosted: Mon Jun 06, 2005 10:06 pm 
Newbie

Joined: Mon Jun 06, 2005 9:26 pm
Posts: 8
Maybe hibernate, maybe c3p0....
I've been finding the below exception message in my logs. Note that there are no references to my code anywhere in the stack (so I have no idea where to start writing a test case to reproduce it) and there are no exceptions ever propagating up to my code. The app continues running (happily?) when these occur; they appear to be internal exceptions that get "dealt with" by hibernate/c3p0.

Any help identifying the cause and a way to prevent they from happening would be greatly appreciated. They are adding scary noise to the log files that I'd rather live without.

Hibernate version:
2.1
mysql-connector-java-3.1.7
c3p0-0.8.5.2

Mapping documents: No idea which one of ~20 might be involved

Code between sessionFactory.openSession() and session.close(): Using a standard dao idiom as described in the docs. If I knew where this was happening I'd quote that specific one, but. :-/

Full stack trace of any exception that occurs:
Code:
Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1d1c3cd
java.lang.NullPointerException
        at com.mysql.jdbc.ServerPreparedStatement.realClose(ServerPreparedStatement.java:1095)
        at com.mysql.jdbc.Connection.closeAllOpenStatements(Connection.java:2885)
        at com.mysql.jdbc.Connection.realClose(Connection.java:2092)
        at com.mysql.jdbc.Connection.close(Connection.java:1066)
        at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:326)
        at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:115)
        at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1.destroyResource(C3P0PooledConnectionPool.java:185)
        at com.mchange.v2.resourcepool.BasicResourcePool$5.run(BasicResourcePool.java:576)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:354)
Thread[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2,5,main] -- caught unexpected Exception while executing posted task.
java.lang.NullPointerException
        at com.mysql.jdbc.ServerPreparedStatement.realClose(ServerPreparedStatement.java:1095)
        at com.mysql.jdbc.ServerPreparedStatement.close(ServerPreparedStatement.java:712)
        at com.mchange.v1.db.sql.StatementUtils.attemptClose(StatementUtils.java:38)
        at com.mchange.v2.c3p0.stmt.GooGooStatementCache$1.run(GooGooStatementCache.java:246)
        at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:354)


Name and version of the database you are using:
MySQL 4.1.11

The generated SQL (show_sql=true): The code can run for a long time before this error occurs; it would be unweildy to run in this mode in production until it happened.

Debug level Hibernate log excerpt:
Dittos. Sorry.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 06, 2005 11:41 pm 
C3P0 Developer
C3P0 Developer

Joined: Tue Jan 06, 2004 8:58 pm
Posts: 145
Well, the issue is that periodically MySQL is throwing an NPE on close(), so it's tempting to pass the buck over there...

...but, if your application uses Statement caching, you might try upgrading to c3p0-0.9.0-pre6. Earlier versions of c3p0 closed cached PreparedStatements and their parent Connections asynchronously, such that the order of the closes was not guaranteed, Statements could be closed after or simultaneous to parent Connect close.

More recent versions of c3p0 ensure that all cached PreparedStatements are closed prior calling Connection close. This may eliminate the stack traces that you're seeing.

Anyway, give c3p0-0.9.0-pre6 a shot...

smiles,
Steve (c3p0 guy)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jun 06, 2005 11:59 pm 
Newbie

Joined: Mon Jun 06, 2005 9:26 pm
Posts: 8
swaldman wrote:
Earlier versions of c3p0 closed cached PreparedStatements and their parent Connections asynchronously, such that the order of the closes was not guaranteed, Statements could be closed after or simultaneous to parent Connect close.

More recent versions of c3p0 ensure that all cached PreparedStatements are closed prior calling Connection close. This may eliminate the stack traces that you're seeing.

Anyway, give c3p0-0.9.0-pre6 a shot...

Steve, thanks a bunch for the quick response!

Mark


Top
 Profile  
 
 Post subject: Re: Failed to destroy resource...NewPooledConnection...NPE
PostPosted: Thu Oct 22, 2009 4:48 pm 
Newbie

Joined: Tue Nov 25, 2008 9:31 pm
Posts: 18
Hi,

I am getting similar exception while running Seam application on jboss. I can't see any of the application code throwing this... :(
Environment : c3p0-0.9.1, Hibernate-Version: 3.2.4.sp1, ojdbc5_g.jar (JDBC Driver version - "11.1.0.7.0-Production).

Please suggest how I can handle this...

Code:
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1e09c92
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@1e09c92
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@386e5d
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@386e5d
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@66b7d
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@66b7d
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@178f08a
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@178f08a
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1c636d
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@1c636d
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1127f05
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@1127f05
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] Exceptions occurred while trying to close a PooledConnection's resources normally.
INFO  [com.mchange.v2.c3p0.impl.NewPooledConnection] [c3p0] NewPooledConnection close Exception.
java.sql.SQLException: No more data to read from socket
   at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:133)
   at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:134)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:247)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:327)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:352)
   at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:642)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalUB1(T4CMAREngine.java:1101)
   at oracle.jdbc.driver.T4CMAREngine.unmarshalSB1(T4CMAREngine.java:1050)
   at oracle.jdbc.driver.T4C7Ocommoncall.receive(T4C7Ocommoncall.java:95)
   at oracle.jdbc.driver.T4CConnection.logoff(T4CConnection.java:596)
   at oracle.jdbc.driver.PhysicalConnection.close(PhysicalConnection.java:4863)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:474)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@17796c6
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@17796c6
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)
WARN  [com.mchange.v2.resourcepool.BasicResourcePool] Failed to destroy resource: com.mchange.v2.c3p0.impl.NewPooledConnection@1361466
java.sql.SQLException: Some resources failed to close properly while closing com.mchange.v2.c3p0.impl.NewPooledConnection@1361466
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:496)
   at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191)
   at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.destroyResource(C3P0PooledConnectionPool.java:470)
   at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.java:964)
   at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.