¡@

Home 

java Programming Glossary: closemethod

JDBC connection pool runs out of connections when Context reload=“true” is enabled in Tomcat

http://stackoverflow.com/questions/13595794/jdbc-connection-pool-runs-out-of-connections-when-context-reload-true-is-enabl

tl dr In order to solve this issue add an attribute closeMethod documented here with the value close to the Resource element.. removeAbandonedTimeout 60 abandonWhenPercentageFull 50 closeMethod close Context Pay attention to the attribute closeMethod . I.. closeMethod close Context Pay attention to the attribute closeMethod . I tested it and now the number of connections are kept STRICTLY..