Andrei Dulceanu created SLING-5530:
--------------------------------------
Summary: 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
Priority: Minor
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)