Hi All,
I am getting following error when I try to register monitoring mbeans.
Please provide your inputs to resolve them.
[#|2009-08-25T20:31:54.746+0530|FINE|sun-glassfish-comms-server2.0|javax.enterprise.system.tools.admin|_ThreadID=11;_ThreadName=main;ClassName=com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl;MethodName=registerMBean;_RequestID=d66b03e1-5311-4c4a-86b9-c9c58da138c9;|SH.registerMBean:
Exception for object-name
com.sun.appserv:name=network-manager,type=sip-service,category=monitor,server=server,id=request-sent|#]
[#|2009-08-25T20:31:54.747+0530|FINER|sun-glassfish-comms-server2.0|javax.enterprise.system.tools.admin|_ThreadID=11;_ThreadName=main;ClassName=com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl;MethodName=registerMBean();_RequestID=d66b03e1-5311-4c4a-86b9-c9c58da138c9;|THROW
javax.management.NotCompliantMBeanException: Can't obtain MBeanInfo from
DynamicMBean: javax.management.RuntimeMBeanException: Runtime Exception
thrown by getMBeanInfo method of Dynamic MBean
at
com.sun.jmx.mbeanserver.BaseMetaDataImpl.getMBeanClassName(BaseMetaDataImpl.java:163)
at
com.sun.jmx.mbeanserver.MetaDataImpl.getMBeanClassName(MetaDataImpl.java:167)
at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:329)
at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
at
com.sun.enterprise.interceptor.DynamicInterceptor.registerMBean(DynamicInterceptor.java:263)
at
com.sun.enterprise.admin.monitor.registry.spi.StatsHolderImpl.registerMBean(StatsHolderImpl.java:235)
at
org.jvnet.glassfish.comms.admin.monitor.registry.spi.extensions.SipMonitoringManagerImpl.registerMBeans(SipMonitoringManagerImpl.java:310)
at
org.jvnet.glassfish.comms.admin.monitor.registry.spi.extensions.SipMonitoringManagerImpl.registerAllStats(SipMonitoringManagerImpl.java:141)
at
org.jvnet.glassfish.comms.admin.monitor.registry.spi.extensions.MonitoringManagerImpl.registerAllStats(MonitoringManagerImpl.java:30)
at
com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.initializeModuleMonitoring(MonitoringRegistrationHelper.java:1875)
at
com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.initialize(MonitoringRegistrationHelper.java:1000)
at
com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.<init>(MonitoringRegistrationHelper.java:97)
at
com.sun.enterprise.admin.monitor.registry.spi.MonitoringRegistrationHelper.<clinit>(MonitoringRegistrationHelper.java:90)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at
com.sun.enterprise.server.ServerContextImpl.getMonitoringRegistry(ServerContextImpl.java:399)
at
com.sun.enterprise.resource.PoolManagerImpl$5.run(PoolManagerImpl.java:769)
at java.security.AccessController.doPrivileged(Native Method)
at
com.sun.enterprise.resource.PoolManagerImpl.initializeMonitoring(PoolManagerImpl.java:765)
at
com.sun.enterprise.connectors.ConnectorServiceImpl.initializeConnectorMonitoring(ConnectorServiceImpl.java:449)
at
com.sun.enterprise.connectors.ConnectorRuntime.initializeConnectorMonitoring(ConnectorRuntime.java:996)
at com.sun.enterprise.server.J2EEServer.run(J2EEServer.java:259)
at com.sun.enterprise.server.J2EEServer.main(J2EEServer.java:415)
at
com.sun.enterprise.server.ApplicationServer.onInitialization(ApplicationServer.java:293)
at
com.sun.enterprise.server.ondemand.OnDemandServer.onInitialization(OnDemandServer.java:103)
at com.sun.enterprise.server.PEMain.run(PEMain.java:399)
at com.sun.enterprise.server.PEMain.main(PEMain.java:336)
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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:415)
|#]
Thanks,
Kshitiz