On 3/15/07, Rob Blake <[EMAIL PROTECTED]> wrote:


On 3/15/07, ramyareddy pogula <[EMAIL PROTECTED]> wrote:
>
> Hi,
>      I have a problem in installing the nagios add on plug-in, check_jmx
> I get the following error.
>
> [EMAIL PROTECTED] libexec]# ./check_jmx Exception in thread "main"
> java.lang.NoClassDefFoundError: org.nagios.JMXQuery
>    at java.lang.Class.initializeClass (libgcj.so.7)
>    at java.lang.Class.forName (libgcj.so.7)
>    at gnu.java.lang.MainThread.run (libgcj.so.7)
> 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}}
>    at java.net.URLClassLoader.findClass (libgcj.so.7)
>    at java.lang.ClassLoader.loadClass (libgcj.so.7)
>    at java.lang.ClassLoader.loadClass (libgcj.so.7)
>    at java.lang.Class.initializeClass (libgcj.so.7)
>    ...2 more
>
>   can any one please help me out?
>
>  Thanks
>

Yep, it can't find the class org.nagios.JMXQuery. Make sure that it is on
your classpath.

Rob



Apologies, that should be that it can't find the class
javax.management.remote.JMXServiceUrl in your classpath.

Rob
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Nagios-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to