jboss monitoring agent bug
Hi
We have an issue with the jboss agent: when the list of deployed mbeans changes AFTER the agent has been deployed, the agent doesn't refreshes the list of mbeans.
This problems fills the logs of our servers with gigabytes of stack traces that we can't disable because the agent uses STDOUT to log.
This is a really bad issue as it defeats the whole purpose of using AppManager.
Cheers,
Fran�ois
Extract of the log:
2005-12-02 09:21:15,304 INFO [STDOUT] javax.management.InstanceNotFoundException: jboss.management.local:EJBModule=mock_M037.jar,J2EEApplication=M037.ear,J2EEServer=Local,j2eeType=MessageDrivenBean,na
me=local/MockITLSMessageBean_NSCLX@29525271 is not registered.
2005-12-02 09:21:15,305 INFO [STDOUT] at org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:509)
2005-12-02 09:21:15,305 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.getAttribute(MBeanServerImpl.java:535)
2005-12-02 09:21:15,305 INFO [STDOUT] at com.adventnet.appmanager.server.jb.mbeans.JBossDataCollector.getAttribute(JBossDataCollector.java:1049)
2005-12-02 09:21:15,305 INFO [STDOUT] at com.adventnet.appmanager.server.jb.mbeans.JBossDataCollector.getEJBDetails(JBossDataCollector.java:745)
2005-12-02 09:21:15,305 INFO [STDOUT] at com.adventnet.appmanager.server.jb.mbeans.JBossDataCollector.getEJBMethodDetails(JBossDataCollector.java:377)
2005-12-02 09:21:15,305 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor175.invoke(Unknown Source)
2005-12-02 09:21:15,305 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-12-02 09:21:15,305 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
2005-12-02 09:21:15,305 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
2005-12-02 09:21:15,305 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
2005-12-02 09:21:15,305 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-12-02 09:21:15,306 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.jmx.connector.invoker.InvokerAdaptorService.invoke(InvokerAdaptorService.java:251)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-12-02 09:21:15,306 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPProxyFactory.invoke(JRMPProxyFactory.java:164)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source)
2005-12-02 09:21:15,306 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-12-02 09:21:15,306 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
2005-12-02 09:21:15,306 INFO [STDOUT] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
2005-12-02 09:21:15,307 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker$MBeanServerAction.invoke(JRMPInvoker.java:805)
2005-12-02 09:21:15,307 INFO [STDOUT] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:406)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
2005-12-02 09:21:15,307 INFO [STDOUT] at java.lang.reflect.Method.invoke(Method.java:324)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.rmi.transport.Transport$1.run(Transport.java:148)
2005-12-02 09:21:15,307 INFO [STDOUT] at java.security.AccessController.doPrivileged(Native Method)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.rmi.transport.Transport.serviceCall(Transport.java:144)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460)
2005-12-02 09:21:15,307 INFO [STDOUT] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701)
2005-12-02 09:21:15,307 INFO [STDOUT] at java.lang.Thread.run(Thread.java:534)
New to ADSelfService Plus?