Sent the previous mail before completing.
Did you have a look at apache-sling? I think now sling supports a karaf
feature file. Even otherwise you can find a lot of information
sling-feature.xml
I had installed these on Karaf sometime back with the bundles (I had to
manually resolve all the dependencies then) : Guava(15.0), javax.jcr,
commons-io, mongo-java-driver, jackrabbit-api, jackrabbit-jcr-commons,
oak-commons, oak-mk-api, oak-blob, oak-core, oak-mk, oak-jcr. It had a
specific requirement of guava 15.0.
I created a config entry in the feature file: <config
name="org.apache.jackrabbit.oak.jcr.osgi.RepositoryManager"></config> Also
look at sling-feature.xml in the sling project and it will give you a clue
of the config requirements. It has the section below:
<configfile
finalname="/etc/org.apache.sling.jcr.repoinit.impl.RepositoryInitializer.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.sling.jcr.repoinit.impl.RepositoryInitializer</configfile>
<!-- http://jackrabbit.apache.org/oak/docs/osgi_config.html -->
<configfile
finalname="/etc/org.apache.felix.jaas.Configuration.factory-GuestLoginModule.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.felix.jaas.Configuration.factory-GuestLoginModule</configfile>
<configfile
finalname="/etc/org.apache.felix.jaas.Configuration.factory-LoginModuleImpl.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.felix.jaas.Configuration.factory-LoginModuleImpl</configfile>
<configfile
finalname="/etc/org.apache.felix.jaas.Configuration.factory-TokenLoginModule.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.felix.jaas.Configuration.factory-TokenLoginModule</configfile>
<configfile
finalname="/etc/org.apache.felix.jaas.ConfigurationSpi.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.felix.jaas.ConfigurationSpi</configfile>
<configfile
finalname="/etc/org.apache.jackrabbit.oak.security.authentication.AuthenticationConfigurationImpl.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.jackrabbit.oak.security.authentication.AuthenticationConfigurationImpl</configfile>
<configfile
finalname="/etc/org.apache.jackrabbit.oak.security.user.UserConfigurationImpl.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.jackrabbit.oak.security.user.UserConfigurationImpl</configfile>
<configfile
finalname="/etc/org.apache.jackrabbit.oak.security.user.RandomAuthorizableNodeName.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/org.apache.jackrabbit.oak.security.user.RandomAuthorizableNodeName</configfile>
<configfile
finalname="/etc/org.apache.jackrabbit.oak.spi.security.user.action.DefaultAuthorizableActionProvider.config">mvn:org.apache.sling/org.apache.sling.karaf-configs/${project.version}/config/o
Regards,
Rahul
On Sun, Sep 24, 2017 at 7:16 AM, Rahul Raj <[email protected]>
wrote:
> Oleg,
>
> I have it working with a slightly older version of Oak backed by Mongo.
> These are the bundles I had to install.
> Guava, javax.jcr, commons-io, mongo-java-driver, jackrabbit-api,
> jackrabbit-jcr-commons, oak-commons, oak-mk-api, oak-blob, oak-core,
> oak-mk, oak-jcr
>
> Regards,
> Rahul
>
> On Fri, Sep 22, 2017 at 11:41 PM, Oleg Cohen <[email protected]>
> wrote:
>
>> Greetings,
>>
>> 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.SecondaryStoreCacheService
>> (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.
>>
>> Thank you!
>> Oleg
>>
>>
>
--
**** This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom it is
addressed. If you are not the named addressee then you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately and delete this e-mail from your system.****