tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Galbayar" <galba...@mobinet.mn>
Subject RE: [partially off topic] How can I detect java.lang.OutOfMemoryError
Date Wed, 16 Apr 2003 09:58:36 GMT
Hi Reynir Hübner
first install OpenSSH for windows http://lexa.mckenna.edu/sshwindows/

1. write a jsp
2. use URLConnection connect to the Tomcat.
IF Tomcat not responds
3. use ssh connect to the server. Visit http://www.sshtools.com get SSH API
4. run shutdown.bat
5. run startup.bat

-----Original Message-----
From: Ralph Einfeldt [mailto:ralph.einfeldt@uptime-isc.de]
Sent: Wednesday, April 16, 2003 6:15 PM
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


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


Mime
View raw message