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

Claus Ibsen resolved CAMEL-10304.
---------------------------------
    Resolution: Later

Camel 2.18 onwards has a refactored docker component using a newer client.

We are not fixing anything on this older version.

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

Reply via email to