Home > Back-end >  OracleTimeoutPollingThread how to solve?
OracleTimeoutPollingThread how to solve?

Time:12-09

My oracle connection pool, shut off the tomcat when there is a serious mistake

The init method="init" destroy - method="close" & gt;



SELECT and must be returned at least one row - & gt;
Set to true if it is to be effective after, the validationQuery parameter must be set to the empty string. A configuration is proposed, to true, take to prevent the connection is not available - & gt;
Does not affect performance, and ensure safety, it is recommended that the configuration is true, do not affect performance, and guarantee the security, detection application connection, if free time is more than timeBetweenEvictionRunsMillis,
Performing validationQuery test connection is effective, - & gt;

Reference: https://github.com/alibaba/druid/wiki/KeepAlive_cn - & gt;

Units are seconds - & gt;


Was closed in tomcat, tip:
Severe: The web application [/Dzxd] appears to have started a thread named [OracleTimeoutPollingThread] but has failed to stop it. This is very likely to create a memory leak.


  • Related