0 Replies Latest reply on Sep 24, 2013 7:49 AM by Neeraj Mahajan

    JBI component deployment failing due to linkage error

    Neeraj Mahajan Newbie

      I am deploying my existing JBI service assembly zip on Jboss Fuse container and getting the the error "Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: BundleContext must be specified". I am unable to identify its cause but the configuration which is causing the  error is the initializing of bean which is doing

      new ClassPathXmlApplicationContext("camel-context.xml", parentApplicationContext). The reason for using this approach is that my camel context is having dependency on third party application context which is exposed through JAVA Api.

       

      Also when I set the LOG level to DEBUG I find some linkage error as shown in below log. Can any one please suggest or have any idea.

       

       

      18:02:03,673 | DEBUG | a-0.0.0-thread-2 | Injector                     |  -  -  | Unable to inject org/apache/camel/model/ProcessorDefinition$JaxbAccessorM_isInheritErrorHandler_setInheritErrorHandler_java_lang_Boolean

      java.lang.reflect.InvocationTargetException

          at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24]

          at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:170)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:74)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:76)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:105)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$GetterSetterReflection.optimize(Accessor.java:358)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.TransducedAccessor$CompositeTransducedAccessorImpl.<init>(TransducedAccessor.java:220)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.TransducedAccessor.get(TransducedAccessor.java:162)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.AttributeProperty.<init>(AttributeProperty.java:56)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:93)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:145)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:479)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:132)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:479)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:305)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1100)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:143)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:110)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:191)[:1.6.0_24]

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_24]

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_24]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24]

          at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24]

          at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:143)[:2.0.0.redhat-60024]

          at javax.xml.bind.ContextFinder.find(ContextFinder.java:310)[:2.0.0.redhat-60024]

          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)[:2.0.0.redhat-60024]

          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)[:2.0.0.redhat-60024]

          at org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187)[78:org.apache.camel.camel-spring:2.10.0.redhat-60024]

          at org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174)[78:org.apache.camel.camel-spring:2.10.0.redhat-60024]

          at org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:302)[78:org.apache.camel.camel-spring:2.10.0.redhat-60024]

          at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1423)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1413)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)[64:org.springframework.context:3.1.3.RELEASE]

          at com.specsavers.aristotle.pdh.transition.configuration.ApplicationContextBuilder.<init>(ApplicationContextBuilder.java:41)[file:/opt/jboss-fuse-6.0.0.redhat-024/data/jbi/transition-sa/sus/transition-su/:]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.6.0_24]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_24]

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_24]

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_24]

          at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)[64:org.springframework.context:3.1.3.RELEASE]

          at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:86)[141:servicemix-common:2012.01.0.redhat-60024]

          at org.apache.servicemix.camel.CamelSpringDeployer.deploy(CamelSpringDeployer.java:76)[150:servicemix-camel:2012.01.0.redhat-60024]

          at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:86)[141:servicemix-common:2012.01.0.redhat-60024]

          at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[141:servicemix-common:2012.01.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:330)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:870)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:791)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:515)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4580)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.Felix$4.run(Felix.java:2115)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.Felix$5.run(Felix.java:2159)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_24]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_24]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_24]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_24]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_24]

          at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]

      Caused by: java.lang.LinkageError: loader (instance of  org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5): attempted  duplicate class definition for name: "org/apache/camel/model/ProcessorDefinition$JaxbAccessorM_isInheritErrorHandler_setInheritErrorHandler_java_lang_Boolean"

          at java.lang.ClassLoader.defineClass1(Native Method)[:1.6.0_24]

          at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)[:1.6.0_24]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:616)[:1.6.0_24]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:466)[:1.6.0_24]

          ... 95 more

      18:02:03,680 | DEBUG | a-0.0.0-thread-2 | Injector                     |  -  -  | Unable to inject org/apache/camel/model/OutputDefinition$JaxbAccessorF_outputs

      java.lang.reflect.InvocationTargetException

          at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24]

          at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:170)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.Injector.inject(Injector.java:74)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.AccessorInjector.prepare(AccessorInjector.java:76)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.opt.OptimizedAccessorFactory.get(OptimizedAccessorFactory.java:156)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.reflect.Accessor$FieldReflection.optimize(Accessor.java:245)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.ArrayProperty.<init>(ArrayProperty.java:54)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.ArrayERProperty.<init>(ArrayERProperty.java:73)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.<init>(ArrayReferenceNodeProperty.java:69)[:1.6.0_24]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.6.0_24]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_24]

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_24]

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:113)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:145)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:479)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:132)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:479)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:498)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.ArrayReferenceNodeProperty.<init>(ArrayReferenceNodeProperty.java:72)[:1.6.0_24]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.6.0_24]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_24]

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_24]

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.property.PropertyFactory.create(PropertyFactory.java:113)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.ClassBeanInfoImpl.<init>(ClassBeanInfoImpl.java:145)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getOrCreate(JAXBContextImpl.java:479)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:305)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(JAXBContextImpl.java:1100)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:143)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:110)[:1.6.0_24]

          at com.sun.xml.internal.bind.v2.ContextFactory.createContext(ContextFactory.java:191)[:1.6.0_24]

          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[:1.6.0_24]

          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[:1.6.0_24]

          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[:1.6.0_24]

          at java.lang.reflect.Method.invoke(Method.java:597)[:1.6.0_24]

          at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:143)[:2.0.0.redhat-60024]

          at javax.xml.bind.ContextFinder.find(ContextFinder.java:310)[:2.0.0.redhat-60024]

          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)[:2.0.0.redhat-60024]

          at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)[:2.0.0.redhat-60024]

          at org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187)[78:org.apache.camel.camel-spring:2.10.0.redhat-60024]

          at org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174)[78:org.apache.camel.camel-spring:2.10.0.redhat-60024]

          at org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:302)[78:org.apache.camel.camel-spring:2.10.0.redhat-60024]

          at org.springframework.beans.factory.xml.AbstractSingleBeanDefinitionParser.parseInternal(AbstractSingleBeanDefinitionParser.java:85)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:59)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:73)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1423)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.BeanDefinitionParserDelegate.parseCustomElement(BeanDefinitionParserDelegate.java:1413)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:184)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:140)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(DefaultBeanDefinitionDocumentReader.java:111)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.registerBeanDefinitions(XmlBeanDefinitionReader.java:493)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:390)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:174)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:209)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:180)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:243)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:127)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:93)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:131)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:530)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:444)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:139)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:93)[64:org.springframework.context:3.1.3.RELEASE]

          at com.specsavers.aristotle.pdh.transition.configuration.ApplicationContextBuilder.<init>(ApplicationContextBuilder.java:41)[file:/opt/jboss-fuse-6.0.0.redhat-024/data/jbi/transition-sa/sus/transition-su/:]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)[:1.6.0_24]

          at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)[:1.6.0_24]

          at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[:1.6.0_24]

          at java.lang.reflect.Constructor.newInstance(Constructor.java:513)[:1.6.0_24]

          at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:147)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:121)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:280)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1035)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:939)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:485)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:294)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:225)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:291)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:605)[63:org.springframework.beans:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:925)[64:org.springframework.context:3.1.3.RELEASE]

          at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:472)[64:org.springframework.context:3.1.3.RELEASE]

          at org.apache.servicemix.common.xbean.AbstractXBeanDeployer.deploy(AbstractXBeanDeployer.java:86)[141:servicemix-common:2012.01.0.redhat-60024]

          at org.apache.servicemix.camel.CamelSpringDeployer.deploy(CamelSpringDeployer.java:76)[150:servicemix-camel:2012.01.0.redhat-60024]

          at org.apache.servicemix.common.BaseServiceUnitManager.doDeploy(BaseServiceUnitManager.java:86)[141:servicemix-common:2012.01.0.redhat-60024]

          at org.apache.servicemix.common.BaseServiceUnitManager.deploy(BaseServiceUnitManager.java:69)[141:servicemix-common:2012.01.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy(ServiceUnitImpl.java:104)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.deploySUs(ServiceAssemblyInstaller.java:207)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.ServiceAssemblyInstaller.install(ServiceAssemblyInstaller.java:85)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.Deployer.onBundleStarted(Deployer.java:330)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.servicemix.jbi.deployer.impl.Deployer.bundleChanged(Deployer.java:260)[138:org.apache.servicemix.jbi.deployer:1.6.0.redhat-60024]

          at org.apache.felix.framework.util.EventDispatcher.invokeBundleListenerCallback(EventDispatcher.java:870)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:791)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.util.EventDispatcher.fireBundleEvent(EventDispatcher.java:515)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.Felix.fireBundleEvent(Felix.java:4580)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.Felix$4.run(Felix.java:2115)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at org.apache.felix.framework.Felix$5.run(Felix.java:2159)[org.apache.felix.framework-4.0.3.redhat-60024.jar:]

          at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)[:1.6.0_24]

          at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)[:1.6.0_24]

          at java.util.concurrent.FutureTask.run(FutureTask.java:138)[:1.6.0_24]

          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_24]

          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_24]

          at java.lang.Thread.run(Thread.java:662)[:1.6.0_24]

      Caused by: java.lang.LinkageError: loader (instance of  org/apache/felix/framework/BundleWiringImpl$BundleClassLoaderJava5): attempted  duplicate class definition for name: "org/apache/camel/model/OutputDefinition$JaxbAccessorF_outputs"

          at java.lang.ClassLoader.defineClass1(Native Method)[:1.6.0_24]

          at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)[:1.6.0_24]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:616)[:1.6.0_24]

          at java.lang.ClassLoader.defineClass(ClassLoader.java:466)[:1.6.0_24]

          ... 108 more