I have also tried the jmx plugin and it is getting the tomcat statistics for me. However, I have to compile the jmx classes myself since they didn't get complied while installing collectd (gmake install). Is there any reason for the same or am I missing something?<br>
<br>Regards<br>Amit<br><br><div class="gmail_quote">On Mon, Aug 17, 2009 at 8:39 PM, matthew sporleder <span dir="ltr"><<a href="mailto:msporleder@gmail.com">msporleder@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Mon, Aug 17, 2009 at 4:56 AM, Florian Forster<<a href="mailto:octo@verplant.org">octo@verplant.org</a>> wrote:<br>
> Hi,<br>
><br>
> On Wed, Aug 12, 2009 at 02:30:02PM +0200, Florian Forster wrote:<br>
>> The only work-around I can think of right now it to delay loading of<br>
>> classes and parsing of the configuration until after the fork. The<br>
>> plugins can still complain about invalid configuration, but they won't<br>
>> have access to STDOUT / STDERR anymore.<br>
><br>
> I've just implemented this: The Java plugin now copies the configuration<br>
> blocks and does nothing else while configuring. When the `init' callback<br>
> is called, it begins to parse the configuration and starts the JVM.<br>
> Since the `init' callbacks are called after the daemon forked to the<br>
> background, the JVM doesn't loose its threads and everything works like<br>
> it did when running in the foreground.<br>
><br>
> It'd be great if someone else could try the updated version and tell me<br>
> whether it's working somewhere else, too.<br>
><br>
<br>
<br>
</div>My initial testing shows this to work. Also- it looks like you moved<br>
it into the master branch.<br>
Can someone else give it a go?<br>
<div><div></div><div class="h5"><br>
_______________________________________________<br>
collectd mailing list<br>
<a href="mailto:collectd@verplant.org">collectd@verplant.org</a><br>
<a href="http://mailman.verplant.org/listinfo/collectd" target="_blank">http://mailman.verplant.org/listinfo/collectd</a><br>
</div></div></blockquote></div><br>