java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

Server Fault | vector | 5 years ago
  1. 0

    amazon ec2 - ec2 and tomcat7: can't connect on port 80 - Server Fault

    serverfault.com | 5 months ago
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  2. 0

    ec2 and tomcat7: can't connect on port 80

    Server Fault | 5 years ago | vector
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  3. 0

    How can I cope with "IllegalStateException: BeanFactory not initialized or already closed"?

    Stack Overflow | 5 years ago | user569825
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I cope with “IllegalStateException: BeanFactory not initialized or already closed”?

    answerclubs.com | 1 year ago
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext
  6. 0

    How to configure Expires Filter in Tomcat 7

    Stack Overflow | 2 years ago | Manisha
    java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

    2 unregistered visitors
    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. java.lang.IllegalStateException

      BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

      at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory()
    2. Spring Context
      AbstractApplicationContext.containsBean
      1. org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:172)
      2. org.springframework.context.support.AbstractApplicationContext.containsBean(AbstractApplicationContext.java:1109)
      2 frames
    3. Grails
      GrailsContextLoader$1.run
      1. org.codehaus.groovy.grails.web.context.GrailsContextLoader$1.run(GrailsContextLoader.java:88)
      1 frame
    4. org.codehaus.groovy
      ShutdownOperations.runOperations
      1. org.codehaus.groovy.grails.lifecycle.ShutdownOperations.runOperations(ShutdownOperations.java:62)
      1 frame
    5. Grails
      GrailsContextLoader.closeWebApplicationContext
      1. org.codehaus.groovy.grails.web.context.GrailsContextLoader.closeWebApplicationContext(GrailsContextLoader.java:136)
      1 frame
    6. Spring
      ContextLoaderListener.contextDestroyed
      1. org.springframework.web.context.ContextLoaderListener.contextDestroyed(ContextLoaderListener.java:142)
      1 frame
    7. Glassfish Core
      StandardContext$4.run
      1. org.apache.catalina.core.StandardContext.listenerStop(StandardContext.java:4763)
      2. org.apache.catalina.core.StandardContext$4.run(StandardContext.java:5473)
      2 frames
    8. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:636)
      1 frame