0 Replies Latest reply on Aug 10, 2010 12:18 PM by fsalceda

    Exception when shutting down

    fsalceda

      Why when I shutdown "fuse-esb-4.2.0-fuse-00-02" I get the next exception:

       

      -


       

      Exception in thread "Timer-7" java.lang.IllegalStateException: BeanFactory not initialized or already closed - call 'refresh' before accessing beans via the ApplicationContext

           at org.springframework.context.support.AbstractRefreshableApplicationContext.getBeanFactory(AbstractRefreshableApplicationContext.java:153)

           at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:941)

           at org.apache.servicemix.common.osgi.EndpointExporter.getEndpoints(EndpointExporter.java:70)

           at org.apache.servicemix.common.osgi.EndpointExporter.checkAndRegisterSA(EndpointExporter.java:136)

           at org.apache.servicemix.common.osgi.EndpointExporter$2.run(EndpointExporter.java:156)

           at java.util.TimerThread.mainLoop(Timer.java:512)

           at java.util.TimerThread.run(Timer.java:462)

      -