You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@karaf.apache.org by kasthuri rajan <ka...@yahoo.com> on 2013/05/09 10:07:53 UTC

Exception in thread "SpringOsgiExtenderThread-2"

Hi All,

Im getting the below error as soon as i start karaf 2.3.1 in the command
prompt.

karaf@root> Exception in thread "SpringOsgiExtenderThread-2"
org.springframework
.beans.factory.BeanCreationException: Error creating bean with name 'camel':
Inv
ocation of init method failed; nested exception is
org.apache.camel.CamelExcepti
on: Cannot find any routes with this RouteBuilder reference:
RouteBuilderRef[rep
ortIncidentRoutes]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

Pls find below the log details for the same.

org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'camel': Invocation of init method failed; nested exception is
org.apache.camel.CamelException: Cannot find any routes with this
RouteBuilder reference: RouteBuilderRef[reportIncidentRoutes]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1455)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:284)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:607)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)[90:org.springframework.context:3.1.4.RELEASE]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)[94:org.springframework.osgi.core:1.2.1]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)[94:org.springframework.osgi.core:1.2.1]
	at
org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)[94:org.springframework.osgi.core:1.2.1]
	at
org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)[94:org.springframework.osgi.core:1.2.1]
	at
org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)[95:org.springframework.osgi.extender:1.2.1]
	at java.lang.Thread.run(Thread.java:662)[:1.6.0_41]
Caused by: org.apache.camel.CamelException: Cannot find any routes with this
RouteBuilder reference: RouteBuilderRef[reportIncidentRoutes]
	at
org.apache.camel.core.xml.AbstractCamelContextFactoryBean.installRoutes(AbstractCamelContextFactoryBean.java:650)[225:org.apache.camel.camel-spring:2.11.0]
	at
org.apache.camel.core.xml.AbstractCamelContextFactoryBean.afterPropertiesSet(AbstractCamelContextFactoryBean.java:282)[225:org.apache.camel.camel-spring:2.11.0]
	at
org.apache.camel.osgi.CamelContextFactoryBean.afterPropertiesSet(CamelContextFactoryBean.java:64)[225:org.apache.camel.camel-spring:2.11.0]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1514)[88:org.springframework.beans:3.1.4.RELEASE]
	at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1452)[88:org.springframework.beans:3.1.4.RELEASE]



--
View this message in context: http://karaf.922171.n3.nabble.com/Exception-in-thread-SpringOsgiExtenderThread-2-tp4028611.html
Sent from the Karaf - Dev mailing list archive at Nabble.com.