-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jose,

On 6/23/15 6:46 AM, Jose María Zaragoza wrote:
> 2015-06-15 17:59 GMT+02:00 Christopher Schultz
> <ch...@christopherschultz.net>: Jose,
> 
> It looks like your issue is mostly solved...
> 
> On 6/15/15 4:42 AM, Jose María Zaragoza wrote:
>>>> I'm using Tomcat 7.0.59 and PostgreSQL JDBC driver
>>>> 9.4-1201-jdbc4
>>>> 
>>>> The context.xml settings are
>>>> 
>>>> 
>>>> <Resource auth="Container" type="javax.sql.DataSource" [...] 
>>>> timeBetweenEvictionRunsMillis="0"/>
> 
> Are you sure you want to do this? The docs don't say anything
> about the value of "0", though one might reasonably expect that
> this disables eviction runs.
> 
> The default for "testWhileIdle" is "false", which means that the 
> default value of timeBetweenEvictionRunsMillis is not relevant.
> 
> 
>> sure ?

Not sure. I just read the official documentation.

>> I was following the guide in this link: 
>> http://www.codingpedia.org/ama/tomcat-jdbc-connection-pool-configurat
ion-for-production-and-development/
>
>>  "timeBetweenEvictionRunsMillis > 0 AND removeAbandoned=true AND 
>> removeAbandonedTimeout > 0 means the pool sweeper is enabled."
> 
>> I want to be sure that eviction thread of inactive thread is not
>> executed . is that paragrah false ?

Not sure.

Try reading this:
http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html#Tomcat_JDBC_Enhan
ced_Attributes

- -chris
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJViXivAAoJEBzwKT+lPKRYslAP/12wPIJ5AFAUd5tumu27FcDL
XbT8lw4yx/8Ol3gmr81jVBFN9jcybUj45iOY2xdlnDr6fRN5Arat0sESxmPlTdQi
gp2x6Ilh4tAmoU+43fLwMYz1f/LhJ1Qk7Sd98VNfs9KA+NvuZPRrzMwotkvj9Pdg
EcQ89hLxEa9OTQv5EUrpXvwQ9MqxaVZ7XIpFa440OLHwRhHYzIIYBAcouDh+FlzP
xrtjM/4+oVGS7EoqUj2C31qLIHN2YsFrJ8Yn/YqLPSL+SFw2ZBR46oR7aB7TJmH7
DLhl6X5c2NKs3rAs0+lQSClOZzBmunWDvZU31oW0aY67CHy+7lAGqJdh8uTljkWN
5AAIC3qSE7QsCSkERmSg3arVqjoDOrO4BDBldSP4mSWgZKPYitllPH7N9vSXX7jo
PNBTo4UZEnaPO6+KuUeS/E8XGUj4n2V84cJznaFCr8sdWoKbKhHFphBup5iSiurw
/+aT+J8yaj4rLg9p4KVeYYWJcfwEgxYAXdUDzcHBFIT1n7gKUBp9jg4cwyMWb7Gb
juoIahCpbxZW0gYOLJJworifOsEERNQEg7nDLyw7mW4y3JNDi76s+2/twgbI9fny
e7/2JfRK9v6CWbp0pXvb0RqRhCskWyPC9YlzqRYPsiaXx9plT+4me1hR8ZwU6uUR
Xrf4YPYDq/Ponw2jJXNW
=cYw1
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to