-
1. Re: Invoking MBeans
adrian.brock Apr 30, 2003 12:04 PM (in response to peter_l)You need to use one of the jmx connectors/adaptors.
e.g. The RMIAdaptor
Search the JMX forum for details.
Or examine the jboss testsuite which uses the
RMIAdaptor to deploy tests remotely on the
MainDeployer MBean.
There are also some open source ant tasks
that can invoke MBeans remotely, I can't remember
the links.
You will find JBoss's version in
{jboss.home}/client/jbossjmx-ant.jar
but it isn't well documentated.
Regards,
Adrian -
2. Re: Invoking MBeans
peter_l Apr 30, 2003 1:38 PM (in response to peter_l)Hi Adrian,
Thanks for the feedback. I actually can view and call the MBeans from my browser via the jmx-connector, or the Management Console JMX Agent as they call it.
But let's say I have an java client that uses the jndi to lookup and call the EJB, can I use it to lookup the MBeans and call them? and if yes, what would be the home object namespace that I should use, provided I include my local machine in the url.
Regards,
Peter