tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Accessing context information remotely - Context.getAvailable() etc.
Date Fri, 07 Jan 2011 15:05:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ziggy,

On 1/7/2011 6:53 AM, Ziggy wrote:
> Will a "full JMX" be started on the Tomcat JVM or on the JVM in which i am
> running the process to connect to the Tomcat instance?

Your client process, obviously: JMX is already started in the Tomcat JVM
in order to serve JMX requests.

> presumably if it is
> the latter then it will shutdown once the client tool completes? The tool
> should only take a few seconds to run on each iteration.

Yes. Rainer is only pointing-out that the JVM + the JMX subsystem is a
pretty heavy thing to be launching, say, every minute from a cron job.
On the other hand, you could use a shell script + wget and get the same
effect if you had access to the manager app because of the jmxproxy feature.

Of course, you could also write your own JMX proxy service and connect
to /that/. I wonder how easy it would be to hack the jmxproxy out of the
manager webapp and either insert it into another (your) webapp or just
deploy it on its own.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0nK9IACgkQ9CaO5/Lv0PBmuACfQ5qsnqNzbEMDs0tO0xHVNz0j
disAoIitcFty3w+vo1LtwMJgkTFKcZvX
=dZcU
-----END PGP SIGNATURE-----

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


Mime
View raw message