Hi,<br><br>after I built collectd-java plugin against openjdk-1.6.0.0-1.48.1.11.3.el6_2 on Centos everything works fine on loading the java plugin and on loading "org.collectd.java.GenericJMX". Listval shows me values of heapsizes, classes, etc as expected. But when stopping collectd the plugin seems to stop abnormally, because the runfile of the Unixplugin for example isn't deleted, which means other plugins aren't shutdown properly. That only happens when "org.collectd.java.GenericJMX" is being loaded. By running the plugin-test (collectd -T), the process just hangs with the following output:<br>
<br>Exiting normally.<br>org.collectd.java.GenericJMX.Shutdown ();<br><br>I also tried to compile against jdk1.6.0_37 sun-jdk: Same issue. All tries with collectd 5.1.0 and also with latest collectd version 5.2.0.<br><br>
My /etc/collectd.conf looks like this:<br><br>Interval 180<br>Timeout 120<br>FQDNLookup true<br><br>Include "/etc/collectd.d/*.conf"<br><br>I reduced the java Plugin on a minimum to even not store any values, where I still get the issue. As far as I remove 'LoadPlugin "org.collectd.java.GenericJMX"', collectd -T runs without any problems and the daemon stops all other plugins properly. java.conf:<br>
<br>LoadPlugin java<br><br><Plugin "java"><br>  JVMArg "-Djava.class.path=/opt/collectd/lib/collectd/bindings/java"<br>  JVMARG "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar:/usr/share/collectd/java/generic-jmx.jar"<br>
  JVMArg "-Xmx64m"<br>  LoadPlugin "org.collectd.java.GenericJMX"<br><br></Plugin><br><br>Did someone have similar issues with the GenericJMX plugin? Any ideas what I could test further or what could be the root cause?<br>
<br>Thanks and regards,<br>Dennis<br><br>