VMware Cloud Community
sastie
Contributor
Contributor

How to monitor app running JMX and JAVA 1.4.2

Hi,

I have an application (cruisecontrol) that I would like to monitor / control.
It runs jmx (mx4J) but the JMX plugin seems to run only with JVM 1.5.
Is there a way to monitor that app without having to create a plugin myself ?

Thanks a lot.
0 Kudos
2 Replies
dougm_hyperic
VMware Employee
VMware Employee

The pdk support classes work with a 1.4 JVM and mx4j, there just
isn't a generic server type for the 1.4 JVM. I put together a quick
example of how you can do this:
http://svn.hyperic.org/trunk/plugins/examples/cruisecontrol-
plugin.xml?root=Hyperic+HQ&view=log

And start the app like so:
./cruisecontrol.sh -rmiport 1099 -Dcc.home=$PWD

-rmiport is required for the remote connector.
-Dcc.home is not required, but used by the plugin for auto-discovery
of the server.

Let us know if this helps!

On Jan 8, 2007, at 11:24 AM, sastie wrote:

> Hi,
>
> I have an application (cruisecontrol) that I would like to
> monitor / control.
> It runs jmx (mx4J) but the JMX plugin seems to run only with JVM 1.5.
> Is there a way to monitor that app without having to create a
> plugin myself ?
>
> Thanks a lot.
>



0 Kudos
sastie
Contributor
Contributor

Thanks a lot Doug
0 Kudos