org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'context.loader': 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!)

Google Groups | yo yo | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I can't start openmeetings_1_9_0_r4692 under redhat5,something wrong with [Launcher:/openmeetings]

    Google Groups | 5 years ago | yo yo
    org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'context.loader': 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!)
  2. 0

    GitHub comment 320#81155567

    GitHub | 2 years ago | GoogleCodeExporter
    org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'context.loader': 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!)
  3. 0

    Camel - Users - LocalContainerEntityManagerFactoryBean not able to create org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'entityManagerFactory': 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!)

    nabble.com | 2 years ago
    org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'entityManagerFactory': 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!)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    BeanCreationNotAllowedException: Error creating bean with name 'defaultMethodEndpointAdapter' - JavaHow.net

    javahow.net | 2 years ago
    org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'defaultMethodEndpointAdapter': 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!)
  6. 0

    org.springframework.beans.factory.BeanCreationNotAllowedException: 急_读书人

    reader8.cn | 2 years ago
    org.springframework.beans.factory.BeanCreationNotAllowedException: Error creating bean with name 'org.apache.cxf.buslifecycle .BusLifeCycleManager': Singleton bean creation not allowed while the singletons of this factory are in destruction (Do not re quest a bean from a BeanFactory in a destroy method implementation!)
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.springframework.beans.factory.BeanCreationNotAllowedException

    Error creating bean with name 'context.loader': 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()
  2. Spring Beans
    DefaultListableBeanFactory.getBeansOfType
    1. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:209)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:290)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:192)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:283)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    6. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:400)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    7. org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:390)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    7 frames
  3. Spring Context
    AbstractApplicationContext.getBeansOfType
    1. org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:1140)[org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    1 frame
  4. Spring Beans
    BeanFactoryUtils.beanOfTypeIncludingAncestors
    1. org.springframework.beans.factory.BeanFactoryUtils.beansOfTypeIncludingAncestors(BeanFactoryUtils.java:226)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.beans.factory.BeanFactoryUtils.beanOfTypeIncludingAncestors(BeanFactoryUtils.java:318)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2 frames
  5. Red5
    ContextLoader.uninit
    1. org.red5.server.ContextLoader.uninit(ContextLoader.java:224)[red5.jar:na]
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_29]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_29]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_29]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_29]
    4 frames
  7. Spring Beans
    DefaultSingletonBeanRegistry.destroySingletons
    1. org.springframework.beans.factory.support.DisposableBeanAdapter.invokeCustomDestroyMethod(DisposableBeanAdapter.java:273)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.beans.factory.support.DisposableBeanAdapter.destroy(DisposableBeanAdapter.java:199)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    3. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroyBean(DefaultSingletonBeanRegistry.java:487)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    4. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingleton(DefaultSingletonBeanRegistry.java:463)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.destroySingletons(DefaultSingletonBeanRegistry.java:431)[org.springframework.beans-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    5 frames
  8. Spring Context
    AbstractApplicationContext.refresh
    1. org.springframework.context.support.AbstractApplicationContext.destroyBeans(AbstractApplicationContext.java:1048)[org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:433)[org.springframework.context-3.0.6.RELEASE.jar:3.0.6.RELEASE]
    2 frames
  9. Red5
    Launcher.launch
    1. org.red5.server.Launcher.launch(Launcher.java:64)[red5.jar:na]
    1 frame
  10. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_29]
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_29]
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_29]
    4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_29]
    4 frames
  11. Red5
    Bootstrap.main
    1. org.red5.server.Bootstrap.bootStrap(Bootstrap.java:118)[boot.jar:na]
    2. org.red5.server.Bootstrap.main(Bootstrap.java:49)[boot.jar:na]
    2 frames