Using JConsole to monitor Tomcat...works fine. But I can't seen any of my beans (maybe I don't know where to look). I'd like, at first anyway, to see all my Spring beans, which I thought was the default. Here's my relevant applicationContext.xml (I'm using Tomcat's MBeanServer):
Mbean info in my logs (if I use Java 5 instead of 6, I get MXBean ClassDefNotFound, don't know if it's just attempting to detect Java 6 features), I never see info about exporting of any mbeans:Code:<bean id="exporter" class="org.springframework.jmx.export.MBeanExporter" lazy-init="false"> <property name="autodetect" value="true"/> <property name="autodetectModeName" value="AUTODETECT_ALL"/> </bean>
Any ideas?Code:2008-12-18 10:25:08,301 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Getting BeanInfo for class [org.springframework.jmx.export.MBeanExporter] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Caching PropertyDescriptors for class [org.springframework.jmx.export.MBeanExporter] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'assembler' of type [org.springframework.jmx.export.assembler.MBeanInfoAssembler] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'autodetect' of type [boolean] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'autodetectMode' of type [int] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'autodetectModeName' of type [java.lang.String] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'beanClassLoader' of type [java.lang.ClassLoader] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'beanFactory' of type [org.springframework.beans.factory.BeanFactory] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'beans' of type [java.util.Map] 2008-12-18 10:25:08,303 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'class' of type [java.lang.Class] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'ensureUniqueRuntimeObjectNames' of type [boolean] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'excludedBeans' of type [[Ljava.lang.String;] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'exposeManagedResourceClassLoader' of type [boolean] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'listeners' of type [[Lorg.springframework.jmx.export.MBeanExporterListener;] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'namingStrategy' of type [org.springframework.jmx.export.naming.ObjectNamingStrategy] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'notificationListenerMappings' of type [java.util.Map] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'notificationListeners' of type [[Lorg.springframework.jmx.export.NotificationListenerBean;] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'registrationBehavior' of type [int] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'registrationBehaviorName' of type [java.lang.String] 2008-12-18 10:25:08,304 [main] DEBUG org.springframework.beans.CachedIntrospectionResults - Found bean property 'server' of type [javax.management.MBeanServer] .... 2008-12-18 10:25:08,305 [main] INFO org.springframework.jmx.export.MBeanExporter - Registering beans for JMX exposure on startup 2008-12-18 10:25:08,305 [main] DEBUG org.springframework.jmx.export.MBeanExporter - Autodetecting user-defined JMX MBeans ....


Reply With Quote