tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "McKenzie, Mitch" <mmcken...@MarkelCorp.com>
Subject Tomcat 8.5 Resource Setting Says it's being ignored but documentation shows it is supported
Date Wed, 17 Aug 2016 17:34:22 GMT
Seeing the following  warning for all of my datasources when tomcat 8.5.4 starts up : Ignoring
unknown property: value of "30000" for "validationInterval" property

I see validationInterval in the docs here: https://tomcat.apache.org/tomcat-8.5-doc/jdbc-pool.html

Here is one of my resource defs:

<Resource
name="jdbc/XYZAPP"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.tomcat.dbcp.dbcp2.BasicDataSourceFactory"
username="?"
password="?"
driverClassName="some.driver"
url="jdbc:xyz://xyzapp:12345/SomeDB"
initialSize="10"
maxTotal="100"
maxIdle="50"
minIdle="10"
timeBetweenEvictionRunsMillis="30000"
minEvictableIdleTimeMillis="60000"
testOnBorrow="true"
testWhileIdle="false"
testOnReturn="false"
validationQuery="SELECT 1"
validationInterval="30000"
validationQueryTimeout="3"/>


This message has been scanned for malware by Websense. www.websense.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message