Join GitHub today
PHPCR repository admin
There are both web and CLI interfaces for managing repositories.
There are "phpmyadmin" style tools to browse a PHPCR repository.
- marmelab phpcr-browser (php, readonly)
- Jackrabbitexplorer (java, only for jackrabbit)
PHPCRBrowser(deprecated in favor of marmelab phpcr-browser)
Setup instructions are found in the readme of the git repository.
This is a Java application that works with Jackrabbit. The plus is that it will give you all the admin power you need, like:
- Drag and dropping of nodes with subnodes
- Removing nodes
- Editing properties
Currently Jackrabbitexplorer doesnt support viewing weak references (properties are left out). Due to a bug in jackrabbit see https://issues.apache.org/jira/browse/JCR-3260 . As soon as this bug is fixed in a new stable release, the authors promise a new jackrabbitexporer release.
Setting up jackrabbitexplorer
This setup guide is based on this blog post by netvlies.
Prerequisites for setting up
Jackrabbit explorer is built as a war file which must be run in a java-enabled-webapp-server, like tomcat, jboss, etc. This manual focusses on tomcat6.
I won't go into detail how to setup tomcat6, I assume you know how to this, and there are many manuals which will explain how to do so.
(Consider moving jackrabbit into tomcat6 as well, this way you will save memory because you just need one java-enabled-webapp-server. Also other servers like Solr can be installed within tomcat)
You will need a running jackrabbit server. It doesnt matter if it runs under tomcat6 or as standalone server. Jackrabbit explorer will run on both.
Setting it up
- Download the modified war file and copy it to your webapps directory (e.g. /var/lib/tomcat6/webapps on CentOS)
- (only needed when you are using standalone jackrabbit server) Setup JCR lib in tomcat 6. Download JCR specification (http://download.oracle.com/otndocs/jcp/content_repository-2.0-fr-oth-JSpec) and move jcr-2.0.jar to tomcat6 lib directory (/usr/share/tomcat6/lib on CentOS/Ubuntu)
- Restart tomcat6
If all went well, you can find the app by navigating to your tomcat webserver e.g. http://localhost:8081/jackrabbitexplorer
Here you need to fill in your connection params to your jackrabbit server. I have only tested the RMI connection. Some examples:
When running jackrabbit as WAR (tomcat is on 8081)
- RMI URL: http://localhost:8081/jackrabbit/rmi
When running jackrabbit standalone on 8080
- RMI URL: http://localhost:8080/rmi
Screenshots and background details
See netvlies blog
This is a Symfony2 console application which wraps the standard PHPCR-Util commands in an interactive shell.
It is inspired both by the standard MySQL shell and standard filesystem navigation commands (