In addition to my questinos below, is mbeans-descriptors.xml a
Tomcat-specific file or part of JMX in general? I can't tell - it seems to
appear in links like the following:
http://commons.apache.org/modeler/apidocs/org/apache/commons/modeler/package-summary.html
But its DTD is under commons.apa
The following link describes using JMX with Tomcat. Step #4 talks about the
mbeans-descriptors.xml file, but it seems to make no difference when using
it. If I don't include elements in that file that I do in MBean interface,
it still works in JConsole properly - and the descriptions entered don't
On 8/23/07, lightbulb432 <[EMAIL PROTECTED]> wrote:
>
>
> What is the preferred API for accessing MBeans from within servlets or
> JSPs?
>
> MBeanServerConnection jmxServerConnection = JMXConnectorFactory.connect
> (new
> JMXServiceURL(urlForJMX),null).getMBeanServerConnection();
> jmxServerConnect
What is the preferred API for accessing MBeans from within servlets or JSPs?
MBeanServerConnection jmxServerConnection = JMXConnectorFactory.connect(new
JMXServiceURL(urlForJMX),null).getMBeanServerConnection();
jmxServerConnection.getAttribute(new
ObjectName("Application:Name=Server,Type=Server"
"Johnny Kewl" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi Again LightBulb,
>
> In this good article
> http://www.javaworld.com/javaworld/jw-08-2005/jw-0801-jmx.html
> You will find an example JMX client, in SRC for talking directly to
> Tomcats JMXProxy
>
> One thing I dont se
Hi Again LightBulb,
In this good article
http://www.javaworld.com/javaworld/jw-08-2005/jw-0801-jmx.html
You will find an example JMX client, in SRC for talking directly to Tomcats
JMXProxy
One thing I dont see in the JMX interface, maybe it is there, is a way to
start stop webapp through JMX.
Hi LightBulb,
If you asking this, because of Robert Bowen question "Programmatically
stop/start context" from WebApp, I also wait with anticipation for the JMX
solution.
I have a feeling that making a light weight JMX client that lives in a
servlet, may not be that easy, we'll see what he come