summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 104eeb9)
raw | patch | inline | side by side (parent: 104eeb9)
author | Alexandre Moutot <a.moutot@alphalink.fr> | |
Wed, 9 Oct 2013 13:47:48 +0000 (15:47 +0200) | ||
committer | Alexandre Moutot <a.moutot@alphalink.fr> | |
Wed, 9 Oct 2013 13:47:48 +0000 (15:47 +0200) |
getConnectorAsService from JMXConnectorFactory. The protocol remoting-jmx
using by JBOSS > 7 need that to work.
using by JBOSS > 7 need that to work.
bindings/java/org/collectd/java/GenericJMXConfConnection.java | patch | blob | history |
diff --git a/bindings/java/org/collectd/java/GenericJMXConfConnection.java b/bindings/java/org/collectd/java/GenericJMXConfConnection.java
index 7fad08f922e299525ef8d53be4ad252a95144e31..99b140a210cbb74acba7862e115ddbb485207a66 100644 (file)
environment = new HashMap ();
environment.put (JMXConnector.CREDENTIALS, credentials);
+ environment.put(JMXConnectorFactory.PROTOCOL_PROVIDER_CLASS_LOADER, this.getClass().getClassLoader());
}
try