<br><div><span class="gmail_quote">On 3/15/07, <b class="gmail_sendername">ramyareddy pogula</b> <<a href="mailto:ramyareddypogula@yahoo.co.in">ramyareddypogula@yahoo.co.in</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><font face="arial">Hi,</font></div> <div><font face="arial"> I have a problem in installing the nagios add on plug-in, check_jmx</font></div> <div><font face="arial">I get the following error.</font></div> <div>
<font face="arial"></font> </div> <div style="margin: 0in 0in 0pt;"><font face="Courier New"><font color="#0060bf">[root@sys79 libexec]# ./check_jmx Exception in thread "main" java.lang.NoClassDefFoundError: org.nagios.JMXQuery
<br><span> </span>at java.lang.Class.initializeClass (libgcj.so.7)<br><span> </span>at java.lang.Class.forName (libgcj.so.7)<br><span> </span>at gnu.java.lang.MainThread.run (libgcj.so.7)<br>Caused by: java.lang.ClassNotFoundException
: javax.management.remote.JMXServiceURL not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./jmxquery.jar],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}<br><span> </span>at java.net.URLClassLoader.findClass (libgcj.so.7)<br><span> </span>at java.lang.ClassLoader.loadClass (libgcj.so.7)<br><span> </span>
at java.lang.ClassLoader.loadClass (libgcj.so.7)<br><span> </span>at java.lang.Class.initializeClass (libgcj.so.7)<br><span> </span>...2 more</font></font></div> <div><font face="Courier New"><font color="#0060bf"></font>
</font> </div> <div><font face="Courier New"><font color="#0060bf"> <font color="#000000">can any one please help me out?</font></font></font></div> <div> </div> <div><font face="Courier New"><font color="#0060bf"><font color="#000000">
Thanks</font></font></font></div></blockquote><div><br>Yep, it can't find the class org.nagios.JMXQuery. Make sure that it is on your classpath.<br>
<br>
Rob </div><br></div><br>