On Monday 25 September 2017 13:01:10 Oleg Cohen wrote:
> Thank you Oliver and Rahul!
> 
> Oliver,
> 
> I have been using your Sling’s features file as a template to package my own
> Oak’s distribution for Karaf. It is awesome!
> 
> I have tried the latest and seeing this issue on install of
> sling-launchpad-oak-mongo
> 
> org.osgi.service.resolver.ResolutionException: Unable to resolve
> org.apache.jackrabbit.oak-core/1.6.5: missing requirement
> [org.apache.jackrabbit.oak-core/1.6.5] osgi.wiring.package;
> filter:="(osgi.wiring.package=org.apache.jackrabbit.oak.spi.whiteboard)”
> 
> Any ideas?

No, I cannot reproduce. The package org.apache.jackrabbit.oak.spi.whiteboard 
is exported by oak-core itself.

The Oak ITs for Karaf at Sling are disabled because Oak does not handle 
component configurations coming late properly, but I tried manually and all is 
working fine. You can enable those ITs with the patch from SLING-7010.
 
> Also, I do recall installing this a few days ago against the previous
> version. All came up ok, but the oak-core was still in the Waiting state
> when I listed in the Karaf shell. Using diag <BUNDLE_NUMBER> gave me a list
> of three components whose references were not satisfied. So far I only
> traced the BlobMigration one. I would love to try with the latest version
> to make sure these issues are gone.
> 
> It is missing a reference to a splitBlobStore. There is no available service
> component that is of the right type and with the correct
> PID=org.apache.jackrabbit.oak.spi.blob.split.SplitBlobStore and of type
> org.apache.jackrabbit.oak.spi.blob.BlobStore.

There are always some unsatisfied components hanging around but you don't have 
to care. SplitBlobStore is not required in a default setup.

Can you start over with a fresh Karaf instance and the features from Sling?

HTH,
O.

> Thank you,
> Oleg
> 
> > On Sep 25, 2017, at 8:52 AM, Oliver Lietz <[email protected]> wrote:
> > 
> > On Friday 22 September 2017 14:11:29 Oleg Cohen wrote:
> >> Greetings,
> > 
> > Hi Oleg,
> > 
> >> I have deployed Oak 1.6.5 into a Karaf OSGi container version 4.1.2. All
> >> came up fine, except that I see the Oak Core bundle in a Waiting State.
> >> 
> >> 1193 │ Waiting  │  80 │ 1.6.5                       │ Oak Core
> >> 
> >> When I check for more info I see that some services haven’t come up.
> >> 
> >> karaf@root()> diag 1193
> >> Oak Core (1193)
> >> ---------------
> >> Status: Waiting
> >> Declarative Services
> >> 
> >> org.apache.jackrabbit.oak.plugins.blob.ConsolidatedDataStoreCacheStats
> >> (8)
> >> 
> >>  missing references: cachingDataStore
> >> 
> >> org.apache.jackrabbit.oak.plugins.blob.migration.BlobMigration (21)
> >> 
> >>  missing references: splitBlobStore
> >> 
> >> org.apache.jackrabbit.oak.plugins.document.secondary.SecondaryStoreCacheS
> >> erv ice (14) missing references: secondaryStoreProvider, executor
> >> 
> >> 
> >> I am using Document NodeStore backed by a MongoDB.
> >> 
> >> Wondering if anybody ran into a similar situation and figured out a way
> >> to
> >> fix these issues.
> > 
> > as Rahul already wrote have a look at Sling Karaf. I've just updated
> > Sling's Karaf features to use latest releases including Oak and Karaf
> > itself.
> > 
> > Regards,
> > O.
> > 
> >> Thank you!
> >> Oleg

Reply via email to