OK i am not very to karaf, i hadjust not gone beyond experimenting except recent times. i have 3 repositories.
one of them if called a-common bundle. it basically imports packages of dependency and since i dont specify anything extra, it exports its packages as expected. this bundle is imported by another bundle called b-bundle let's say. for some reason, the package is getting exported twice there is no explicit export of a-common in b-bundle. admin@root()> bundle:classes | grep -i jaxrseve 251 | xyz.JaxRsEventAdapter.class | exported: true 252 | xyz.JaxRsEventAdapter.class | exported: false 254 | xyz.JaxRsEventAdapter.class | exported: false --------------------- Status: Failure Blueprint 7/5/23 10:53 PM 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.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750) Missing dependencies: (objectClass=xyz.JaxRsEventAdapter) Declarative Services i have tried quite a lot of combinations. couldn't yet come up with proper solution even though the problem sounds awful easy. Any idea is appreciated.
