tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat and Window nonpaged pool
Date Sat, 06 Apr 2013 02:36:45 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Jeffrey,

On 4/5/13 10:27 AM, Jeffrey Janner wrote:
> Yes, it connects to an Oracle DB, and I strongly suspect they may
> be seeing a connection pool leak in a little-used bit of code.

If you think you have a connection leak, debug that first. Can you not
imagine which little-used code might be leaking these connections?

Have you run Findbugs or other static analysis tools against your
code? They might be able to find the problem relatively quickly.
Better yet, write complete-coverage unit tests and then use a
connection pool with size=1: you'll find it *very* quickly after that
(but if you had those unit tests already, you'd have already found it,
of course).

I personally very highly recommend that you run with
logAbandoned="true" and maxActive="1" *always* in development.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJRX4o9AAoJEBzwKT+lPKRYmZMP+wSQuw2BCOxzZetfIfDJXOX8
7tJxNJxXkgZFAW4dpTtywMHA440LOFQPDEhma+ARc611L9N2z/0bWswn+VvtgkEF
Qjhjq8b6Ab9dGpI9WjBJv6Qp59MohdYUC7toSc+Xfuho9j4C0nUI2/3Wul8amK+N
KtUfl61iqLsj2XsbimQsmoemXL4Kh9mXapeENoMlESHd1FFOOzf+8IrbwCLifLbn
Lb9lvXdIF+hmIAIL81jsgDaow5IlPat0vEr0IS4nQbbZOhdhfXVIXxDCg7Y4yqHC
BZ0BDf4N8Duif+G3WqAR019TZkMWNCDN+k3TRKhA/2sFfw5pp1NA+2M9/vUHrnik
Dw0YoAFfRbMbrCu9bpNXoGA/FM9SUQtPlXZ5M1whWQhhOpKYHNTp+EmBxQsRLXfX
xI3s/32IMwCd4+uFRFmh9DXLr0wuzWkP0Hw2Dr65F8pdS16ZPgjwnBLcA3Wrp31V
TBoo7kmAV3VVeDtyeNAMDyezmsO197q5Lgr493E8G+lDeLZvYTDwqc9KNw2hcgUW
SEi2u+bDR2mxVYXPBhYKM+4/gUQroqtpTh1hElUTaoDNukIZsZ0nNUqlXV54hd8D
QRvudINcAQNm7XBZ/eqHGIYXWrel84ie49YC8bMyfk7JwZTGFqpecPh1edo0wQ5Z
1v8aRUSAAcV4dOk2XdYs
=7XTT
-----END PGP SIGNATURE-----

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


Mime
View raw message