camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From philip368320 <philip368...@gmail.com>
Subject Camel Docker component does not work in the OSGi environment, but I have a solution
Date Thu, 08 Sep 2016 03:37:12 GMT
Hi,I found that the Camel Docker component does not work in the OSGi
environment unless I add the following at startup (in a Scala Object in my
case, as soon as the object is loaded then this runs).The error I get is:
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 registeredI add this to fix the
problem.RuntimeDelegate.setInstance(new
org.glassfish.jersey.server.internal.RuntimeDelegateImpl())I created a
stackoverflow question for this
http://stackoverflow.com/questions/39382056/how-to-get-apache-camel-docker-component-to-work-in-osgi-or-jersey-does-not-wo
<http://stackoverflow.com/questions/39382056/how-to-get-apache-camel-docker-component-to-work-in-osgi-or-jersey-does-not-wo>

Do you consider this a bug in Camel Docker? as I would expect Camel Docker
to just work immediately in the OSGi environment. Philip



--
View this message in context: http://camel.465427.n5.nabble.com/Camel-Docker-component-does-not-work-in-the-OSGi-environment-but-I-have-a-solution-tp5787337.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message