You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Oliver Schweitzer (JIRA)" <ji...@apache.org> on 2017/01/02 10:20:58 UTC

[jira] [Created] (DOSGI-253) CXF DOSGI JAX-RS incompatible with Camel features

Oliver Schweitzer created DOSGI-253:
---------------------------------------

             Summary: CXF DOSGI JAX-RS incompatible with Camel features
                 Key: DOSGI-253
                 URL: https://issues.apache.org/jira/browse/DOSGI-253
             Project: CXF Distributed OSGi
          Issue Type: Bug
          Components: REST
    Affects Versions: 2.0.0
         Environment: Java 8 Karaf 4.0.8 Camel 2.18.1
            Reporter: Oliver Schweitzer


Steps to reproduce in a clean karaf container:

feature:repo-add mvn:org.apache.camel.karaf/apache-camel/2.18.1/xml/features
feature:repo-add mvn:org.apache.cxf.dosgi/cxf-dosgi-samples/2.0.0/xml/features
feature:install cxf-dosgi-sample-rest-impl
get 
GET http://localhost:8181/cxf/tasks/1 
---> Works, returns xml

Now to recreate the problem:

feature:install camel-core
GET http://localhost:8181/cxf/tasks/1 
---> Fails, in browser:
JAXBException occurred : com.sun.xml.bind.v2.ContextFactory not found by org.apache.cxf.cxf-rt-transports-http [124]. 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)