Hello,
I have installes two bundle in servicemix 4.3.0 that define use both
camel-quartz scheduler, and when they are installed  i receive the
following exception

Caused by: org.springframework.beans.factory.BeanCreationException:
Error creating bean with name 'camel-2': Invocation of init method
failed; nested exception is org.quartz.SchedulerException: Scheduler
with name 'DefaultQuartzScheduler' already exists.
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1075)[61:org.springframework.context:3.0.5.RELEASE]
        at 
org.apache.camel.spring.CamelBeanPostProcessor.postProcessBeforeInitialization(CamelBeanPostProcessor.java:95)[75:org.apache.camel.camel-spring:2.6.0]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:394)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1413)[59:org.springframework.beans:3.0.5.RELEASE]
        at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)[59:org.springframework.beans:3.0.5.RELEASE]
        ... 23 more

The bundle start and work but how can i avoid this message

the version of camel that i use is 2.6.0

Cheers

--Filippo

Reply via email to