Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.24.2
-
None
-
None
-
Unknown
Description
Hello,
when trying to use an OSGi feature in Karaf, using camel-script and camel-script-javascript,
we have this error with Karaf started with Java 11:
karaf@trun()> diag bugTest (330) ------------- Status: Failure Declarative Services Blueprint 17/06/2020 11:56 Exception: null java.util.concurrent.TimeoutException at org.apache.aries.blueprint.container.BlueprintContainerImpl$1.run(BlueprintContainerImpl.java:393) at org.apache.aries.blueprint.utils.threading.impl.DiscardableRunnable.run(DiscardableRunnable.java:45) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:834)Missing dependencies: (&(language=js)(objectClass=org.apache.camel.spi.LanguageResolver))
When using the same OSGi with Karaf started with Java 8, the bundle starts correctly.
Do you have an idea?