[ 
https://issues.apache.org/jira/browse/DOSGI-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15793045#comment-15793045
 ] 

Oliver Schweitzer commented on DOSGI-253:
-----------------------------------------

I should probably describe what a clean container is in this context - a custom 
distribution with this maven setup:
{{code}}
<plugin>
                <groupId>org.apache.karaf.tooling</groupId>
                <artifactId>karaf-maven-plugin</artifactId>
                <configuration>
                    <startupFeatures>
                        <feature>eventadmin</feature>
                    </startupFeatures>
                    <bootFeatures>
                        <feature>standard</feature>
                        <feature>scr</feature>
                        <feature>webconsole</feature>
                    </bootFeatures>
                </configuration>
            </plugin>
{{code}}

> 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)

Reply via email to