<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Getting alerts when Java processes crash</title>
	<atom:link href="http://prefetch.net/blog/index.php/2008/01/29/getting-alerts-when-java-processes-crash/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog/index.php/2008/01/29/getting-alerts-when-java-processes-crash/</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:31:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: Andrew Scherpbier</title>
		<link>http://prefetch.net/blog/index.php/2008/01/29/getting-alerts-when-java-processes-crash/comment-page-1/#comment-289535</link>
		<dc:creator>Andrew Scherpbier</dc:creator>
		<pubDate>Sun, 24 Feb 2008 17:47:20 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2008/01/29/getting-alerts-when-java-processes-crash/#comment-289535</guid>
		<description>I have found that the Java Service Wrapper is a much better solution to these issues.  With the wrapper, you can setup pattern filters on the stdout and stderr of the java process.  One of the things I do is setup a pattern for OutOfMemoryError and make the action restart the java process up to 5 times.  After that it will halt the process.  If you setup the logger to use syslog, then all of this activity can easily be caught using a log monitoring tool like logcheck.
Another nice thing about the Java Service Wrapper is that it can product a full thread dump of the running process at any time.  Very handy and much easier than using jconsole.
Java Service Wrapper is cross platform, although the thread dump only works on Solaris and Linux AFAIK.

Anyway, check out the Java Service Wrapper:

http://wrapper.tanukisoftware.org/doc/english/introduction.html</description>
		<content:encoded><![CDATA[<p>I have found that the Java Service Wrapper is a much better solution to these issues.  With the wrapper, you can setup pattern filters on the stdout and stderr of the java process.  One of the things I do is setup a pattern for OutOfMemoryError and make the action restart the java process up to 5 times.  After that it will halt the process.  If you setup the logger to use syslog, then all of this activity can easily be caught using a log monitoring tool like logcheck.<br />
Another nice thing about the Java Service Wrapper is that it can product a full thread dump of the running process at any time.  Very handy and much easier than using jconsole.<br />
Java Service Wrapper is cross platform, although the thread dump only works on Solaris and Linux AFAIK.</p>
<p>Anyway, check out the Java Service Wrapper:</p>
<p><a href="http://wrapper.tanukisoftware.org/doc/english/introduction.html" rel="nofollow">http://wrapper.tanukisoftware.org/doc/english/introduction.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jani Mikkonen</title>
		<link>http://prefetch.net/blog/index.php/2008/01/29/getting-alerts-when-java-processes-crash/comment-page-1/#comment-236770</link>
		<dc:creator>Jani Mikkonen</dc:creator>
		<pubDate>Wed, 06 Feb 2008 09:11:56 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2008/01/29/getting-alerts-when-java-processes-crash/#comment-236770</guid>
		<description>Stumbled here from rootprompt - and nice to get some tidbits that i didnt know before and i&#039;ll leave my own here for others.

There&#039;s a tool called &quot;Monit&quot; which was first written just to monitor rogue java application and crashes. It has grown since to be a quite a nice general monitoring solution but still does a good job to keep java servers in shape.

&lt;a href=&quot;http://www.tildeslash.com/monit/&quot; rel=&quot;nofollow&quot;&gt;http://www.tildeslash.com/monit/&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p>Stumbled here from rootprompt &#8211; and nice to get some tidbits that i didnt know before and i&#8217;ll leave my own here for others.</p>
<p>There&#8217;s a tool called &#8220;Monit&#8221; which was first written just to monitor rogue java application and crashes. It has grown since to be a quite a nice general monitoring solution but still does a good job to keep java servers in shape.</p>
<p><a href="http://www.tildeslash.com/monit/" rel="nofollow">http://www.tildeslash.com/monit/</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

