1. We have three Java Standard Environment applications running in three different PC’s and have some common MBeans registered in all MBeanServers. We have observed following error in two different scenarios.
Scenario 1:
An MBean is registered to an MBeanServer in two of the Standard Environment applications (App1, APP3). MBean is not registered in App2. On Click of Cluster View link following message is displayed:
Unknown error, please contact technical support.
Scenario 2:
An MBean is registered to an MBeanServer in two of the Standard Environment applications (App1, APP3). MBean is not registered in App2. In save / execution of any MBean operation on Cluster View following message is displayed:
Unknown error, please contact technical support.
java.lang.RuntimeException: javax.management.InstanceNotFoundException: com.intralinks:Name=Server,Type=com.jmx.hello.Hello
at org.jmanage.core.modules.JMXServerConnection.callMBeanServer(JMXServerConnection.java:292)
at org.jmanage.core.modules.JMXServerConnection.setAttributes(JMXServerConnection.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jmanage.core.management.ServerConnectionProxy.invoke(ServerConnectionProxy.java:65)
at $Proxy0.setAttributes(Unknown Source)
at org.jmanage.core.services.MBeanServiceImpl.updateAttributes(MBeanServiceImpl.java:708)
at org.jmanage.core.services.MBeanServiceImpl.setAttributes(MBeanServiceImpl.java:657)
at org.jmanage.webui.actions.app.UpdateMBeanAttributesAction.execute(UpdateMBeanAttributesAction.java:63)
at org.jmanage.webui.actions.BaseAction.execute(BaseAction.java:41)
at org.jmanage.webui.JManageRequestProcessor.processActionPerform(JManageRequestProcessor.java:93)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1420)
at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:520)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:525)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
at org.mortbay.http.HttpServer.service(HttpServer.java:879)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: javax.management.InstanceNotFoundException: com.intralinks:Name=Server,Type=com.jmx.hello.Hello
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(Unknown Source)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(Unknown Source)
at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.getClassLoaderFor(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl.setAttributes(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source)
at sun.rmi.transport.Transport$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at com.sun.jmx.remote.internal.PRef.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnectionImpl_Stub.setAttributes(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.setAttributes(RMIConnector.java:939)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jmanage.core.modules.JMXServerConnection.callMBeanServer(JMXServerConnection.java:286)
... 30 more
Queries in Word format