hi there
i have a problem with my session
it uses the same connection all the time ... so if this connection dies (e.g. because of timeout while the user was inactive), i get a
"com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure"
the c3p0 - pool recognizes this, by saying following:
Code:
634561 [btpool0-5] WARN com.mchange.v2.c3p0.impl.NewPooledConnection - [c3p0] A PooledConnection that has already signalled a Connection error is still in use!
634561 [btpool0-5] WARN com.mchange.v2.c3p0.impl.NewPooledConnection - [c3p0] Another error has occurred [ com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error:
...blah blah
well... how can i tell hibernate to take a new connection from the pool...?
if you need some information about my hibernate.cfg.xml or other setting-files, i'll post them..
thanks in advance
lenaz