2 Replies Latest reply on Feb 7, 2010 7:02 PM by sdfssgaas

    webinar spring ERROR: Part 6 : Get Started with ServiceMix 4.1: FUSE ESB

    sdfssgaas Newbie

      So I'm trying to follow this webinar and get to 'Demo Part 6' where they say I can install the example 'batch' using a console command. ((apache-servicemix-4.1.0-psc-01-00RC1))

       

      Install looks fine.

       

      When timer is triggered the following error is display:

       

      karaf@root> Exception in thread "SpringOsgiExtenderThread-57" 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.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.close(DependencyWaiterApplicationContextExecutor.java:345) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.fail(DependencyWaiterApplicationContextExecutor.java:401) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(DependencyWaiterApplicationContextExecutor.java:287) at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(DependencyWaiterApplicationContextExecutor.java:175) at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.refresh(AbstractDelegatedExecutionApplicationContext.java:175) at org.springframework.osgi.extender.internal.activator.ContextLoaderListener$2.run(ContextLoaderListener.java:718) at java.lang.Thread.run(Thread.java:619)

       

      Why?