Friday, May 4, 2012

Hyperic MBeanDumper

According to the Hyperic doc, one should run this:

java -Duser=weblogic -Dpass=weblogic1 -Dplugins.include=jmx -jar pdk/lib/hq-product.jar jmx MBeanDumper service:jmx:rmi:///jndi/rmi://myserver:1099/jmxrmi

this fails with

Failed to load Main-Class manifest attribute from
pdk/lib/hq-product.jar


I google and find that one is supposed to use a hq-pdk-shared-VERSION.jar .....to be found nowhere, even looking for hq-pdk-shared

At last I try this:

cd C:\pierre\hypericagent\agent-4.6.5-EE\bundles\agent-4.6.5

java -Duser=weblogic -Dpass=weblogic1 -Dplugins.include=jmx -cp C:\pierre\hypericagent\agent-4.6.5-EE\bundles\agent-4.6.5\pdk\lib\hq-pdk-4.6.5
.jar org.hyperic.hq.product.jmx.MBeanDumper service:jmx:rmi:///jndi/rmi://myserver:8888/jmxrmi


and it works... with some exceptions.... anyway it doesn't provide insight in the WebLogic MBean tree.... maybe the connection parameters should be different, and the jar file wlfullclient.jar should be added to the classpath

On the whole, I would think Hyperic is in urgent need of a good documentation technical writer.

No comments: