Apache Jackrabbit Boot project: Spring Boot based, simple executable web application running Apache Jackrabbit Repository with JCR over WebDAV servlet for both JCR clients and Web Remoting clients.
mvn clean packageFor example,
java \
-Drepository.home=target/jackrabbit-repository \
-Drepository.config=conf/simple-repository.xml \
-Dloader.path=lib/ \
-jar target/jackrabbit-boot-0.1.0-SNAPSHOT.jarNote:
- If
repository.homesystem property is missing,./jackrabbit-repositorywill be used by default. - If
repository.configsystem property is missing,repository.xmlunder therepository.homedirectory is used. If not existing, arepository.xmlis copied to the directory with default settings. - The
-Dloader.pathsystem property is optional. If provided, all the jar files in the directory will be loaded. e.g, JDBC driver jar files.
With remote debugging:
java \
-Drepository.home=target/jackrabbit-repository \
-Drepository.config=conf/simple-repository.xml \
-Dloader.path=lib/ \
-Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n \
-jar target/jackrabbit-boot-0.1.0-SNAPSHOT.jarThe JCR over WebDAV Server Servlet becomes accessible through http://localhost:8080/server.
For example,
curl -i --user admin:admin http://localhost:8080/server/default/jcr:rootThe Statistics Servlet becomes accessible through http://localhost:8080/statistics.
For example,
curl -i http://localhost:8080/statistics