-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ziggy,
On 1/8/2011 6:30 AM, ziggy25@gmail.com wrote:
> Yes I guess you are right that launching the jmx every minute could
> be expensive resourcewise... i am wondering whether it will be less
> expensive if I just start a thread and same it up every minute...
> this way the jmx engine will only be started once...
So, loop with a sleep()? That's certainly doable.
> I can't really have the monitoring tool inside my webapp or in the
> tomcat instance.. the reason for this is that the tool I am writing
> checks the availability of tomcat itself. This means that if tomcat
> itself dies the monitoring tool will also die...
Well, if you have a chatty reporting tool and the chatter stops, you
know Tomcat isn't working right. ;)
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0rWx4ACgkQ9CaO5/Lv0PDTVgCffxEHpVB6PSvNGJ4zc4s/K+ST
vjEAnjiTjiN2IHlMcSAC2O6o1SBcmO6S
=Lguf
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
|