1. Sebastian Sebastian
  2. scm-manager
  3. Issues

Issues

Issue #420 resolved

SVN locks does not work with svnkit

Anonymous created an issue

When I tested my SVN repository, most of the essential functions worked flawlessly.

But when I tried to apply file locks, I came across this message:

> svn lock test.txt
svn: E200035: sqlite: LOCK.lock_token may not be NULL (S19)
svn: E200035: Additional errors:
svn: E200035: sqlite: LOCK.lock_token may not be NULL (S19)

By peeking into my reverse proxy access log, it did reveal some HTTP error codes:

myhost - - [20/Jul/2013:23:59:23 +0000] "OPTIONS /scm/svn/proj/proj-test HTTP/1.1" 401 0 "-" "SVN/1.8.0 (x86_64-unknown-linux-gnu) serf/1.2.1"
myhost - mark [20/Jul/2013:23:59:23 +0000] "OPTIONS /scm/svn/proj/proj-test HTTP/1.1" 200 171 "-" "SVN/1.8.0 (x86_64-unknown-linux-gnu) serf/1.2.1"
myhost - mark [20/Jul/2013:23:59:23  +0000] "LOCK /scm/svn/proj/proj-test/test.txt HTTP/1.1" 400 0 "-" "SVN/1.8.0 (x86_64-unknown-linux-gnu) serf/1.2.1"

I following enabled debugging of svnkit and investigated the scm-manager log to get closer to the culprit:

23:59:23.313 [qtp489242803-18] DEBUG svnkit.network -
request.getAuthType(): BASIC
request.getCharacterEncoding(): UTF-8
request.getContentType(): text/xml
request.getContextPath(): /scm
request.getContentLength(): 131
request.getMethod(): OPTIONS
request.getPathInfo(): 
request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/proj/proj-test
request.getQueryString(): null
request.getRemoteAddr(): 127.0.0.1
request.getRemoteHost(): 127.0.0.1
request.getRemoteUser(): mark
request.getRequestURI(): /scm/svn/proj/proj-test
request.getServerName(): mark@myhost
request.getServerPort(): 80
request.getServletPath(): /svn/proj/proj-test
request.getRequestURL(): http://mark@myhost/scm/svn/proj/proj-test
23:59:23.632 [qtp489242803-17] DEBUG svnkit.network -
request.getAuthType(): BASIC
request.getCharacterEncoding(): UTF-8
request.getContentType(): text/xml
request.getContextPath(): /scm
request.getContentLength(): 154
request.getMethod(): LOCK
request.getPathInfo(): /test.txt
request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/proj/proj-test/test.txt
request.getQueryString(): null
request.getRemoteAddr(): 127.0.0.1
request.getRemoteHost(): 127.0.0.1
request.getRemoteUser(): mark
request.getRequestURI(): /scm/svn/proj/proj-test/test.txt
request.getServerName(): mark@myhost
request.getServerPort(): 80
request.getServletPath(): /svn/proj/proj-test
request.getRequestURL(): http://mark@myhost/scm/svn/proj/proj-test/test.txt
23:59:23.648 [qtp489242803-17] DEBUG svnkit.network - An invalid Depth header was specified.
23:59:23.654 [qtp489242803-17] DEBUG svnkit.network - An invalid Depth header was specified.
org.tmatesoft.svn.core.internal.server.dav.DAVException: An invalid Depth header was specified.
        at org.tmatesoft.svn.core.internal.server.dav.handlers.DAVLockRequest.parseLockInfo(DAVLockRequest.java:53) ~[svnkit-dav-1.7.9-scm2.jar:na]
        at org.tmatesoft.svn.core.internal.server.dav.handlers.DAVLockHandler.execute(DAVLockHandler.java:76) ~[svnkit-dav-1.7.9-scm2.jar:na]
        at org.tmatesoft.svn.core.internal.server.dav.DAVServlet.service(DAVServlet.java:132) ~[svnkit-dav-1.7.9-scm2.jar:na]
        at sonia.scm.web.SvnDAVServlet.service(SvnDAVServlet.java:122) [scm-svn-plugin-1.32.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [javax.servlet-2.5.0.v201103041518.jar:na]
        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na]
        at sonia.scm.web.filter.PermissionFilter.doFilter(PermissionFilter.java:171) [scm-core-1.32.jar:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.32.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at sonia.scm.web.filter.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:186) [scm-core-1.32.jar:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.32.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at sonia.scm.filter.GZipFilter.doFilter(GZipFilter.java:112) [scm-core-1.32.jar:na]
        at sonia.scm.web.SvnGZipFilter.doFilter(SvnGZipFilter.java:124) [scm-svn-plugin-1.32.jar:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.32.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at sonia.scm.filter.BaseUrlFilter.doFilter(BaseUrlFilter.java:117) [classes/:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.32.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.2.jar:1.2.2]
        at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.2.jar:1.2.2]
        at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2]
        at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2]
        at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.2.jar:1.2.2]
        at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.2.jar:1.2.2]
        at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.2.jar:1.2.2]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na]
        at sonia.scm.boot.BootstrapFilter.doFilter(BootstrapFilter.java:104) [classes/:na]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) [jetty-security-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.Server.handle(Server.java:369) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:944) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1005) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) [jetty-http-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) [jetty-http-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
        at java.lang.Thread.run(Thread.java:679) [na:1.6.0_27]

Comments (10)

  1. Mark Luberoff

    Thanks a lot so far! Locking works now. However, I'm unable to do a commit when a file is locked under my own username from the same working directory, unless I manually unlock the file, and this is not the intended behavior as far as I'm concerned.

    Here's the log when I'm locking a file:

    > svn lock test.txt
    'test.txt' locked by user 'mark'.
    
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/test.txt
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/test.txt
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/test.txt
    15:13:05.410 [qtp2136389305-19] DEBUG svnkit.network -
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 131
    request.getMethod(): OPTIONS
    request.getPathInfo():
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test
    15:13:05.504 [qtp2136389305-21] DEBUG svnkit.network -
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 154
    request.getMethod(): LOCK
    request.getPathInfo(): /test.txt
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/test.txt
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/test.txt
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/test.txt
    

    Here's the log when I attempt to commit my locked file:

    > svn commit -m ""
    Sending        test.txt
    Transmitting file data .svn: E160037: Commit failed (details follow):
    svn: E160037: svn: E160037: Cannot verify lock on path '/test.txt'; no matching lock-token available
    
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/test.txt
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/test.txt
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/test.txt
    15:13:38.849 [qtp2136389305-17] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 131
    request.getMethod(): OPTIONS
    request.getPathInfo(): 
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test
    15:13:38.946 [qtp2136389305-16] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 300
    request.getMethod(): PROPFIND
    request.getPathInfo(): 
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test
    15:13:39.019 [qtp2136389305-19] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): null
    request.getContentType(): null
    request.getContextPath(): /scm
    request.getContentLength(): -1
    request.getMethod(): MKACTIVITY
    request.getPathInfo(): /!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    15:13:39.103 [qtp2136389305-21] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 111
    request.getMethod(): PROPFIND
    request.getPathInfo(): 
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test
    15:13:39.189 [qtp2136389305-20] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 228
    request.getMethod(): CHECKOUT
    request.getPathInfo(): /!svn/vcc/default
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/!svn/vcc/default
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/!svn/vcc/default
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/!svn/vcc/default
    15:13:39.290 [qtp2136389305-17] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): null
    request.getContentType(): null
    request.getContextPath(): /scm
    request.getContentLength(): 290
    request.getMethod(): PROPPATCH
    request.getPathInfo(): /!svn/wbl/33cad4bd-bf86-1b44-88fc-7373a5613998/1
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/!svn/wbl/33cad4bd-bf86-1b44-88fc-7373a5613998/1
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/!svn/wbl/33cad4bd-bf86-1b44-88fc-7373a5613998/1
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/!svn/wbl/33cad4bd-bf86-1b44-88fc-7373a5613998/1
    15:13:39.464 [qtp2136389305-16] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): UTF-8
    request.getContentType(): text/xml
    request.getContextPath(): /scm
    request.getContentLength(): 228
    request.getMethod(): CHECKOUT
    request.getPathInfo(): /!svn/ver/1/test.txt
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/!svn/ver/1/test.txt
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/!svn/ver/1/test.txt
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/!svn/ver/1/test.txt
    15:13:39.563 [qtp2136389305-19] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): null
    request.getContentType(): application/vnd.svn-svndiff
    request.getContextPath(): /scm
    request.getContentLength(): 29
    request.getMethod(): PUT
    request.getPathInfo(): /!svn/wrk/33cad4bd-bf86-1b44-88fc-7373a5613998/test.txt
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/!svn/wrk/33cad4bd-bf86-1b44-88fc-7373a5613998/test.txt
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/!svn/wrk/33cad4bd-bf86-1b44-88fc-7373a5613998/test.txt
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/!svn/wrk/33cad4bd-bf86-1b44-88fc-7373a5613998/test.txt
    15:13:39.700 [qtp2136389305-18] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): null
    request.getContentType(): null
    request.getContextPath(): /scm
    request.getContentLength(): 606
    request.getMethod(): MERGE
    request.getPathInfo(): 
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test
    15:13:39.767 [qtp2136389305-18] DEBUG svnkit.network - svn: E160037: Cannot verify lock on path '/test.txt'; no matching lock-token available
    15:13:39.777 [qtp2136389305-18] DEBUG svnkit.network - An error occurred while committing the transaction.
    15:13:39.777 [qtp2136389305-18] DEBUG svnkit.network - Could not MERGE resource "{0}" into "{1}".
    15:13:39.778 [qtp2136389305-18] DEBUG svnkit.network - Could not MERGE resource "/scm/svn/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998" into "/scm/svn/test".
    org.tmatesoft.svn.core.internal.server.dav.DAVException: Could not MERGE resource "/scm/svn/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998" into "/scm/svn/test".
        at org.tmatesoft.svn.core.internal.server.dav.handlers.DAVMergeHandler.execute(DAVMergeHandler.java:125) ~[svnkit-dav-1.7.9-scm3-20130722.073845-1.jar:na]
        at org.tmatesoft.svn.core.internal.server.dav.DAVServlet.service(DAVServlet.java:132) ~[svnkit-dav-1.7.9-scm3-20130722.073845-1.jar:na]
        at sonia.scm.web.SvnDAVServlet.service(SvnDAVServlet.java:122) [scm-svn-plugin-1.33-SNAPSHOT.jar:na]
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) [javax.servlet-2.5.0.v201103041518.jar:na]
        at com.google.inject.servlet.ServletDefinition.doService(ServletDefinition.java:263) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ServletDefinition.service(ServletDefinition.java:178) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedServletPipeline.service(ManagedServletPipeline.java:91) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:62) [guice-servlet-3.0.jar:na]
        at sonia.scm.web.filter.PermissionFilter.doFilter(PermissionFilter.java:171) [scm-core-1.33-SNAPSHOT.jar:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.33-SNAPSHOT.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at sonia.scm.web.filter.BasicAuthenticationFilter.doFilter(BasicAuthenticationFilter.java:186) [scm-core-1.33-SNAPSHOT.jar:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.33-SNAPSHOT.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at sonia.scm.filter.GZipFilter.doFilter(GZipFilter.java:112) [scm-core-1.33-SNAPSHOT.jar:na]
        at sonia.scm.web.SvnGZipFilter.doFilter(SvnGZipFilter.java:124) [scm-svn-plugin-1.33-SNAPSHOT.jar:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.33-SNAPSHOT.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:168) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at sonia.scm.filter.BaseUrlFilter.doFilter(BaseUrlFilter.java:117) [classes/:na]
        at sonia.scm.web.filter.HttpFilter.doFilter(HttpFilter.java:102) [scm-core-1.33-SNAPSHOT.jar:na]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) [shiro-web-1.2.2.jar:1.2.2]
        at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) [shiro-web-1.2.2.jar:1.2.2]
        at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) [shiro-core-1.2.2.jar:1.2.2]
        at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) [shiro-core-1.2.2.jar:1.2.2]
        at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:383) [shiro-core-1.2.2.jar:1.2.2]
        at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) [shiro-web-1.2.2.jar:1.2.2]
        at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) [shiro-web-1.2.2.jar:1.2.2]
        at com.google.inject.servlet.FilterDefinition.doFilter(FilterDefinition.java:163) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.FilterChainInvocation.doFilter(FilterChainInvocation.java:58) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.ManagedFilterPipeline.dispatch(ManagedFilterPipeline.java:118) [guice-servlet-3.0.jar:na]
        at com.google.inject.servlet.GuiceFilter.doFilter(GuiceFilter.java:113) [guice-servlet-3.0.jar:na]
        at sonia.scm.boot.BootstrapFilter.doFilter(BootstrapFilter.java:104) [classes/:na]
        at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1291) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:443) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:556) [jetty-security-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1044) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:372) [jetty-servlet-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:189) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:978) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:154) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.Server.handle(Server.java:369) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:486) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:944) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1005) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865) [jetty-http-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240) [jetty-http-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82) [jetty-server-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:668) [jetty-io-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52) [jetty-io-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543) [jetty-util-7.6.11.v20130520.jar:7.6.11.v20130520]
        at java.lang.Thread.run(Thread.java:679) [na:1.6.0_27]
    15:13:39.780 [qtp2136389305-18] DEBUG svnkit.network - <?xml version="1.0" encoding="UTF-8"?>
    
    <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:">
    <C:error/><m:human-readable errcode="160037">
    svn: E160037: Cannot verify lock on path '/test.txt'; no matching lock-token available
    </m:human-readable>
    </D:error>
    
    15:13:39.934 [qtp2136389305-20] DEBUG svnkit.network - 
    request.getAuthType(): BASIC
    request.getCharacterEncoding(): null
    request.getContentType(): null
    request.getContextPath(): /scm
    request.getContentLength(): -1
    request.getMethod(): DELETE
    request.getPathInfo(): /!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    request.getPathTranslated(): /tmp/jetty-0.0.0.0-8080-scm-webapp.war-_scm-any-/webapp/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    request.getQueryString(): null
    request.getRemoteAddr(): 127.0.0.1
    request.getRemoteHost(): 127.0.0.1
    request.getRemoteUser(): mark
    request.getRequestURI(): /scm/svn/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    request.getServerName(): mark@myhost
    request.getServerPort(): 80
    request.getServletPath(): /svn/test
    request.getRequestURL(): http://mark@myhost/scm/svn/test/!svn/act/33cad4bd-bf86-1b44-88fc-7373a5613998
    
  2. Log in to comment