Kon,
Since you've posted a new thread (MBeanServer Connection Issues), can
I assume that this has been resolved? What was the resolution?
-- Jon
On Jun 26, 2007, at 11:31 PM, kon wrote:
> I am currently trying to understand the steps necessary to:
> a) deploy a JMX application
> b) have Hyperic automatically (or manually) pick up the
> instrumented metrics
> c) set up the Dashboard to view these metrics.
>
> I have created a simple JMX test application with a single pair of
> get/set methods. The jar file for the app together with the xml
> file are both under the hyperic/hq-plugin directory.
>
> When I attempt to invoke the plugin with the following command:
>
> java -jar agent-3.0.5/pdk/lib/hq-product.jar -p Simple
>
> I get the following exception:
>
> Exception in thread "main"
> org.hyperic.hq.product.PluginException: Error on line 11 of
> document : Illegal character at end of document, <.
>
> I interpreted the character encoding (<) as meaning there
> were mismatched elements in the xml file but that does not seem to
> be the case. Does any one have any idea which document this
> exception is referring to, and what < is?
>
> A simple, easy-to-understand, complete, step-by-step guide for
> creating and deploying a JMX enabled java app would be extremely
> useful; none of the documentation I have encountered on the Hyperic
> site - "JMX Plugin" guide, "Invoking Plugins Standalone" guide and
> the PDK page describe the jmx development process simply and clearly.
>
> Any pointers would be most grateful
>
> Thank you
>