-->
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.  [ 1 post ] 
Author Message
 Post subject: com.mchange.v2.c3p0.PoolBackedDataSource has been closed()
PostPosted: Wed Jun 11, 2008 4:47 am 
Newbie

Joined: Tue Aug 28, 2007 6:50 am
Posts: 1
Hibernate version: hibernate3-3.2.0.ga.

Full stack trace of any exception that occurs:
Code:
2008-06-11 12:30:39,662 [background thread 1 AutoExportMailListener]  WARN JDBCExceptionReporter:71 - SQL Error: 0, SQLState: null
2008-06-11 12:30:39,662 [background thread 1 AutoExportMailListener] ERROR JDBCExceptionReporter:72 - com.mchange.v2.c3p0.PoolBackedDataSource@ba41c42c [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@dbb83467 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 30wa3l7uwy34r81gvgiw8|b40ec4, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@2f0c1217 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 30wa3l7uwy34r81gvgiw8|197bb7, jdbcUrl -> jdbc:jtds:sqlserver://xxxxxxxxxx:1433/xxxx_andremon3, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 30wa3l7uwy34r81gvgiw8|13e0aba, numHelperThreads -> 3 ] has been closed() -- you can no longer use it.
2008-06-11 12:30:39,678 [background thread 1 AutoExportMailListener] ERROR AutoExportMailListener$EIMessageFilter:337 -
org.hibernate.exception.GenericJDBCException: Cannot open connection
   at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
   at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
   at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
   at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:420)
   at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
   at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:119)
   at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:57)
   at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326)
   at org.test.logic.HibernateUtil$TransactionManager.beginTransaction(HibernateUtil.java:1047)
   at org.test.logic.HibernateUtil.beginTransaction(HibernateUtil.java:385)
   at
org.test.logic.HibernateUtil.getListMaxResults(HibernateUtil.java:441)
   at org.test.logic.HibernateUtil.getList(HibernateUtil.java:436)
   at org.test.export.AutoExportMailListener$EIMessageFilter.processFile(AutoExportMailListener.java:219)
   at org.test.export.AutoExportMailListener$EIMessageFilter.processFileByType(AutoExportMailListener.java:333)
   at org.test.export.AutoExportMailListener$EIMessageFilter.processMsg(AutoExportMailListener.java:315)
   at
org.test.export.utils.mail.MailUtil.receiveFiles(MailUtil.java:222)
   at org.test.export.AutoExportMailListener.runTask(AutoExportMailListener.java:87)
   at org.test.logic.BaseBackgroundThread.run(BaseBackgroundThread.java:203)
   at org.test.logic.BaseBackgroundThread$1.run(BaseBackgroundThread.java:74)
Caused by: java.sql.SQLException: com.mchange.v2.c3p0.PoolBackedDataSource@ba41c42c [ connectionPoolDataSource -> com.mchange.v2.c3p0.WrapperConnectionPoolDataSource@dbb83467 [ acquireIncrement -> 1, acquireRetryAttempts -> 30, acquireRetryDelay -> 1000, autoCommitOnClose -> false, automaticTestTable -> null, breakAfterAcquireFailure -> false, checkoutTimeout -> 0, connectionCustomizerClassName -> null, connectionTesterClassName -> com.mchange.v2.c3p0.impl.DefaultConnectionTester, debugUnreturnedConnectionStackTraces -> false, factoryClassLocation -> null, forceIgnoreUnresolvedTransactions -> false, identityToken -> 30wa3l7uwy34r81gvgiw8|b40ec4, idleConnectionTestPeriod -> 0, initialPoolSize -> 1, maxAdministrativeTaskTime -> 0, maxConnectionAge -> 0, maxIdleTime -> 0, maxIdleTimeExcessConnections -> 0, maxPoolSize -> 10, maxStatements -> 0, maxStatementsPerConnection -> 0, minPoolSize -> 1, nestedDataSource -> com.mchange.v2.c3p0.DriverManagerDataSource@2f0c1217 [ description -> null, driverClass -> null, factoryClassLocation -> null, identityToken -> 30wa3l7uwy34r81gvgiw8|197bb7, jdbcUrl -> jdbc:jtds:sqlserver://xxxxxxxxxx:1433/xxxx_andremon3, properties -> {user=******, password=******} ], preferredTestQuery -> null, propertyCycle -> 0, testConnectionOnCheckin -> false, testConnectionOnCheckout -> false, unreturnedConnectionTimeout -> 0, usesTraditionalReflectiveProxies -> false; userOverrides: {} ], dataSourceName -> null, factoryClassLocation -> null, identityToken -> 30wa3l7uwy34r81gvgiw8|13e0aba, numHelperThreads -> 3 ][b] has been closed() -- you can no longer use it.[/b]
   at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.assertCpds(AbstractPoolBackedDataSource.java:447)
   at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getPoolManager(AbstractPoolBackedDataSource.java:459)
   at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)
   at org.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:35)
   at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
   ... 15 more


Name and version of the database you are using: Microsoft SQL Server 2000 sp4


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

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.