java - Infinispan Server : How to enable JMX monitoring? -
i have infinispan server, version 6.0.x, 1 derived jboss 7.2, , working fine caching.
however, when try monitor jmx can't. url type in jconsole.bat
:
service:jmx:remoting-jmx://my.ip.address.here:9999
but error :
exception in thread "vmpanel.connect" java.util.serviceconfigurationerror: javax.management.remote.jmxconnectorprovider: provider org.jboss.remotingjmx.remotingconnectorprovider not instantiated: java.lang.noclassdeffounderror: org/jboss/logging/logger @ java.util.serviceloader.fail(serviceloader.java:224) @ java.util.serviceloader.access$100(serviceloader.java:181) @ java.util.serviceloader$lazyiterator.next(serviceloader.java:377) @ java.util.serviceloader$1.next(serviceloader.java:445) @ javax.management.remote.jmxconnectorfactory.getconnectorasservice(jmxconnectorfactory.java:472) @ javax.management.remote.jmxconnectorfactory.newjmxconnector(jmxconnectorfactory.java:341) @ javax.management.remote.jmxconnectorfactory.connect(jmxconnectorfactory.java:267) @ sun.tools.jconsole.proxyclient.tryconnect(proxyclient.java:370) @ sun.tools.jconsole.proxyclient.connect(proxyclient.java:313) @ sun.tools.jconsole.vmpanel$2.run(vmpanel.java:292) caused by: java.lang.noclassdeffounderror: org/jboss/logging/logger @ org.jboss.remotingjmx.remotingconnectorprovider.<clinit>(remotingconnectorprovider.java:42) @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:57) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:526) @ java.lang.class.newinstance(class.java:374) @ java.util.serviceloader$lazyiterator.next(serviceloader.java:373) ... 7 more caused by: java.lang.classnotfoundexception: org.jboss.logging.logger @ java.net.urlclassloader$1.run(urlclassloader.java:366) @ java.net.urlclassloader$1.run(urlclassloader.java:355) @ java.security.accesscontroller.doprivileged(native method) @ java.net.urlclassloader.findclass(urlclassloader.java:354) @ java.lang.classloader.loadclass(classloader.java:425) @ sun.misc.launcher$appclassloader.loadclass(launcher.java:308) @ java.lang.classloader.loadclass(classloader.java:358) ... 14 more exception in thread "vmpanel.connect" java.util.serviceconfigurationerror: javax.management.remote.jmxconnectorprovider: provider org.jboss.remotingjmx.remotingconnectorprovider not instantiated: java.lang.noclassdeffounderror: not initialize class org.jboss.remotingjmx.remotingconnectorprovider @ java.util.serviceloader.fail(serviceloader.java:224) @ java.util.serviceloader.access$100(serviceloader.java:181) @ java.util.serviceloader$lazyiterator.next(serviceloader.java:377) @ java.util.serviceloader$1.next(serviceloader.java:445) @ javax.management.remote.jmxconnectorfactory.getconnectorasservice(jmxconnectorfactory.java:472) @ javax.management.remote.jmxconnectorfactory.newjmxconnector(jmxconnectorfactory.java:341) @ javax.management.remote.jmxconnectorfactory.connect(jmxconnectorfactory.java:267) @ sun.tools.jconsole.proxyclient.tryconnect(proxyclient.java:357) @ sun.tools.jconsole.proxyclient.connect(proxyclient.java:313) @ sun.tools.jconsole.vmpanel$2.run(vmpanel.java:292) caused by: java.lang.noclassdeffounderror: not initialize class org.jboss.remotingjmx.remotingconnectorprovider @ sun.reflect.nativeconstructoraccessorimpl.newinstance0(native method) @ sun.reflect.nativeconstructoraccessorimpl.newinstance(nativeconstructoraccessorimpl.java:57) @ sun.reflect.delegatingconstructoraccessorimpl.newinstance(delegatingconstructoraccessorimpl.java:45) @ java.lang.reflect.constructor.newinstance(constructor.java:526) @ java.lang.class.newinstance(class.java:374) @ java.util.serviceloader$lazyiterator.next(serviceloader.java:373) ... 7 more
maybe should create managed beans somewhere? how can fix this?
remark 1 : in documentation include necearry configuration between <global></global>
, in case settings should respect jboss schema...
remark 2 : tried jboss 7.2, , show me graphs , on, , way used same url. difference used jconsole.bat
of jboss instead of infinispan.
please, idea necessary configuration?
thank you.
i'm windows 7 user, , fix worked me. open jconsole.bat editting. @ top, turn on echoing.
@echo on
then go down , find line
call :searchforjars "%jboss_modulepath%\system\layers\base\org\jboss\logging\main"
insert following line before it:
echo "%jboss_modulepath%\system\layers\base\org\jboss\logging\main"
i'm not sure why worked, did. if different classnotfound exceptions, try echo statements above other jar searches.
Comments
Post a Comment