hi david are you looking for real webdav support or for the jcr remoting which is partially done with webdav request methods?
kind regards angela On 17/11/15 01:46, "David Marginian" <[email protected]> wrote: >I am new to both JackRabbit and Oak and trying to upgrade an existing >system to use Oak. I want to access the repo via webdav and currently I >obtain the repo by passing the URL into JcrUtils.getRepository. I am >struggling to figure out how to do the same thing in Oak. I am running >the Oak server via the jar: > >java -jar oak-run-1.2.7.jar server http://localhost:8452 Oak-Mongo --db >myOak --host localhost --port 8524 > >this creates the myOak DB in Mongo and I can hit >http://localhost:8452/webdav/default via the browser. But when I try to >use JcrUtils.getRepository from my code I get: > >Caused by: javax.jcr.RepositoryException: Unable to access a repository >with the following settings: > org.apache.jackrabbit.repository.uri: >http://localhost:8452/webdav/default >The following RepositoryFactory classes were consulted: > org.apache.jackrabbit.jcr2dav.Jcr2davRepositoryFactory: declined > org.apache.jackrabbit.jcr2spi.Jcr2spiRepositoryFactory: declined > org.apache.jackrabbit.oak.jcr.OakRepositoryFactory: declined > org.apache.jackrabbit.commons.JndiRepositoryFactory: declined > >I realize I am using the old JackRabbit API but I am not sure how to do >this via Oak. I am sure I am missing something basic, can someone help >me out, point me in the right direction? > >Thanks for your time
