camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Willem Jiang (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (CAMEL-3327) update the camel-cxf feature for cxf 2.3.0
Date Tue, 04 Jan 2011 10:09:48 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-3327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Willem Jiang reopened CAMEL-3327:
---------------------------------


If we use servicemix spec 1.6.0 of the JAXB API 2.2 bundle, we will get this error.
{code}
org.springframework.beans.factory.BeanDefinitionStoreException: Unexpected exception parsing
XML document from URL [bundle://50.0:0/org/apache/camel/itest/osgi/servlet/CamelServletContext.xml];
nested exception is java.lang.NoSuchMethodError: javax.xml.bind.ContextFinder.find(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/util/Map;)Ljavax/xml/bind/JAXBContext;
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:412)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)
        at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:302)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:143)
        at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:178)
...
Caused by: java.lang.NoSuchMethodError: javax.xml.bind.ContextFinder.find(Ljava/lang/String;Ljava/lang/String;Ljava/lang/ClassLoader;Ljava/util/Map;)Ljavax/xml/bind/JAXBContext;
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:412)
        at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:375)
        at org.apache.camel.spring.handler.CamelNamespaceHandler.createJaxbContext(CamelNamespaceHandler.java:187)
        at org.apache.camel.spring.handler.CamelNamespaceHandler.getJaxbContext(CamelNamespaceHandler.java:174)
        at org.apache.camel.spring.handler.CamelNamespaceHandler$CamelContextBeanDefinitionParser.doParse(CamelNamespaceHandler.java:257)

{code}

Servicemix spec 1.7-SNAPSHOT fixed this issue.

> update the camel-cxf feature for cxf 2.3.0
> ------------------------------------------
>
>                 Key: CAMEL-3327
>                 URL: https://issues.apache.org/jira/browse/CAMEL-3327
>             Project: Camel
>          Issue Type: Task
>          Components: karaf
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.6.0
>
>
> As CXF 2.3.0 is using JAXWS 2.2, JAXB 2.2 , JARS 1.1 and Jetty 7, need to update the
karaf feature files for it.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message