You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Philip Andrew (JIRA)" <ji...@apache.org> on 2016/09/10 02:53:20 UTC

[jira] [Created] (CAMEL-10304) Apache Camel Docker component not working in OSGi environment

Philip Andrew created CAMEL-10304:
-------------------------------------

             Summary: 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: Critical


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)