Uploaded image for project: 'Archiva'
  1. Archiva
  2. MRM-1774

RepositoryAdminException when configuring a custom JCR repository path

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.4-M4
    • Backlog
    • None
    • Debian 6.0.7 kernel 2.6.32-5-686
      OpenJDK 1.6.0_18
      tomcat 6.0.35

    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).

      Attachments

        1. archiva-error.log
          329 kB
          Mario Steinhoff

        Activity

          People

            Unassigned Unassigned
            msteinhoff Mario Steinhoff
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: