You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Januski, Ken" <kj...@phillynews.com> on 2003/04/16 17:34:34 UTC
RE: [partially off topic] How can I detect java.lang.OutOfMemoryE
rror
I use unxutils all the time, in fact I couldn't survive on Windows without
it. Tail and tail -f work just fine. You can also pipe the output to grep
easily enough.
-----Original Message-----
From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de]
Sent: Wednesday, April 16, 2003 5:15 AM
To: Tomcat Users List
Subject: RE: [partially off topic] How can I detect
java.lang.OutOfMemoryError
These might be a bit more lightwight than cygwin:
Grep for windows:
http://www.interlog.com/~tcharron/grep.html
http://www.wingrep.com/
Tail for windows:
http://www.dschensky.de/Software/Staff/tailme_en.htm
http://ophilipp.free.fr/op_tail.htm
Another solition for both utilities:
http://unxutils.sourceforge.net/
I havn't tried any of them. It may get tricky or impossible
to chain those programms through a pipe under windows (especially
with tail -f).
I prefer a status jsp page that is requested on a regular base,
and to parse that output.
> -----Original Message-----
> From: Reynir Hübner [mailto:reynir@hugsmidjan.is]
> Sent: Wednesday, April 16, 2003 10:49 AM
> To: Tomcat Users List
> Subject: RE: [partially off topic] How can I detect
> java.lang.OutOfMemoryError
>
>
> Yes, that's what I was thinking of doing...
>
> Monitor the catalina-out log files, but does anyone have any
> good tools to do it on windows ?
> I think I would use tail, and grep on unix, and then pipe
> something into emails if I got that error somewhere, but that
> is not available in windows (unless I install cygwin etc)
> there must be a native way of doing things like that in windows...
>
> Any good ideas ?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org