Hello,
This post is in regard to difficulty configuring GF's DataBrowser on Mac OSX 10.8.2. The grid is comprised of two cache servers that have been started using gfsh. The problem described occurs identically whether connecting through a locator or directly through JMX.
When trying to connect to GemFire from the DataBrowser a "RegionMBean Not Found In Distributed System" exception is thrown (full stack trace is below). The exception is thrown immediately which I take to mean it is getting connected (not timing out) and finding that this gemfire.jar provided class is missing.
Since the databrowser script provides the gemfire.jar for the DataBrowser and gfsh provides it to the members started through its facilities, I am at a bit of a loss as to why it is not found?
Any help is greatly appreciated.
-Alan
Stack trace:
[ SEVERE 2013/03/02 13:03:28.407 MST main ] An error occurred when attempting to connect to the GemFire Distributed System com.gemstone.gemfire.mgmt.DataBrowser.connection.ConnectionFailureException: java.lang.Exception: RegionMBean Not Found In Distributed System, isRetryAllowed : false
at com.gemstone.gemfire.mgmt.DataBrowser.connection.internal.JMXDiscoveryImpl.establishConnectionUsingJMXManager(JMXDiscoveryImpl.java:601)
at com.gemstone.gemfire.mgmt.DataBrowser.connection.internal.JMXDiscoveryImpl.<init>(JMXDiscoveryImpl.java:112)
at com.gemstone.gemfire.mgmt.DataBrowser.connection.ConnectionFactory.createGemFireConnection(ConnectionFactory.java:33)
at com.gemstone.gemfire.mgmt.DataBrowser.connection.internal.JMXCallExecutor$1.run(JMXCallExecutor.java:69)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
Caused by: java.lang.Exception: RegionMBean Not Found In Distributed System
at com.gemstone.gemfire.management.internal.beans.DistributedSystemBridge.fetchRegionObjectName(DistributedSystemBridge.java:1022)
at com.gemstone.gemfire.management.internal.beans.DistributedSystemMBean.fetchRegionObjectName(DistributedSystemMBean.java:276)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:192)
at com.sun.jmx.mbeanserver.ConvertingMethod.invokeWithOpenReturn(ConvertingMethod.java:174)
at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:117)
at com.sun.jmx.mbeanserver.MXBeanIntrospector.invokeM2(MXBeanIntrospector.java:54)
at com.sun.jmx.mbeanserver.MBeanIntrospector.invokeM(MBeanIntrospector.java:235)
at com.sun.jmx.mbeanserver.PerInterface.invoke(PerInterface.java:138)
at com.sun.jmx.mbeanserver.MBeanSupport.invoke(MBeanSupport.java:250)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:791)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1486)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:96)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1327)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1419)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:847)
at sun.reflect.GeneratedMethodAccessor121.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:322)
at sun.rmi.transport.Transport$1.run(Transport.java:177)
at sun.rmi.transport.Transport$1.run(Transport.java:174)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:173)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:553)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:808)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:667)