using the PROXOOL,JDBC connection pool, you encounter an exception when you run a batch:
The Thread responsible was named ' thread-32′ and the last SQL it performed are unknown because the trace property is not E Nabled.
cause of the problem: after the SQL statement is run. This exception is thrown when the data is not returned in a long time, and is configured in Proxool.xml. For example the following (see the Red font section)
<proxool>
<alias>liveEpg</alias>
<driver-url>jdbc:mysql://127.0.0.1:3306/liveepg?useunicode=true&characterencoding=utf-8
</driver-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<driver-properties>
<property name= "User" value= "root"/>
<property name= "Password" value= "root"/>
</driver-properties>
<maximum-connection-count>30</maximum-connection-count>
<minimum-connection-count>1</minimum-connection-count>
<maximum-active-time>900000</maximum-active-time>
</proxool>
Consider increasing the value of this parameter. Suppose you use a configuration file. Then add proxool.maximum-active-time=900000 (15 minutes) to the Proxool configuration file. Unit is milliseconds! ) or the value you want.
Test Site: http://it.oyksoft.com/post/3983/
Java-proxool exception