You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2016/02/18 11:36:18 UTC

[jira] [Assigned] (SLING-5530) Configuring DocumentNodeStore to use FileDataStore with latest Sling Launchpad doesn't work

     [ https://issues.apache.org/jira/browse/SLING-5530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu reassigned SLING-5530:
--------------------------------------

    Assignee: Robert Munteanu

> Configuring DocumentNodeStore to use FileDataStore with latest Sling Launchpad doesn't work
> -------------------------------------------------------------------------------------------
>
>                 Key: SLING-5530
>                 URL: https://issues.apache.org/jira/browse/SLING-5530
>             Project: Sling
>          Issue Type: Bug
>          Components: Launchpad, Oak
>            Reporter: Andrei Dulceanu
>            Assignee: Robert Munteanu
>            Priority: Minor
>             Fix For: Launchpad Builder 9
>
>         Attachments: FileDataStore.patch
>
>
> I tried to configure DocumentNodeStore to use FileDataStore with Sling Launchpad 8, as advised in [0]. 
> For this I created in ${sling.home}/install the following configurations:
> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService.cfg
> customBlobStore=true
> org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore.cfg
> minRecordLength=4096
> path=/some/path
> When starting launchpad with java -jar org.apache.sling.launchpad-9-SNAPSHOT.jar -Dsling.fileinstall.dir=sling/install the following exception is thrown:
> *ERROR* [CM Event Dispatcher (Fire ConfigurationEvent: pid=org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore)] org.apache.jackrabbit.oak-core [org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore(196)] Error during instantiation of the implementation object (java.lang.NoClassDefFoundError: org/apache/jackrabbit/core/data/DataStore)
> The reason is that org.apache.jackrabbit/jackrabbit-data/${jackrabbit.version} bundle is missing from the provisioning model. Adding it solved the problem.
> [0] https://jackrabbit.apache.org/oak/docs/osgi_config.html#config-sling



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)