On Thu, 2016-10-06 at 09:19 -0500, Mike Nimer 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?
Not without looking into more details. Can you post a simple project which reproduces the issue on github ? Thanks, Robert > --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.SegmentNodeStoreServic > > e > > 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.DocumentNodeStoreServ > > ice > > > > 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