camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip Andrew (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-10304) Apache Camel Docker component not working in OSGi environment
Date Sat, 10 Sep 2016 02:53:20 GMT
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)

Mime
View raw message