On 12/09/2010 21:38, Wesley Acheson wrote: > Hi I was wondering if Its possible to proxy a JMX service. I got to > thinking a lot of people don't hot deploy for whatever reasons. They > literally shut down tomcat and put in the new content and start it up > again. > > If it was possible to proxy JMX though I think it should be possible > to have a small daemon application that proxy's tomcats JMX, and > injects two commands, startup and restart. The idea being so this > minimal java application could launch or relaunch tomcat. (I think it > would need to call the startup.sh or startup.bat file)
Wouldn't you just launch an embedded Tomcat instance? You made me think of this, new in Java 6: http://download.oracle.com/javase/6/docs/api/javax/management/JMX.html p > What does everyone think? Would that be useful / possible? Its beyond > my capabilities to write. > > I got to thinking about this after reading a misunderstanding in > bugzilla. https://issues.apache.org/bugzilla/show_bug.cgi?id=49234#c70 > and https://issues.apache.org/bugzilla/show_bug.cgi?id=49234#c71 with > chamith buddhika's changes it really would be possible to do every > step in this list. Including startup. > > Just an Idea really. I'm not going to attempt it. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org >
0x62590808.asc
Description: application/pgp-keys
signature.asc
Description: OpenPGP digital signature