Hi,
I installed collectd-5.1.0 from sources.

The sample file for java plugins section is as follows
=========
<Plugin "java">
        #JVMArg "-verbose:jni"
JVMArg "-verbose:jni -Djava.class.path=/opt/collectd/share/collectd/java/collectd-api.jar:/opt/collectd/share/collectd/java/generic-jmx.jar"
=========

which result in error...

=========
[2012-09-27 14:06:44] cjni_init_native: Cannot find the API class "org.collectd.api.Collectd". Please set the correct class path using 'JVMArg "-Djava.class.path=..."'.
==========

After few trials I figured that everything is fine if you remove "-verbose:jni" from JVMArg.

Is this a known issue?

--
Thanks and Regards,
Manish

_______________________________________________
collectd mailing list
[email protected]
http://mailman.verplant.org/listinfo/collectd

Reply via email to