You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Patrick Maué <pa...@uni-muenster.de> on 2010/09/28 12:25:12 UTC

Setting up jackrabbit-webapp on Tomcat/Debian

Hi all,

i've spent quite some time trying to understand how to deploy
jackrabbit 2.1.1 on a default tomcat installed via apt in
debian/ubuntu. May be the following tips help others to avoid my
mistakes:

* When deployed, everything seems to run fine. But creating a new
repository with the wizard (e.g. with the name "myrepo") results in a
website telling me "Content Repository Exists". Logs don't help
either. Well, the problem is that the installer wants to create the
repository in /var/lib/tomcat6, which is not writeable. Changing the
owner to user "tomcat6" helps. Or specify an absolute path to a
writeable directory.

* You also have to copy the library "jcr-2.0.jar" to
"/usr/share/tomcat6/lib" (not jcr-1.0.jar, like the docs say).

* You can specify an absolute path in the wizard (e.g. /srv/jcr/myrepo).

best,
 Patrick

-- 
Patrick Maué
http://ifgi.uni-muenster.de/~pajoma/