Hi Mike > I can load the /system/console, but not the .explorer.html app. If I > set customBlobStore=B"false" it works correctly again.
Are you referring to (a) configuration being changed in a running system? (b) configuration changed in previously initialised system and a subsequent restart? (c) a completely new system with the changed configuration, started for the first time? I would only expect (c) to work. If it doesn't, go to /system/console/components and find the SegmentNodeStoreService, click on it and check that for the "Reference blobStore" is "Satisfied" and is "Bound" to a service with the PID org.apache.jackrabbit.oak.plugins.blob.datastore.OakFileDataStore. Note: in your original post you used org.apache.jackrabbit.core.data.FileDataStore as the configuration PID instead of org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore. The change was in Robert's post, not sure if you noticed. Just verifying, but this could be a possible cause for your issues. Regards Julian On Thu, Oct 6, 2016 at 4:19 PM, Mike Nimer <mni...@gmail.com> wrote: > One problem when I make this change Sling will not start correctly. > When I try to load an html page from my content bundle or the default > app I get this message > > "AuthenticationSupport service missing. Cannot authenticate request." > > I can load the /system/console, but not the .explorer.html app. If I > set customBlobStore=B"false" it works correctly again. > > any ideas? > --mike > > > On Mon, Oct 3, 2016 at 7:44 AM, Robert Munteanu <romb...@apache.org> wrote: >> Hi Mike, >> >> On Tue, 2016-09-06 at 19:26 -0500, Mike Nimer wrote: >>> If I want to use the FileDataStore for blobs, with the >>> SegmentNodeStore. What dependencies do I need to add to my >>> provisioning txt files, for launched 9-SNAPSHOT? >>> >>> Config: >>> ================ >>> [configurations runModes=oak_tar] >>> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService >>> name="Default\ NodeStore" >>> customBlobStore="true" >>> >>> org.apache.jackrabbit.core.data.FileDataStore >>> minRecordLength="1024" >>> cacheSize="10000000" >>> path="sling/files" >>> =================== >>> >>> I thought this would do it: >>> org.apache.sling/org.apache.sling.installer.core/3.6.8 >>> >>> >>> When I set CustomBlogStore="true" the server starts up without any >>> errors but I can not load the home page or /system/console app. And >>> I >>> noticed that under the sling home folder I don't have the >>> /repository/segmentstore folder or a /sling/files folder. >> >> The following minimal changes worked for me >> >> diff --git a/launchpad/builder/src/main/provisioning/oak.txt >> b/launchpad/builder/src/main/provisioning/oak.txt >> index 0d0d96b..49fde19 100644 >> --- a/launchpad/builder/src/main/provisioning/oak.txt >> +++ b/launchpad/builder/src/main/provisioning/oak.txt >> @@ -83,6 +83,10 @@ >> [configurations runModes=oak_tar] >> org.apache.jackrabbit.oak.plugins.segment.SegmentNodeStoreService >> name="Default\ NodeStore" >> + customBlobStore=B"true" >> + >> + org.apache.jackrabbit.oak.plugins.blob.datastore.FileDataStore >> + minRecordLength=I"4096" >> >> [configurations runModes=oak_mongo] >> org.apache.jackrabbit.oak.plugins.document.DocumentNodeStoreService >> >> The main difference is that you would need to indicate the type of the >> configuration property - so I for numeric and B for boolean. >> >> After making this change and building a new launchpad the FDS writes >> the blobs under sling/repository/repository/datastore. By adding the >> 'path' configuration option you should be able to control its location. >> >> HTH and sorry for the late reply :-) >> >> Robert