Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 1.88 KB

File metadata and controls

66 lines (46 loc) · 1.88 KB

jackrabbit-boot

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.

How to build

mvn clean package

How to run

For example,

java \
    -Drepository.home=target/jackrabbit-repository \
    -Drepository.config=conf/simple-repository.xml \
    -Dloader.path=lib/ \
    -jar target/jackrabbit-boot-0.1.0-SNAPSHOT.jar

Note:

  • If repository.home system property is missing, ./jackrabbit-repository will be used by default.
  • If repository.config system property is missing, repository.xml under the repository.home directory is used. If not existing, a repository.xml is copied to the directory with default settings.
  • The -Dloader.path system 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.jar

JCR over WebDAV access

The 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:root

Other Services

The Statistics Servlet becomes accessible through http://localhost:8080/statistics.

For example,

curl -i http://localhost:8080/statistics

References