-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jin,

Jin Kim wrote:
| In Tomcat documentations, the removeAbandonedTime¡¯
| attribute is the number of seconds a dB connection has
| been idle before it is considered abandoned.
|
| Is the idle time calculated since the connection was
| borrowed from the pool?

I would imagine so, but your best bet is to ask the folks at commons
DBCP (the original authors) or just download the source code and take a
look.

| Or, is it calculated from the
| last time the connection has been used such as any Sql
| statement executions?
|
| I hope the answer be the latter, but would appreciate
| if anyone can clarify.

You could always write your own implementation of ObjectPool that
enforces the rules you prefer wrt abandonment.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgWKkAACgkQ9CaO5/Lv0PB8ZACgufaeoSDECZONo52fNLYavAwj
V0MAoLd6RdGY41xBibSWKwrP0jVJaTvj
=nZRX
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to