L.S., Whenever the Spring ApplicationContext in a bundle fails to start, you'll see this very generic exception on the console. However, if you do a log:display, you should be able to find a more specific exception that says why the Camel route failed to get started. Could you take a look there and send us back the exception you find in there if you need help resolving that one?
Regards, Gert Vanthienen ------------------------ FuseSource Web: http://fusesource.com Blog: http://gertvanthienen.blogspot.com/ On Wed, Mar 16, 2011 at 7:13 PM, dead_devil_66 <[email protected]> wrote: > 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. >
