Quantcast

JAXBException while parsing camel-spring files

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

JAXBException while parsing camel-spring files

Karel Bernolet
Hi,

While upgrading a legacy application to camel 2.18.3, spring 4, ... we
stumbled upon an issue while trying to parse camel routes in spring xml
DSL. The stacktrace can be found below. I believe this is due to CAMEL-9521
<https://issues.apache.org/jira/browse/CAMEL-9521>.
By removing the class org.apache.camel.osgi.CamelNameSpaceHandler
<https://fisheye.apache.org/changelog/camel-git?cs=20a85773b751ebe726664b4be866423fb18463cc>,
the
import packages on *org.apache.camel.model.config* etc got removed from the
Manifest.
As the *SpringModelJAXBContextFactory* extends from the
*DefaultModelJAXBContextFactory*, it looks for an ObjectFactory or
jaxb.index in packages it does no longer include.
Is the behaviour expected after removal of spring-dm?
What is the recommended behaviour or workaround?
The application runs in a apache-felix OSGI environment.

Regards,
Karel


2017-04-20T18:55:32,921+0200 [EclipseGeminiBlueprintExtenderThread-1] DEBUG

> NamespacePlugins - Trying to resolving namespace handler for
> http://camel.apache.org/schema/spring - User= - Batch= - trace-id=
>
> 2017-04-20T18:55:32,936+0200 [EclipseGeminiBlueprintExtenderThread-1]
> DEBUG NamespacePlugins - Namespace handler for http://camel.apache.org/
> schema/spring found inside bundle camel-spring (org.apache.camel.camel-spring)
> - User= - Batch= - trace-id=
>
> 2017-04-20T18:55:32,976+0200 [EclipseGeminiBlueprintExtenderThread-1]
> DEBUG OsgiBundleXmlApplicationContext - Pre refresh error - User= -
> Batch= - trace-id=
>
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions from relative
> location [useradmin-external-service-siebel-routes.xml]
>
> Offending resource: URL [bundle://40.0:0/OSGI-INF/
> blueprint/useradmin-external-service-siebel-context.xml]; nested
> exception is org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to create the JAXB binder; nested exception is
> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
> could not be instantiated: javax.xml.bind.JAXBException:
> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
> jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at org.springframework.beans.factory.parsing.
> FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>
>                 at org.springframework.beans.
> factory.parsing.ReaderContext.error(ReaderContext.java:85)
>
>                 at org.springframework.beans.
> factory.parsing.ReaderContext.error(ReaderContext.java:76)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
> DefaultBeanDefinitionDocumentReader.java:255)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseDefaultElement(
> DefaultBeanDefinitionDocumentReader.java:180)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:165)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:138)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:94)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.registerBeanDefinitions(
> XmlBeanDefinitionReader.java:508)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.doLoadBeanDefinitions(
> XmlBeanDefinitionReader.java:392)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 336)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 304)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:181)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:217)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:188)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
> OsgiBundleXmlApplicationContext.java:170)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
> OsgiBundleXmlApplicationContext.java:140)
>
>                 at org.springframework.context.support.
> AbstractRefreshableApplicationContext.refreshBeanFactory(
> AbstractRefreshableApplicationContext.java:129)
>
>                 at org.springframework.context.support.
> AbstractApplicationContext.obtainFreshBeanFactory(
> AbstractApplicationContext.java:609)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.access$800(
> AbstractDelegatedExecutionApplicationContext.java:60)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext$3.run(
> AbstractDelegatedExecutionApplicationContext.java:242)
>
>                 at org.eclipse.gemini.blueprint.
> util.internal.PrivilegedUtils.executeWithCustomTCCL(
> PrivilegedUtils.java:85)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.startRefresh(
> AbstractDelegatedExecutionApplicationContext.java:220)
>
>                 at org.eclipse.gemini.blueprint.extender.internal.
> dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(
> DependencyWaiterApplicationContextExecutor.java:224)
>
>                 at org.eclipse.gemini.blueprint.extender.internal.
> dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(
> DependencyWaiterApplicationContextExecutor.java:177)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.refresh(
> AbstractDelegatedExecutionApplicationContext.java:157)
>
>                 at org.eclipse.gemini.blueprint.
> extender.internal.activator.LifecycleManager$1.run(
> LifecycleManager.java:207)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
>
>                 at java.lang.Thread.run(Thread.java:745)
>
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to create the JAXB binder; nested exception is
> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
> could not be instantiated: javax.xml.bind.JAXBException:
> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
> jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:281)
>
>                 at org.springframework.beans.factory.xml.
> AbstractSingleBeanDefinitionParser.parseInternal(
> AbstractSingleBeanDefinitionParser.java:85)
>
>                 at org.springframework.beans.factory.xml.
> AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
>
>                 at org.springframework.beans.factory.xml.
> NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
>
>                 at org.springframework.beans.factory.xml.
> BeanDefinitionParserDelegate.parseCustomElement(
> BeanDefinitionParserDelegate.java:1411)
>
>                 at org.springframework.beans.factory.xml.
> BeanDefinitionParserDelegate.parseCustomElement(
> BeanDefinitionParserDelegate.java:1401)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:168)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:138)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:94)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.registerBeanDefinitions(
> XmlBeanDefinitionReader.java:508)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.doLoadBeanDefinitions(
> XmlBeanDefinitionReader.java:392)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 336)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 304)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
> DefaultBeanDefinitionDocumentReader.java:239)
>
>                 ... 26 more
>
> Caused by: javax.xml.bind.JAXBException: Provider
> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
> javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:146)
>
>                 at javax.xml.bind.ContextFinder.
> find(ContextFinder.java:356)
>
>                 at javax.xml.bind.JAXBContext.
> newInstance(JAXBContext.java:431)
>
>                 at javax.xml.bind.JAXBContext.
> newInstance(JAXBContext.java:394)
>
>                 at org.apache.camel.impl.DefaultModelJAXBContextFactory
> .newJAXBContext(DefaultModelJAXBContextFactory.java:31)
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler.
> getJaxbContext(CamelNamespaceHandler.java:217)
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:279)
>
>                 ... 39 more
>
> Caused by: javax.xml.bind.JAXBException: "org.apache.camel.model.config"
> doesnt contain ObjectFactory.class or jaxb.index
>
>                 at com.sun.xml.internal.bind.v2.
> ContextFactory.createContext(ContextFactory.java:266)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:171)
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:131)
>
>                 ... 45 more
>
> 2017-04-20T18:55:32,981+0200 [EclipseGeminiBlueprintExtenderThread-1]
> ERROR ExtenderConfiguration - Application context refresh failed (
> OsgiBundleXmlApplicationContext(bundle=be.isabel.useradmin-external-service-siebel,
> config=OSGI-INF/blueprint/useradmin-external-service-
> siebel-beans.xml,OSGI-INF/blueprint/useradmin-external-
> service-siebel-context.xml,OSGI-INF/blueprint/useradmin-
> external-service-siebel-osgi-context.xml,OSGI-INF/
> blueprint/useradmin-external-service-siebel-routes.xml)) - User= - Batch=
> - trace-id=
>
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions from relative
> location [useradmin-external-service-siebel-routes.xml]
>
> Offending resource: URL [bundle://40.0:0/OSGI-INF/
> blueprint/useradmin-external-service-siebel-context.xml]; nested
> exception is org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to create the JAXB binder; nested exception is
> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
> could not be instantiated: javax.xml.bind.JAXBException:
> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
> jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at org.springframework.beans.factory.parsing.
> FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>
>                 at org.springframework.beans.
> factory.parsing.ReaderContext.error(ReaderContext.java:85)
>
>                 at org.springframework.beans.
> factory.parsing.ReaderContext.error(ReaderContext.java:76)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
> DefaultBeanDefinitionDocumentReader.java:255)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseDefaultElement(
> DefaultBeanDefinitionDocumentReader.java:180)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:165)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:138)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:94)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.registerBeanDefinitions(
> XmlBeanDefinitionReader.java:508)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.doLoadBeanDefinitions(
> XmlBeanDefinitionReader.java:392)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 336)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 304)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:181)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:217)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:188)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
> OsgiBundleXmlApplicationContext.java:170)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
> OsgiBundleXmlApplicationContext.java:140)
>
>                 at org.springframework.context.support.
> AbstractRefreshableApplicationContext.refreshBeanFactory(
> AbstractRefreshableApplicationContext.java:129)
>
>                 at org.springframework.context.support.
> AbstractApplicationContext.obtainFreshBeanFactory(
> AbstractApplicationContext.java:609)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.access$800(
> AbstractDelegatedExecutionApplicationContext.java:60)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext$3.run(
> AbstractDelegatedExecutionApplicationContext.java:242)
>
>                 at org.eclipse.gemini.blueprint.
> util.internal.PrivilegedUtils.executeWithCustomTCCL(
> PrivilegedUtils.java:85)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.startRefresh(
> AbstractDelegatedExecutionApplicationContext.java:220)
>
>                 at org.eclipse.gemini.blueprint.extender.internal.
> dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(
> DependencyWaiterApplicationContextExecutor.java:224)
>
>                 at org.eclipse.gemini.blueprint.extender.internal.
> dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(
> DependencyWaiterApplicationContextExecutor.java:177)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.refresh(
> AbstractDelegatedExecutionApplicationContext.java:157)
>
>                 at org.eclipse.gemini.blueprint.
> extender.internal.activator.LifecycleManager$1.run(
> LifecycleManager.java:207)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
>
>                 at java.lang.Thread.run(Thread.java:745)
>
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to create the JAXB binder; nested exception is
> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
> could not be instantiated: javax.xml.bind.JAXBException:
> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
> jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:281)
>
>                 at org.springframework.beans.factory.xml.
> AbstractSingleBeanDefinitionParser.parseInternal(
> AbstractSingleBeanDefinitionParser.java:85)
>
>                 at org.springframework.beans.factory.xml.
> AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
>
>                 at org.springframework.beans.factory.xml.
> NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
>
>                 at org.springframework.beans.factory.xml.
> BeanDefinitionParserDelegate.parseCustomElement(
> BeanDefinitionParserDelegate.java:1411)
>
>                 at org.springframework.beans.factory.xml.
> BeanDefinitionParserDelegate.parseCustomElement(
> BeanDefinitionParserDelegate.java:1401)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:168)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:138)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:94)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.registerBeanDefinitions(
> XmlBeanDefinitionReader.java:508)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.doLoadBeanDefinitions(
> XmlBeanDefinitionReader.java:392)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 336)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 304)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
> DefaultBeanDefinitionDocumentReader.java:239)
>
>                 ... 26 more
>
> Caused by: javax.xml.bind.JAXBException: Provider
> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
> javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:146)
>
>                 at javax.xml.bind.ContextFinder.
> find(ContextFinder.java:356)
>
>                 at javax.xml.bind.JAXBContext.
> newInstance(JAXBContext.java:431)
>
>                 at javax.xml.bind.JAXBContext.
> newInstance(JAXBContext.java:394)
>
>                 at org.apache.camel.impl.DefaultModelJAXBContextFactory
> .newJAXBContext(DefaultModelJAXBContextFactory.java:31)
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler.
> getJaxbContext(CamelNamespaceHandler.java:217)
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:279)
>
>                 ... 39 more
>
> Caused by: javax.xml.bind.JAXBException: "org.apache.camel.model.config"
> doesnt contain ObjectFactory.class or jaxb.index
>
>                 at com.sun.xml.internal.bind.v2.
> ContextFactory.createContext(ContextFactory.java:266)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:171)
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:131)
>
>                 ... 45 more
>
> 2017-04-20T18:55:32,983+0200 [EclipseGeminiBlueprintExtenderThread-1]
> DEBUG DependencyWaiterApplicationContextExecutor - Cancelled dependency
> watchdog... - User= - Batch= - trace-id=
>
> 2017-04-20T18:55:32,983+0200 [EclipseGeminiBlueprintExtenderThread-1]
> DEBUG DependencyWaiterApplicationContextExecutor - Closing appCtx for
> OsgiBundleXmlApplicationContext(bundle=be.isabel.useradmin-external-service-siebel,
> config=OSGI-INF/blueprint/useradmin-external-service-
> siebel-beans.xml,OSGI-INF/blueprint/useradmin-external-
> service-siebel-context.xml,OSGI-INF/blueprint/useradmin-
> external-service-siebel-osgi-context.xml,OSGI-INF/
> blueprint/useradmin-external-service-siebel-routes.xml) - User= - Batch=
> - trace-id=
>
> 2017-04-20T18:55:32,983+0200 [EclipseGeminiBlueprintExtenderThread-1]
> DEBUG DependencyWaiterApplicationContextExecutor - Cleaning up appCtx
> OsgiBundleXmlApplicationContext(bundle=be.isabel.useradmin-external-service-siebel,
> config=OSGI-INF/blueprint/useradmin-external-service-
> siebel-beans.xml,OSGI-INF/blueprint/useradmin-external-
> service-siebel-context.xml,OSGI-INF/blueprint/useradmin-
> external-service-siebel-osgi-context.xml,OSGI-INF/
> blueprint/useradmin-external-service-siebel-routes.xml) - User= - Batch=
> - trace-id=
>
> 2017-04-20T18:55:32,984+0200 [EclipseGeminiBlueprintExtenderThread-1]
> ERROR DependencyWaiterApplicationContextExecutor - Unable to create
> application context for [be.isabel.useradmin-external-service-siebel],
> unsatisfied dependencies: none - User= - Batch= - trace-id=
>
> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
> Configuration problem: Failed to import bean definitions from relative
> location [useradmin-external-service-siebel-routes.xml]
>
> Offending resource: URL [bundle://40.0:0/OSGI-INF/
> blueprint/useradmin-external-service-siebel-context.xml]; nested
> exception is org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to create the JAXB binder; nested exception is
> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
> could not be instantiated: javax.xml.bind.JAXBException:
> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
> jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at org.springframework.beans.factory.parsing.
> FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>
>                 at org.springframework.beans.
> factory.parsing.ReaderContext.error(ReaderContext.java:85)
>
>                 at org.springframework.beans.
> factory.parsing.ReaderContext.error(ReaderContext.java:76)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
> DefaultBeanDefinitionDocumentReader.java:255)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseDefaultElement(
> DefaultBeanDefinitionDocumentReader.java:180)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:165)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:138)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:94)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.registerBeanDefinitions(
> XmlBeanDefinitionReader.java:508)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.doLoadBeanDefinitions(
> XmlBeanDefinitionReader.java:392)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 336)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 304)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:181)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:217)
>
>                 at org.springframework.beans.factory.support.
> AbstractBeanDefinitionReader.loadBeanDefinitions(
> AbstractBeanDefinitionReader.java:188)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
> OsgiBundleXmlApplicationContext.java:170)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
> OsgiBundleXmlApplicationContext.java:140)
>
>                 at org.springframework.context.support.
> AbstractRefreshableApplicationContext.refreshBeanFactory(
> AbstractRefreshableApplicationContext.java:129)
>
>                 at org.springframework.context.support.
> AbstractApplicationContext.obtainFreshBeanFactory(
> AbstractApplicationContext.java:609)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.access$800(
> AbstractDelegatedExecutionApplicationContext.java:60)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext$3.run(
> AbstractDelegatedExecutionApplicationContext.java:242)
>
>                 at org.eclipse.gemini.blueprint.
> util.internal.PrivilegedUtils.executeWithCustomTCCL(
> PrivilegedUtils.java:85)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.startRefresh(
> AbstractDelegatedExecutionApplicationContext.java:220)
>
>                 at org.eclipse.gemini.blueprint.extender.internal.
> dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(
> DependencyWaiterApplicationContextExecutor.java:224)
>
>                 at org.eclipse.gemini.blueprint.extender.internal.
> dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(
> DependencyWaiterApplicationContextExecutor.java:177)
>
>                 at org.eclipse.gemini.blueprint.context.support.
> AbstractDelegatedExecutionApplicationContext.refresh(
> AbstractDelegatedExecutionApplicationContext.java:157)
>
>                 at org.eclipse.gemini.blueprint.
> extender.internal.activator.LifecycleManager$1.run(
> LifecycleManager.java:207)
>
>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
> ThreadPoolExecutor.java:1142)
>
>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
> ThreadPoolExecutor.java:617)
>
>                 at java.lang.Thread.run(Thread.java:745)
>
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Failed to create the JAXB binder; nested exception is
> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
> could not be instantiated: javax.xml.bind.JAXBException:
> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
> jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:281)
>
>                 at org.springframework.beans.factory.xml.
> AbstractSingleBeanDefinitionParser.parseInternal(
> AbstractSingleBeanDefinitionParser.java:85)
>
>                 at org.springframework.beans.factory.xml.
> AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
>
>                 at org.springframework.beans.factory.xml.
> NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
>
>                 at org.springframework.beans.factory.xml.
> BeanDefinitionParserDelegate.parseCustomElement(
> BeanDefinitionParserDelegate.java:1411)
>
>                 at org.springframework.beans.factory.xml.
> BeanDefinitionParserDelegate.parseCustomElement(
> BeanDefinitionParserDelegate.java:1401)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:168)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:138)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
> DefaultBeanDefinitionDocumentReader.java:94)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.registerBeanDefinitions(
> XmlBeanDefinitionReader.java:508)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.doLoadBeanDefinitions(
> XmlBeanDefinitionReader.java:392)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 336)
>
>                 at org.springframework.beans.factory.xml.
> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
> 304)
>
>                 at org.springframework.beans.factory.xml.
> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
> DefaultBeanDefinitionDocumentReader.java:239)
>
>                 ... 26 more
>
> Caused by: javax.xml.bind.JAXBException: Provider
> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
> javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index
>
> - with linked exception:
>
> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
> contain ObjectFactory.class or jaxb.index]
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:146)
>
>                 at javax.xml.bind.ContextFinder.
> find(ContextFinder.java:356)
>
>                 at javax.xml.bind.JAXBContext.
> newInstance(JAXBContext.java:431)
>
>                 at javax.xml.bind.JAXBContext.
> newInstance(JAXBContext.java:394)
>
>                 at org.apache.camel.impl.DefaultModelJAXBContextFactory
> .newJAXBContext(DefaultModelJAXBContextFactory.java:31)
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler.
> getJaxbContext(CamelNamespaceHandler.java:217)
>
>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:279)
>
>                 ... 39 more
>
> Caused by: javax.xml.bind.JAXBException: "org.apache.camel.model.config"
> doesnt contain ObjectFactory.class or jaxb.index
>
>                 at com.sun.xml.internal.bind.v2.
> ContextFactory.createContext(ContextFactory.java:266)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
>
>                 at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:62)
>
>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:43)
>
>                 at java.lang.reflect.Method.invoke(Method.java:498)
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:171)
>
>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
> java:131)
>
>                 ... 45 more
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: JAXBException while parsing camel-spring files

Claus Ibsen-2
Use blueprint as spring-dm (is EOL) and camel-spring DM is deprecated
for a long time and is removed from Camel 2.19 onwards.


On Thu, Apr 20, 2017 at 8:03 PM, Karel Bernolet
<[hidden email]> wrote:

> Hi,
>
> While upgrading a legacy application to camel 2.18.3, spring 4, ... we
> stumbled upon an issue while trying to parse camel routes in spring xml
> DSL. The stacktrace can be found below. I believe this is due to CAMEL-9521
> <https://issues.apache.org/jira/browse/CAMEL-9521>.
> By removing the class org.apache.camel.osgi.CamelNameSpaceHandler
> <https://fisheye.apache.org/changelog/camel-git?cs=20a85773b751ebe726664b4be866423fb18463cc>,
> the
> import packages on *org.apache.camel.model.config* etc got removed from the
> Manifest.
> As the *SpringModelJAXBContextFactory* extends from the
> *DefaultModelJAXBContextFactory*, it looks for an ObjectFactory or
> jaxb.index in packages it does no longer include.
> Is the behaviour expected after removal of spring-dm?
> What is the recommended behaviour or workaround?
> The application runs in a apache-felix OSGI environment.
>
> Regards,
> Karel
>
>
> 2017-04-20T18:55:32,921+0200 [EclipseGeminiBlueprintExtenderThread-1] DEBUG
>> NamespacePlugins - Trying to resolving namespace handler for
>> http://camel.apache.org/schema/spring - User= - Batch= - trace-id=
>>
>> 2017-04-20T18:55:32,936+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> DEBUG NamespacePlugins - Namespace handler for http://camel.apache.org/
>> schema/spring found inside bundle camel-spring (org.apache.camel.camel-spring)
>> - User= - Batch= - trace-id=
>>
>> 2017-04-20T18:55:32,976+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> DEBUG OsgiBundleXmlApplicationContext - Pre refresh error - User= -
>> Batch= - trace-id=
>>
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from relative
>> location [useradmin-external-service-siebel-routes.xml]
>>
>> Offending resource: URL [bundle://40.0:0/OSGI-INF/
>> blueprint/useradmin-external-service-siebel-context.xml]; nested
>> exception is org.springframework.beans.factory.BeanDefinitionStoreException:
>> Failed to create the JAXB binder; nested exception is
>> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
>> could not be instantiated: javax.xml.bind.JAXBException:
>> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
>> jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at org.springframework.beans.factory.parsing.
>> FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>
>>                 at org.springframework.beans.
>> factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>
>>                 at org.springframework.beans.
>> factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
>> DefaultBeanDefinitionDocumentReader.java:255)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseDefaultElement(
>> DefaultBeanDefinitionDocumentReader.java:180)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:165)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:138)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:94)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.registerBeanDefinitions(
>> XmlBeanDefinitionReader.java:508)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.doLoadBeanDefinitions(
>> XmlBeanDefinitionReader.java:392)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 336)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 304)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:181)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:217)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:188)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
>> OsgiBundleXmlApplicationContext.java:170)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
>> OsgiBundleXmlApplicationContext.java:140)
>>
>>                 at org.springframework.context.support.
>> AbstractRefreshableApplicationContext.refreshBeanFactory(
>> AbstractRefreshableApplicationContext.java:129)
>>
>>                 at org.springframework.context.support.
>> AbstractApplicationContext.obtainFreshBeanFactory(
>> AbstractApplicationContext.java:609)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.access$800(
>> AbstractDelegatedExecutionApplicationContext.java:60)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext$3.run(
>> AbstractDelegatedExecutionApplicationContext.java:242)
>>
>>                 at org.eclipse.gemini.blueprint.
>> util.internal.PrivilegedUtils.executeWithCustomTCCL(
>> PrivilegedUtils.java:85)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.startRefresh(
>> AbstractDelegatedExecutionApplicationContext.java:220)
>>
>>                 at org.eclipse.gemini.blueprint.extender.internal.
>> dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(
>> DependencyWaiterApplicationContextExecutor.java:224)
>>
>>                 at org.eclipse.gemini.blueprint.extender.internal.
>> dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(
>> DependencyWaiterApplicationContextExecutor.java:177)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.refresh(
>> AbstractDelegatedExecutionApplicationContext.java:157)
>>
>>                 at org.eclipse.gemini.blueprint.
>> extender.internal.activator.LifecycleManager$1.run(
>> LifecycleManager.java:207)
>>
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
>> ThreadPoolExecutor.java:1142)
>>
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:617)
>>
>>                 at java.lang.Thread.run(Thread.java:745)
>>
>> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
>> Failed to create the JAXB binder; nested exception is
>> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
>> could not be instantiated: javax.xml.bind.JAXBException:
>> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
>> jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
>> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:281)
>>
>>                 at org.springframework.beans.factory.xml.
>> AbstractSingleBeanDefinitionParser.parseInternal(
>> AbstractSingleBeanDefinitionParser.java:85)
>>
>>                 at org.springframework.beans.factory.xml.
>> AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
>>
>>                 at org.springframework.beans.factory.xml.
>> NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
>>
>>                 at org.springframework.beans.factory.xml.
>> BeanDefinitionParserDelegate.parseCustomElement(
>> BeanDefinitionParserDelegate.java:1411)
>>
>>                 at org.springframework.beans.factory.xml.
>> BeanDefinitionParserDelegate.parseCustomElement(
>> BeanDefinitionParserDelegate.java:1401)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:168)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:138)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:94)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.registerBeanDefinitions(
>> XmlBeanDefinitionReader.java:508)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.doLoadBeanDefinitions(
>> XmlBeanDefinitionReader.java:392)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 336)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 304)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
>> DefaultBeanDefinitionDocumentReader.java:239)
>>
>>                 ... 26 more
>>
>> Caused by: javax.xml.bind.JAXBException: Provider
>> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
>> javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:146)
>>
>>                 at javax.xml.bind.ContextFinder.
>> find(ContextFinder.java:356)
>>
>>                 at javax.xml.bind.JAXBContext.
>> newInstance(JAXBContext.java:431)
>>
>>                 at javax.xml.bind.JAXBContext.
>> newInstance(JAXBContext.java:394)
>>
>>                 at org.apache.camel.impl.DefaultModelJAXBContextFactory
>> .newJAXBContext(DefaultModelJAXBContextFactory.java:31)
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler.
>> getJaxbContext(CamelNamespaceHandler.java:217)
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
>> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:279)
>>
>>                 ... 39 more
>>
>> Caused by: javax.xml.bind.JAXBException: "org.apache.camel.model.config"
>> doesnt contain ObjectFactory.class or jaxb.index
>>
>>                 at com.sun.xml.internal.bind.v2.
>> ContextFactory.createContext(ContextFactory.java:266)
>>
>>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>>
>>                 at sun.reflect.NativeMethodAccessorImpl.invoke(
>> NativeMethodAccessorImpl.java:62)
>>
>>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>
>>                 at java.lang.reflect.Method.invoke(Method.java:498)
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:171)
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:131)
>>
>>                 ... 45 more
>>
>> 2017-04-20T18:55:32,981+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> ERROR ExtenderConfiguration - Application context refresh failed (
>> OsgiBundleXmlApplicationContext(bundle=be.isabel.useradmin-external-service-siebel,
>> config=OSGI-INF/blueprint/useradmin-external-service-
>> siebel-beans.xml,OSGI-INF/blueprint/useradmin-external-
>> service-siebel-context.xml,OSGI-INF/blueprint/useradmin-
>> external-service-siebel-osgi-context.xml,OSGI-INF/
>> blueprint/useradmin-external-service-siebel-routes.xml)) - User= - Batch=
>> - trace-id=
>>
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from relative
>> location [useradmin-external-service-siebel-routes.xml]
>>
>> Offending resource: URL [bundle://40.0:0/OSGI-INF/
>> blueprint/useradmin-external-service-siebel-context.xml]; nested
>> exception is org.springframework.beans.factory.BeanDefinitionStoreException:
>> Failed to create the JAXB binder; nested exception is
>> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
>> could not be instantiated: javax.xml.bind.JAXBException:
>> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
>> jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at org.springframework.beans.factory.parsing.
>> FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>
>>                 at org.springframework.beans.
>> factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>
>>                 at org.springframework.beans.
>> factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
>> DefaultBeanDefinitionDocumentReader.java:255)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseDefaultElement(
>> DefaultBeanDefinitionDocumentReader.java:180)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:165)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:138)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:94)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.registerBeanDefinitions(
>> XmlBeanDefinitionReader.java:508)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.doLoadBeanDefinitions(
>> XmlBeanDefinitionReader.java:392)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 336)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 304)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:181)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:217)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:188)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
>> OsgiBundleXmlApplicationContext.java:170)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
>> OsgiBundleXmlApplicationContext.java:140)
>>
>>                 at org.springframework.context.support.
>> AbstractRefreshableApplicationContext.refreshBeanFactory(
>> AbstractRefreshableApplicationContext.java:129)
>>
>>                 at org.springframework.context.support.
>> AbstractApplicationContext.obtainFreshBeanFactory(
>> AbstractApplicationContext.java:609)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.access$800(
>> AbstractDelegatedExecutionApplicationContext.java:60)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext$3.run(
>> AbstractDelegatedExecutionApplicationContext.java:242)
>>
>>                 at org.eclipse.gemini.blueprint.
>> util.internal.PrivilegedUtils.executeWithCustomTCCL(
>> PrivilegedUtils.java:85)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.startRefresh(
>> AbstractDelegatedExecutionApplicationContext.java:220)
>>
>>                 at org.eclipse.gemini.blueprint.extender.internal.
>> dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(
>> DependencyWaiterApplicationContextExecutor.java:224)
>>
>>                 at org.eclipse.gemini.blueprint.extender.internal.
>> dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(
>> DependencyWaiterApplicationContextExecutor.java:177)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.refresh(
>> AbstractDelegatedExecutionApplicationContext.java:157)
>>
>>                 at org.eclipse.gemini.blueprint.
>> extender.internal.activator.LifecycleManager$1.run(
>> LifecycleManager.java:207)
>>
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
>> ThreadPoolExecutor.java:1142)
>>
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:617)
>>
>>                 at java.lang.Thread.run(Thread.java:745)
>>
>> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
>> Failed to create the JAXB binder; nested exception is
>> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
>> could not be instantiated: javax.xml.bind.JAXBException:
>> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
>> jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
>> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:281)
>>
>>                 at org.springframework.beans.factory.xml.
>> AbstractSingleBeanDefinitionParser.parseInternal(
>> AbstractSingleBeanDefinitionParser.java:85)
>>
>>                 at org.springframework.beans.factory.xml.
>> AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
>>
>>                 at org.springframework.beans.factory.xml.
>> NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
>>
>>                 at org.springframework.beans.factory.xml.
>> BeanDefinitionParserDelegate.parseCustomElement(
>> BeanDefinitionParserDelegate.java:1411)
>>
>>                 at org.springframework.beans.factory.xml.
>> BeanDefinitionParserDelegate.parseCustomElement(
>> BeanDefinitionParserDelegate.java:1401)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:168)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:138)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:94)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.registerBeanDefinitions(
>> XmlBeanDefinitionReader.java:508)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.doLoadBeanDefinitions(
>> XmlBeanDefinitionReader.java:392)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 336)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 304)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
>> DefaultBeanDefinitionDocumentReader.java:239)
>>
>>                 ... 26 more
>>
>> Caused by: javax.xml.bind.JAXBException: Provider
>> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
>> javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:146)
>>
>>                 at javax.xml.bind.ContextFinder.
>> find(ContextFinder.java:356)
>>
>>                 at javax.xml.bind.JAXBContext.
>> newInstance(JAXBContext.java:431)
>>
>>                 at javax.xml.bind.JAXBContext.
>> newInstance(JAXBContext.java:394)
>>
>>                 at org.apache.camel.impl.DefaultModelJAXBContextFactory
>> .newJAXBContext(DefaultModelJAXBContextFactory.java:31)
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler.
>> getJaxbContext(CamelNamespaceHandler.java:217)
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
>> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:279)
>>
>>                 ... 39 more
>>
>> Caused by: javax.xml.bind.JAXBException: "org.apache.camel.model.config"
>> doesnt contain ObjectFactory.class or jaxb.index
>>
>>                 at com.sun.xml.internal.bind.v2.
>> ContextFactory.createContext(ContextFactory.java:266)
>>
>>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>>
>>                 at sun.reflect.NativeMethodAccessorImpl.invoke(
>> NativeMethodAccessorImpl.java:62)
>>
>>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>
>>                 at java.lang.reflect.Method.invoke(Method.java:498)
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:171)
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:131)
>>
>>                 ... 45 more
>>
>> 2017-04-20T18:55:32,983+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> DEBUG DependencyWaiterApplicationContextExecutor - Cancelled dependency
>> watchdog... - User= - Batch= - trace-id=
>>
>> 2017-04-20T18:55:32,983+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> DEBUG DependencyWaiterApplicationContextExecutor - Closing appCtx for
>> OsgiBundleXmlApplicationContext(bundle=be.isabel.useradmin-external-service-siebel,
>> config=OSGI-INF/blueprint/useradmin-external-service-
>> siebel-beans.xml,OSGI-INF/blueprint/useradmin-external-
>> service-siebel-context.xml,OSGI-INF/blueprint/useradmin-
>> external-service-siebel-osgi-context.xml,OSGI-INF/
>> blueprint/useradmin-external-service-siebel-routes.xml) - User= - Batch=
>> - trace-id=
>>
>> 2017-04-20T18:55:32,983+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> DEBUG DependencyWaiterApplicationContextExecutor - Cleaning up appCtx
>> OsgiBundleXmlApplicationContext(bundle=be.isabel.useradmin-external-service-siebel,
>> config=OSGI-INF/blueprint/useradmin-external-service-
>> siebel-beans.xml,OSGI-INF/blueprint/useradmin-external-
>> service-siebel-context.xml,OSGI-INF/blueprint/useradmin-
>> external-service-siebel-osgi-context.xml,OSGI-INF/
>> blueprint/useradmin-external-service-siebel-routes.xml) - User= - Batch=
>> - trace-id=
>>
>> 2017-04-20T18:55:32,984+0200 [EclipseGeminiBlueprintExtenderThread-1]
>> ERROR DependencyWaiterApplicationContextExecutor - Unable to create
>> application context for [be.isabel.useradmin-external-service-siebel],
>> unsatisfied dependencies: none - User= - Batch= - trace-id=
>>
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Failed to import bean definitions from relative
>> location [useradmin-external-service-siebel-routes.xml]
>>
>> Offending resource: URL [bundle://40.0:0/OSGI-INF/
>> blueprint/useradmin-external-service-siebel-context.xml]; nested
>> exception is org.springframework.beans.factory.BeanDefinitionStoreException:
>> Failed to create the JAXB binder; nested exception is
>> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
>> could not be instantiated: javax.xml.bind.JAXBException:
>> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
>> jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at org.springframework.beans.factory.parsing.
>> FailFastProblemReporter.error(FailFastProblemReporter.java:70)
>>
>>                 at org.springframework.beans.
>> factory.parsing.ReaderContext.error(ReaderContext.java:85)
>>
>>                 at org.springframework.beans.
>> factory.parsing.ReaderContext.error(ReaderContext.java:76)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
>> DefaultBeanDefinitionDocumentReader.java:255)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseDefaultElement(
>> DefaultBeanDefinitionDocumentReader.java:180)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:165)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:138)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:94)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.registerBeanDefinitions(
>> XmlBeanDefinitionReader.java:508)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.doLoadBeanDefinitions(
>> XmlBeanDefinitionReader.java:392)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 336)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 304)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:181)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:217)
>>
>>                 at org.springframework.beans.factory.support.
>> AbstractBeanDefinitionReader.loadBeanDefinitions(
>> AbstractBeanDefinitionReader.java:188)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
>> OsgiBundleXmlApplicationContext.java:170)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> OsgiBundleXmlApplicationContext.loadBeanDefinitions(
>> OsgiBundleXmlApplicationContext.java:140)
>>
>>                 at org.springframework.context.support.
>> AbstractRefreshableApplicationContext.refreshBeanFactory(
>> AbstractRefreshableApplicationContext.java:129)
>>
>>                 at org.springframework.context.support.
>> AbstractApplicationContext.obtainFreshBeanFactory(
>> AbstractApplicationContext.java:609)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.access$800(
>> AbstractDelegatedExecutionApplicationContext.java:60)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext$3.run(
>> AbstractDelegatedExecutionApplicationContext.java:242)
>>
>>                 at org.eclipse.gemini.blueprint.
>> util.internal.PrivilegedUtils.executeWithCustomTCCL(
>> PrivilegedUtils.java:85)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.startRefresh(
>> AbstractDelegatedExecutionApplicationContext.java:220)
>>
>>                 at org.eclipse.gemini.blueprint.extender.internal.
>> dependencies.startup.DependencyWaiterApplicationContextExecutor.stageOne(
>> DependencyWaiterApplicationContextExecutor.java:224)
>>
>>                 at org.eclipse.gemini.blueprint.extender.internal.
>> dependencies.startup.DependencyWaiterApplicationContextExecutor.refresh(
>> DependencyWaiterApplicationContextExecutor.java:177)
>>
>>                 at org.eclipse.gemini.blueprint.context.support.
>> AbstractDelegatedExecutionApplicationContext.refresh(
>> AbstractDelegatedExecutionApplicationContext.java:157)
>>
>>                 at org.eclipse.gemini.blueprint.
>> extender.internal.activator.LifecycleManager$1.run(
>> LifecycleManager.java:207)
>>
>>                 at java.util.concurrent.ThreadPoolExecutor.runWorker(
>> ThreadPoolExecutor.java:1142)
>>
>>                 at java.util.concurrent.ThreadPoolExecutor$Worker.run(
>> ThreadPoolExecutor.java:617)
>>
>>                 at java.lang.Thread.run(Thread.java:745)
>>
>> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
>> Failed to create the JAXB binder; nested exception is
>> javax.xml.bind.JAXBException: Provider com.sun.xml.internal.bind.v2.ContextFactory
>> could not be instantiated: javax.xml.bind.JAXBException:
>> "org.apache.camel.model.config" doesnt contain ObjectFactory.class or
>> jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
>> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:281)
>>
>>                 at org.springframework.beans.factory.xml.
>> AbstractSingleBeanDefinitionParser.parseInternal(
>> AbstractSingleBeanDefinitionParser.java:85)
>>
>>                 at org.springframework.beans.factory.xml.
>> AbstractBeanDefinitionParser.parse(AbstractBeanDefinitionParser.java:61)
>>
>>                 at org.springframework.beans.factory.xml.
>> NamespaceHandlerSupport.parse(NamespaceHandlerSupport.java:74)
>>
>>                 at org.springframework.beans.factory.xml.
>> BeanDefinitionParserDelegate.parseCustomElement(
>> BeanDefinitionParserDelegate.java:1411)
>>
>>                 at org.springframework.beans.factory.xml.
>> BeanDefinitionParserDelegate.parseCustomElement(
>> BeanDefinitionParserDelegate.java:1401)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.parseBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:168)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.doRegisterBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:138)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.registerBeanDefinitions(
>> DefaultBeanDefinitionDocumentReader.java:94)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.registerBeanDefinitions(
>> XmlBeanDefinitionReader.java:508)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.doLoadBeanDefinitions(
>> XmlBeanDefinitionReader.java:392)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 336)
>>
>>                 at org.springframework.beans.factory.xml.
>> XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:
>> 304)
>>
>>                 at org.springframework.beans.factory.xml.
>> DefaultBeanDefinitionDocumentReader.importBeanDefinitionResource(
>> DefaultBeanDefinitionDocumentReader.java:239)
>>
>>                 ... 26 more
>>
>> Caused by: javax.xml.bind.JAXBException: Provider
>> com.sun.xml.internal.bind.v2.ContextFactory could not be instantiated:
>> javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index
>>
>> - with linked exception:
>>
>> [javax.xml.bind.JAXBException: "org.apache.camel.model.config" doesnt
>> contain ObjectFactory.class or jaxb.index]
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:146)
>>
>>                 at javax.xml.bind.ContextFinder.
>> find(ContextFinder.java:356)
>>
>>                 at javax.xml.bind.JAXBContext.
>> newInstance(JAXBContext.java:431)
>>
>>                 at javax.xml.bind.JAXBContext.
>> newInstance(JAXBContext.java:394)
>>
>>                 at org.apache.camel.impl.DefaultModelJAXBContextFactory
>> .newJAXBContext(DefaultModelJAXBContextFactory.java:31)
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler.
>> getJaxbContext(CamelNamespaceHandler.java:217)
>>
>>                 at org.apache.camel.spring.handler.CamelNamespaceHandler$
>> RouteContextDefinitionParser.doParse(CamelNamespaceHandler.java:279)
>>
>>                 ... 39 more
>>
>> Caused by: javax.xml.bind.JAXBException: "org.apache.camel.model.config"
>> doesnt contain ObjectFactory.class or jaxb.index
>>
>>                 at com.sun.xml.internal.bind.v2.
>> ContextFactory.createContext(ContextFactory.java:266)
>>
>>                 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
>> Method)
>>
>>                 at sun.reflect.NativeMethodAccessorImpl.invoke(
>> NativeMethodAccessorImpl.java:62)
>>
>>                 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
>> DelegatingMethodAccessorImpl.java:43)
>>
>>                 at java.lang.reflect.Method.invoke(Method.java:498)
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:171)
>>
>>                 at javax.xml.bind.ContextFinder.newInstance(ContextFinder.
>> java:131)
>>
>>                 ... 45 more
>>



--
Claus Ibsen
-----------------
http://davsclaus.com @davsclaus
Camel in Action 2: https://www.manning.com/ibsen2
Loading...