swaldman wrote:
please upgrade to c3p0-0.9.1-pre9
done.
swaldman wrote:
1) set the c3p0 property unreturnedConnectionTimeout
i can't find this in the
docswhat is a recommended value?
is it in seconds or millis?
is this still useful without 'debugUnreturnedConnectionStackTraces'?
swaldman wrote:
2) set debugUnreturnedConnectionStackTraces to true....(Only use this parameter while debugging, as it harms performance.)
.. yeah but i can't reproduce it in development/testing servers :(
swaldman wrote:
If it is something else besides a Connection leak, information about active and pending thread pool tasks and their stack traces are likely to be useful. You can get this any time via c3p0's PooledDataSource.sampleThreadPoolStatus(), via direct method calls, or via JMX.
This sounds like what i want to do (for now) but how do i aquire an instance of PooledDataSource?
Basically i want a report on open connections and connection age every 10 minutes so that i can identify when an orphan connection is being created. i'd love the stack trace (ala debugUnreturnedConnectionStackTraces) but can't afford the performance hit on a production system.
thx again.
paul.