[prev in list] [next in list] [prev in thread] [next in thread]
List: tomcat-user
Subject: RE: TC 4.1.36 stopped logging
From: "Propes, Barry L " <barry.l.propes () citi ! com>
Date: 2008-03-31 23:23:55
Message-ID: 3A55348B50FD2A40AAA40ABA16C6B6D60E7CD30C () EXNJMB23 ! nam ! nsroot ! net
[Download RAW message or body]
thanks, Chris, I'll take a look at this!
-----Original Message-----
From: Christopher Schultz [mailto:chris@christopherschultz.net]
Sent: Monday, March 31, 2008 5:28 PM
To: Tomcat Users List
Subject: Re: TC 4.1.36 stopped logging
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Barry,
Propes, Barry L wrote:
| all of a sudden, I've got a connection pool leak. I'll troubleshoot
| that separately from this issue, though quite honestly I'm not sure
| how it suddenly occurred, but I believe I can fix that....although
| what is one of the ideal monitoring tools?
Set:
~ removeAbandoned="true"
~ removeAbandonedTimeout="30"
~ logAbandoned="true"
on your <Resource> and you'll get stack traces in your log files when
connections are held for more than (in this case) 30 seconds. All of my
queries are nearly instantaneous, so a 30-second connection checkout is
considered a leak.
| Aside from that, there appears to be some latency in my logging...in
| other words, the errors getting logged seem to be substantially
| buffered then written to the log (not in real time) maybe hours later
| after an exception. I know this because I've purposely gone in and
| thrown or forced one so that I could see it in the logs.
Wow, that's odd. Which logging mechanism are you using? Is the clock on
your server correct?
| Is it possible my loggings jar file has gotten corrupted?
In my experience, the JAR either works or it doesn't. We had someone
check a JAR file into CVS without setting the "kb" flag (sets it to
binary) and everyone who was using win32 started getting errors all over
the place.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkfxZVkACgkQ9CaO5/Lv0PA9AgCfdujqHU5qa37/bxYMoj7InjU0
v28An0hhtHdv+br84r8vr6tgQEtUNE55
=1VrG
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic