Jackrabbit Repository Installation & Configuration

From Gcube Wiki
Revision as of 16:37, 1 August 2013 by Valentina.marioli (Talk | contribs) (Configuration Overview)

Jump to: navigation, search


The Apache Jackrabbit content repository is a fully conforming implementation of the Content Repository for Java Technology API. A content repository is a hierarchical content store with support for structured and unstructured content, full text search, versioning, transactions, observation, and more.

Configuration Overview

All you need to do is the following:


If web-application deployment is successful, pointing you browser to jackrabbit-webapp-<version> you can see the follow page:

Welcome-web-app-jackrabbit.png

Use this URL http://localhost:8080/jackrabbit-webapp-patched-<version>/repository/default/ to access the content repository in your WebDAV client.

The server asks for authentication, username and password are provided as init parameters in web.xml file for RepositoryStartup servlet.

An other parameter you can set is the repository-path, the path where the jackrabbit repository will be installed. The web-app will use these parameters at deployment time.

Repository Configuration

Jackrabbit's main configuration lies in the so-called repository.xml file. It contains global configuration such as Login and Access Management, Versioning or Clustering. Then it defines how the actual data for a certain workspace should be stored by choosing a PersistenceManager and what search/query implementation to use by defining a SearchIndex.

Node Type Registry

Each Jackrabbit instance has a NodeTypeRegistry which is created on start-up and populated with the set of built-in node types.

Node types are defined in /jackrabbit/repository/nodetypes/custom_nodetypes.xml using the "Compact Namespace and Node Type Definition" (CND) notation, then register them using the JackrabbitNodeTypeManager.

Remote Access

Jackrabbit supports remote access using DavEx (WebDAV with JCR extensions, since Jackrabbit 2.0) and an RMI layer called JCR-RMI. Jackrabbit 2.0 supports the DavEx protocol through the Jackrabbit WebDAV server included in the Jackrabbit web application and the Standalone Server. The web application exposes the DavEx interface at http://<server>/<context>/server and the standalone server by default at http://localhost:8080/server.