Uploaded image for project: 'Jackrabbit FileVault'
  1. Jackrabbit FileVault
  2. JCRVLT-3

vlt: DavException when checkout against jackrabbit standalone

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0
    • None
    • None

    Description

      Trying to checkout against jackrabbit standalone produces:

      $ vlt --credentials admin:admin co --force http://localhost:8080/server/default/jcr:root/ .
      Checkout http://localhost:8080/server/default/jcr:root/ with local files using root at /Users/tripod/tmp/vlttest/co/jcr_root
      Connecting via JCR remoting to http://localhost:8080/server
      [ERROR] checkout: org.apache.jackrabbit.vault.vlt.VltException: Unable to mount filesystem
      caused by: javax.jcr.RepositoryException: unknown protocol: about
      caused by: org.apache.jackrabbit.webdav.DavException: unknown protocol: about

      And the jetty.log shows:

      2013-08-19 16:21:47.408 WARN [1788647656@qtp-1788255273-6] Slf4jLog.java:76 /server/: java.net.MalformedURLException: unknown protocol: about

      This is caused by a referrer header that is set to "about:blank" in order to circumvent empty-referrer header checks in other servers. I suggest to make this configurable, and default to "http://localhost/"

      Attachments

        Activity

          People

            tripod Tobias Bocanegra
            tripod Tobias Bocanegra
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: