Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-10304

Apache Camel Docker component not working in OSGi environment

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Later
    • Affects Version/s: 2.17.3
    • Fix Version/s: None
    • Component/s: camel-docker
    • Labels:
      None
    • Environment:

      Windows

    • Estimated Complexity:
      Unknown

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              philip142au Philip Andrew
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: