Details
Description
This is a standard debian tomcat install where the tomcat user does not have write access to the tomcat folder itself. All archiva data is placed on a separate partition at /mnt/datastore1/archiva.
When I try to configure an alternative jackrabbit repository location as described here by setting the jcr-config's constructor-arg to my custom path, the jackrabbit repository is created but the following exception shows up in the archiva.log:
org.apache.archiva.admin.model.RepositoryAdminException: Cannot create directory: /var/lib/tomcat6/data/remotes/central/.index
I tried to grep for '/data' in the war folder but haven't found anything except the jcr repository part. Where does this path come from?
I currently have created a symlink that points to the archiva data location which works fine but I don't like this solution because now I have to maintain configuration at multiple locations (symlink+config files).