Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
Description
With the following exceptions:
[INFO] [talledLocalContainer] 2012-02-15 11:31:38,488 ERROR [HstSiteConfigurationChangesChecker] [org.hippoecm.hst.site.container.HstSiteConfigServlet.initializeComponentManager():346] HstSiteConfigServlet: ComponentManager initialization failed.
[INFO] [talledLocalContainer] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hstSessionPoolsMBeanExporter' defined in class path resource [org/hippoecm/hst/site/container/SpringComponentManager-jmx.xml]: Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository@70cf37] with key 'org.onehippo.hst:type=SessionPool,name=default'; nested exception is javax.management.InstanceAlreadyExistsException: org.onehippo.hst:type=SessionPool,name=default
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895)
[INFO] [talledLocalContainer] at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425)
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.SpringComponentManager.initialize(SpringComponentManager.java:92)
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.HstSiteConfigServlet.initializeComponentManager(HstSiteConfigServlet.java:326)
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.HstSiteConfigServlet$1.reloadingPerformed(HstSiteConfigServlet.java:249)
[INFO] [talledLocalContainer] at org.apache.commons.configuration.AbstractFileConfiguration.reload(AbstractFileConfiguration.java:834)
[INFO] [talledLocalContainer] at org.apache.commons.configuration.AbstractFileConfiguration.reload(AbstractFileConfiguration.java:812)
[INFO] [talledLocalContainer] at org.apache.commons.configuration.AbstractFileConfiguration.getProperty(AbstractFileConfiguration.java:954)
[INFO] [talledLocalContainer] at org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1178)
[INFO] [talledLocalContainer] at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1044)
[INFO] [talledLocalContainer] at org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1027)
[INFO] [talledLocalContainer] at org.hippoecm.hst.site.container.HstSiteConfigServlet$HstSiteConfigurationChangesChecker.run(HstSiteConfigServlet.java:669)
[INFO] [talledLocalContainer] Caused by: org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository@70cf37] with key 'org.onehippo.hst:type=SessionPool,name=default'; nested exception is javax.management.InstanceAlreadyExistsException: org.onehippo.hst:type=SessionPool,name=default
[INFO] [talledLocalContainer] at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:602)
[INFO] [talledLocalContainer] at org.springframework.jmx.export.MBeanExporter.registerBeans(MBeanExporter.java:527)
[INFO] [talledLocalContainer] at org.springframework.jmx.export.MBeanExporter.afterPropertiesSet(MBeanExporter.java:413)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477)
[INFO] [talledLocalContainer] at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417)
[INFO] [talledLocalContainer] ... 19 more
[INFO] [talledLocalContainer] Caused by: javax.management.InstanceAlreadyExistsException: org.onehippo.hst:type=SessionPool,name=default
[INFO] [talledLocalContainer] at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:453)
[INFO] [talledLocalContainer] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1484)
[INFO] [talledLocalContainer] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:963)
[INFO] [talledLocalContainer] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:917)
[INFO] [talledLocalContainer] at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:312)
[INFO] [talledLocalContainer] at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:482)
[INFO] [talledLocalContainer] at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:169)
[INFO] [talledLocalContainer] at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:655)
[INFO] [talledLocalContainer] at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:598)
[INFO] [talledLocalContainer] ... 23 more
[INFO] [talledLocalContainer] 2012-02-15 11:31:38,497 WARN [HstSiteConfigurationChangesChecker] [org.hippoecm.hst.site.container.HstSiteConfigServlet.initializeComponentManager():356] Exception occurred during stopping componentManager. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hstSessionPoolsMBeanExporter' defined in class path resource [org/hippoecm/hst/site/container/SpringComponentManager-jmx.xml]: Invocation of init method failed; nested exception is org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [org.hippoecm.hst.core.jcr.pool.BasicPoolingRepository@70cf37] with key 'org.onehippo.hst:type=SessionPool,name=default'; nested exception is javax.management.InstanceAlreadyExistsException: org.onehippo.hst:type=SessionPool,name=default
[INFO] [talledLocalContainer] 2012-02-15 11:31:38,498 WARN [HstSiteConfigurationChangesChecker] [org.hippoecm.hst.site.container.HstSiteConfigServlet$1.reloadingPerformed():250] HstSiteConfigServlet has completed reinitializing component manager on configuration change.
Attachments
Issue Links
- relates to
-
HSTTWO-1611 Monitor hst properties for changes
- Closed
-
HSTTWO-1916 Jconsole does not show the HST Mbeans when configuring the hst-config.properties to enable jmx
- Closed