2 Replies Latest reply on Apr 15, 2011 12:19 PM by dmehrtash

    Can't start the tutorial application payments-osgi-pojo-service

    dmehrtash

      I am trying to run the fuse-tutorial-payments-demo.tar.gz ( here  with the latest servicemix on Fusesource   ( apache-servicemix-4.3.1-fuse-01-09).

       

      I get the following exception when I try to deploy the pojo bundle:

       

      osgi:install mvn:com.progress.pso/payments-osgi-pojo-service

       

      I get the following exception:

       

       

      karaf@root> Exception in thread "SpringOsgiExtenderThread-5" 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:171)

           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:662)

       

       

       

      Any ideas?

       

      Thanks

       

      Daryoush

       

      Edited by: dmehrtash on Apr 14, 2011 6:15 PM