You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dan <li...@dankeeley.co.uk> on 2008/01/10 16:08:32 UTC

Can you call an MBean programatically from the command line?

Hi,

I use JProfiler amongst other tools and this has some useful MBeans which
i'd like to activate at a given point from a scheduled job.

All sounds very simple.  However I cannot find a command line tool, perhaps
similar to JConsole which allows me to execute a given MBean.

Surely such a tool is available? If not then how hard would it be to write
one?

Thanks!
Dan

________________________________________________
Message sent using UebiMiau 2.7.10



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


Re: Can you call an MBean programatically from the command line?

Posted by Peter Rossbach <pr...@objektpark.de>.
HI,

use groovy with JMX.

http://groovy.codehaus.org/Groovy+and+JMX
http://jagger.berlios.de/

Regards
Peter



Am 10.01.2008 um 16:08 schrieb Dan:

> Hi,
>
> I use JProfiler amongst other tools and this has some useful MBeans  
> which
> i'd like to activate at a given point from a scheduled job.
>
> All sounds very simple.  However I cannot find a command line tool,  
> perhaps
> similar to JConsole which allows me to execute a given MBean.
>
> Surely such a tool is available? If not then how hard would it be  
> to write
> one?
>
> Thanks!
> Dan
>
> ________________________________________________
> Message sent using UebiMiau 2.7.10
>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


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