You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2013/08/20 01:28:52 UTC

[jira] [Created] (JCR-3650) vlt: error when checkout against jackrabbit standalone

Tobias Bocanegra created JCR-3650:
-------------------------------------

             Summary: vlt: error when checkout against jackrabbit standalone
                 Key: JCR-3650
                 URL: https://issues.apache.org/jira/browse/JCR-3650
             Project: Jackrabbit Content Repository
          Issue Type: Bug
            Reporter: Tobias Bocanegra
            Assignee: Tobias Bocanegra


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/"





--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira