I am using Hibernate c3p0 configuration for connection pooling. some times my appliaction has exhausted, is there any problem with my code. can any one please help me."my code is like this".
'
<property name="hibernate.c3p0.min_size">5</property>
<property name="hibernate.c3p0.max_size">100</property>
<property name="hibernate.c3p0.timeout">1800</property>
<property name="hibernate.c3p0.max_statements">20</property>
<property name="hibernate.c3p0.idle_test_period">3000</property>
<property name="connection.provider_class">
org.hibernate.connection.C3P0ConnectionProvider
</property>'
You may have a Connection leak. Please consider trying c3p0 config parameters unreturnedConnectionTimeout and debugUnreturnedConnectionStackTraces . See the discussion here .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.