This should be fixed in the upcoming Apache ServiceMix 4.4. release.
In fact its fixed in Camel 2.7 if I recall correctly.

Fuse ESB 4.4 has been released for a while with has this fixed.
http://fusesource.com/products/enterprise-servicemix/


On Thu, Jul 21, 2011 at 11:45 AM, Filippo Balicchia
<[email protected]> wrote:
> 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
>



-- 
Claus Ibsen
-----------------
FuseSource
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.blogspot.com/
Author of Camel in Action: http://www.manning.com/ibsen/

Reply via email to