|
From: Nathaniel B. <nb...@ep...> - 2007-03-14 03:56:27
|
Hi-
I am trying to implement the device_iostat.pl plugin and am unable to get it to return results. I'm pretty sure I have the plugin bits in the write places on the server:
agent:
/home/hyperic/hyperic-hq-agent-3.0.1/pdk/scripts/device_iostat.pl
Server:
/u05/hyperic/server-3.0.1/hq-engine/server/default/deploy/hq.ear/hq-plugins/io-device-plugin.xml
When I run the following test, I get an error message that references 'Exception in thread "main" java.lang.UnsupportedClassVersionError: org/hyperic/hq/product/util/PluginMain (Unsupported major.minor version 48.0)'. Here is the output from these java test:
$ java -jar hq-product.jar -Dplugins.include=io-device -Ddevice=cciss/c0d1p1 -Dlog=debug
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/hyperic/hq/product/util/PluginMain (Unsupported major.minor version 48.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:694)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
at java.net.URLClassLoader.access$400(URLClassLoader.java:92)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:238)
at java.lang.ClassLoader.loadClass(ClassLoader.java:513)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:440)
at java.lang.ClassLoader.loadClass(ClassLoader.java:445)
Have I missed a configuration step along the way, or do I need to update java?
Thanks...
Nathaniel
|