Project

General

Profile

« Previous | Next » 

Revision df841466

Added by Andreas Kohlbecker over 3 years ago

notes on commented settings regarding debugging of leaky db connections

View differences:

src/main/resources/c3p0.properties
47 47
#c3p0.maxConnectionAge = 600
48 48

  
49 49
# maxIdleTime 10800 = 3 hours
50
c3p0.maxIdleTime = 600
50
c3p0.maxIdleTime = 10800
51 51

  
52 52
c3p0.maxIdleTimeExcessConnections = 300
53 53

  
54
## automatichoweverTestTable: 
54
## automaticTestTable: 
55 55
#			If provided, c3p0 will create an
56 56
#			empty table of the specified name, and use queries against that table
57 57
#			to test the Connection. If automaticTestTable is provided, c3p0 will
......
65 65
# The ManagementCoordinator was causing problems in the past but seem to be ok now.
66 66
#c3p0.management.ManagementCoordinator=com.mchange.v2.c3p0.management.NullManagementCoordinator
67 67

  
68

  
69

  
70
c3p0.debugUnreturnedConnectionStackTraces=true
71
c3p0.unreturnedConnectionTimeout=30
68
# The below settings should only be used to debug connection leaks
69
# make sure the logging level for com.mchange.v2 is at least at INFO
70
# see https://dev.e-taxonomy.eu/redmine/projects/edit/wiki/DebugC3P0Connections for details
71
#c3p0.debugUnreturnedConnectionStackTraces=true
72
#c3p0.unreturnedConnectionTimeout=30

Also available in: Unified diff