http://jira.hyperic.com/browse/HHQ-4263
Many instances of this warning appear in the server log after server was shut down. Have not seen this before and filing this as a major to track, given it's alert related which is a high priority functionality, but not sure of customer impact yet, so will re-prioritize as necessary after analysis
2010-08-31 15:15:12,049 WARN [Galert Event Listener1] [org.hyperic.hq.galerts.processor.GalertProcessor@136] Error processing events
org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.springframework.orm.hibernate3.HibernateTemplate#0': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not request a bean from a BeanFactory in a destroy method implementation!)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:287)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:386)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:376)
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1109)
at org.hyperic.hq.context.Bootstrap.getBean(Bootstrap.java:52)
at org.hyperic.hq.hibernate.SessionManager.getHibernateTemplate(SessionManager.java:48)
at org.hyperic.hq.hibernate.SessionManager.runInSessionInternal(SessionManager.java:82)
at org.hyperic.hq.hibernate.SessionManager.runInSession(SessionManager.java:67)
at org.hyperic.hq.galerts.processor.GalertProcessorImpl.processEvent(GalertProcessorImpl.java:127)
at org.hyperic.hq.galerts.processor.GalertProcessorImpl.processEvents(GalertProcessorImpl.java:103)
at org.hyperic.hq.galerts.processor.EventListener.processEvents(EventListener.java:46)
at org.hyperic.hq.zevents.TimingListenerWrapper.processEvents(TimingListenerWrapper.java:44)
at org.hyperic.hq.zevents.BufferedListener$BufferedEventRunnable.run(BufferedListener.java:64)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
Steps that led to this:
hq-server had been restarted after being unresponsive (empty JDBC pool) and the log had errors from db deadlocks
then hq-server was shut down
after shut down, server log showed these errors (attaching log before and after shut down)
Anonymous