Greetings. 

I'm trying to run this example: 

http://camel.apache.org/tutorial-osgi-camel-part1.html

but, when i try to deploy demo.camel-bundle, i get the following error in
fuse 

Exception in thread "SpringOsgiExtenderThread-13"
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:636) 

what is going wrong????

PS: i tried to run this in both vanilla servicemix and fuse esb

--
View this message in context: 
http://servicemix.396122.n5.nabble.com/Exception-in-thread-SpringOsgiExtenderThread-7-java-lang-IllegalStateException-BeanFactory-not-initit-tp3791617p3791617.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to