camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Cosentino (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10304) Apache Camel Docker component not working in OSGi environment
Date Wed, 21 Sep 2016 06:32:20 GMT

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

Andrea Cosentino commented on CAMEL-10304:
------------------------------------------

Also I noticed we don't have the Karaf feature anymore.

It has been removed.

> Apache Camel Docker component not working in OSGi environment
> -------------------------------------------------------------
>
>                 Key: CAMEL-10304
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10304
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-docker
>    Affects Versions: 2.17.3
>         Environment: Windows
>            Reporter: Philip Andrew
>            Priority: Minor
>
> I can not use camel-docker in the OSGi environment, exception is thrown.
> java.lang.RuntimeException: java.lang.ClassNotFoundException: Provider org.glass fish.jersey.internal.RuntimeDelegateImpl
could not be instantiated: java.lang.Il legalStateException: No generator was provided and
there is no default generator registered
> If I do the following workaround then it can work
> RuntimeDelegate.setInstance(new org.glassfish.jersey.server.internal.RuntimeDelegateImpl())
> http://stackoverflow.com/questions/39382056/how-to-get-apache-camel-docker-component-to-work-in-osgi-or-jersey-does-not-wo



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

Mime
View raw message