com.atlassian.jira.util.LockException: Could not obtain lock 'd:\jira\cvs\itd\cvslog.write.lock' in 10000 msecs.

Atlassian JIRA | Stephen Putman | 1 decade ago
  1. 0

    When testing a CVS integratiion at "/jira/secure/admin/RepositoryTest.jspa?id=xxx" I got the following error message: Assuming "obating" should read "obtaining" --------------- Error obating lock. com.atlassian.jira.util.LockException: Could not obtain lock 'd:\jira\cvs\itd\cvslog.write.lock' in 10000 msecs. at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:246) at com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.testRepository(RepositoryActionSupport.java:273) at com.atlassian.jira.web.action.admin.vcs.RepositoryTest.doExecute(RepositoryTest.java:68) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:90) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:64) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) at com.caucho.util.ThreadPool.run(ThreadPool.java:408) at java.lang.Thread.run(Thread.java:534)

    Atlassian JIRA | 1 decade ago | Stephen Putman
    com.atlassian.jira.util.LockException: Could not obtain lock 'd:\jira\cvs\itd\cvslog.write.lock' in 10000 msecs.
  2. 0

    When testing a CVS integratiion at "/jira/secure/admin/RepositoryTest.jspa?id=xxx" I got the following error message: Assuming "obating" should read "obtaining" --------------- Error obating lock. com.atlassian.jira.util.LockException: Could not obtain lock 'd:\jira\cvs\itd\cvslog.write.lock' in 10000 msecs. at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:246) at com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.testRepository(RepositoryActionSupport.java:273) at com.atlassian.jira.web.action.admin.vcs.RepositoryTest.doExecute(RepositoryTest.java:68) at webwork.action.ActionSupport.execute(ActionSupport.java:153) at com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46) at webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131) at com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186) at javax.servlet.http.HttpServlet.service(HttpServlet.java:90) at com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58) at com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132) at com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:64) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36) at com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70) at com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163) at com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208) at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259) at com.caucho.server.port.TcpConnection.run(TcpConnection.java:341) at com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467) at com.caucho.util.ThreadPool.run(ThreadPool.java:408) at java.lang.Thread.run(Thread.java:534)

    Atlassian JIRA | 1 decade ago | Stephen Putman
    com.atlassian.jira.util.LockException: Could not obtain lock 'd:\jira\cvs\itd\cvslog.write.lock' in 10000 msecs.
  3. 0

    If JIRA is forcefully taken down, e.g. power interruption, while updating CVS log, the CVS integration will fail on restart with the message "An unknown error occurred - actions == null." in the Version Control tab of the issue detail page, and with an error in the log. It would be great if the VcsService would clean up locks on startup, and certainly the error message should be improved. 2005-06-23 10:26:49,020 ERROR [atlassian.jira.vcs.DefaultRepositoryManager] Error occurred while updating repository 'ris': Could not obtain lock 'C:\jira\cvs\cvslog.write.lock' in 10000 msecs. com.atlassian.jira.util.LockException: Could not obtain lock 'C:\jira\cvs\cvslog.write.lock' in 10000 msecs. at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:246) at com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateCvs(CvsRepository.java:204) at com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateRepository(CvsRepository.java:295) at com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepository(DefaultRepositoryManager.java:489) at com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepositories(DefaultRepositoryManager.java:445) at com.atlassian.jira.service.services.vcs.VcsService.run(VcsService.java:54) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:59) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | Joshua Spiewak
    com.atlassian.jira.util.LockException: Could not obtain lock 'C:\jira\cvs\cvslog.write.lock' in 10000 msecs.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    If JIRA is forcefully taken down, e.g. power interruption, while updating CVS log, the CVS integration will fail on restart with the message "An unknown error occurred - actions == null." in the Version Control tab of the issue detail page, and with an error in the log. It would be great if the VcsService would clean up locks on startup, and certainly the error message should be improved. 2005-06-23 10:26:49,020 ERROR [atlassian.jira.vcs.DefaultRepositoryManager] Error occurred while updating repository 'ris': Could not obtain lock 'C:\jira\cvs\cvslog.write.lock' in 10000 msecs. com.atlassian.jira.util.LockException: Could not obtain lock 'C:\jira\cvs\cvslog.write.lock' in 10000 msecs. at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:246) at com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateCvs(CvsRepository.java:204) at com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateRepository(CvsRepository.java:295) at com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepository(DefaultRepositoryManager.java:489) at com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepositories(DefaultRepositoryManager.java:445) at com.atlassian.jira.service.services.vcs.VcsService.run(VcsService.java:54) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:59) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | Joshua Spiewak
    com.atlassian.jira.util.LockException: Could not obtain lock 'C:\jira\cvs\cvslog.write.lock' in 10000 msecs.
  6. 0

    We have some error when we want to update the path of the log for cvs module. For uknown reason it has been working for an update or two and stop to work after it raised this error. Now we are not able to update anything for cvs concern unless we stop the server and erase the cvslog.write.lock. 2005-06-14 17:40:34,140 ERROR [atlassian.jira.vcs.DefaultRepositoryManager] Error occurred while updating repository 'BNPPA_Tarification_Tool_A2A': Could not obtain lock 'D:\JIRA-INT\bnppa-atlassian-jira\bin\logs\cvslog.write.lock' in 10000 msecs. com.atlassian.jira.util.LockException: Could not obtain lock 'D:\JIRA-INT\bnppa-atlassian-jira\bin\logs\cvslog.write.lock' in 10000 msecs. at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:245) at com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateCvs(CvsRepository.java:204) at com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateRepository(CvsRepository.java:295) at com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepository(DefaultRepositoryManager.java:489) at com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepositories(DefaultRepositoryManager.java:445) at com.atlassian.jira.service.services.vcs.VcsService.run(VcsService.java:54) at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:59) at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50) at org.quartz.core.JobRunShell.run(JobRunShell.java:191) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)

    Atlassian JIRA | 1 decade ago | St├ęphane Journiac
    com.atlassian.jira.util.LockException: Could not obtain lock 'D:\JIRA-INT\bnppa-atlassian-jira\bin\logs\cvslog.write.lock' in 10000 msecs.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.atlassian.jira.util.LockException

      Could not obtain lock 'd:\jira\cvs\itd\cvslog.write.lock' in 10000 msecs.

      at com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs()
    2. com.atlassian.jira
      RepositoryTest.doExecute
      1. com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:246)
      2. com.atlassian.jira.web.action.admin.vcs.RepositoryActionSupport.testRepository(RepositoryActionSupport.java:273)
      3. com.atlassian.jira.web.action.admin.vcs.RepositoryTest.doExecute(RepositoryTest.java:68)
      3 frames
    3. webwork.action
      ActionSupport.execute
      1. webwork.action.ActionSupport.execute(ActionSupport.java:153)
      1 frame
    4. com.atlassian.jira
      JiraActionSupport.execute
      1. com.atlassian.jira.action.JiraActionSupport.execute(JiraActionSupport.java:46)
      1 frame
    5. webwork.dispatcher
      GenericDispatcher.executeAction
      1. webwork.dispatcher.GenericDispatcher.executeAction(GenericDispatcher.java:131)
      1 frame
    6. com.atlassian.jira
      JiraServletDispatcher.service
      1. com.atlassian.jira.web.dispatcher.JiraServletDispatcher.service(JiraServletDispatcher.java:186)
      1 frame
    7. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:90)
      1 frame
    8. com.caucho.server
      ServletFilterChain.doFilter
      1. com.caucho.server.dispatch.ServletFilterChain.doFilter(ServletFilterChain.java:99)
      1 frame
    9. Sitemesh
      PageFilter.doFilter
      1. com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:142)
      2. com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:58)
      2 frames
    10. com.atlassian.jira
      SitemeshExcludePathFilter.doFilter
      1. com.atlassian.jira.web.filters.SitemeshExcludePathFilter.doFilter(SitemeshExcludePathFilter.java:38)
      1 frame
    11. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    12. com.atlassian.seraph
      SecurityFilter.doFilter
      1. com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:168)
      1 frame
    13. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    14. com.atlassian.seraph
      LoginFilter.doFilter
      1. com.atlassian.seraph.filter.LoginFilter.doFilter(LoginFilter.java:177)
      1 frame
    15. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    16. com.atlassian.util
      ProfilingFilter.doFilter
      1. com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:132)
      1 frame
    17. com.atlassian.jira
      ProfilingAndErrorFilter.doFilter
      1. com.atlassian.jira.web.filters.ProfilingAndErrorFilter.doFilter(ProfilingAndErrorFilter.java:25)
      1 frame
    18. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    19. com.atlassian.jira
      ActionCleanupDelayFilter.doFilter
      1. com.atlassian.jira.web.filters.ActionCleanupDelayFilter.doFilter(ActionCleanupDelayFilter.java:37)
      1 frame
    20. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    21. com.atlassian.johnson
      JohnsonFilter.doFilter
      1. com.atlassian.johnson.filters.JohnsonFilter.doFilter(JohnsonFilter.java:91)
      1 frame
    22. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    23. com.atlassian.jira
      GzipFilter.doFilter
      1. com.atlassian.jira.web.filters.gzip.GzipFilter.doFilter(GzipFilter.java:64)
      1 frame
    24. com.caucho.server
      FilterFilterChain.doFilter
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      1 frame
    25. com.atlassian.core
      AbstractEncodingFilter.doFilter
      1. com.atlassian.core.filters.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:36)
      1 frame
    26. com.caucho.server
      TcpConnection.run
      1. com.caucho.server.dispatch.FilterFilterChain.doFilter(FilterFilterChain.java:70)
      2. com.caucho.server.webapp.WebAppFilterChain.doFilter(WebAppFilterChain.java:163)
      3. com.caucho.server.dispatch.ServletInvocation.service(ServletInvocation.java:208)
      4. com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:259)
      5. com.caucho.server.port.TcpConnection.run(TcpConnection.java:341)
      5 frames
    27. com.caucho.util
      ThreadPool.run
      1. com.caucho.util.ThreadPool.runTasks(ThreadPool.java:467)
      2. com.caucho.util.ThreadPool.run(ThreadPool.java:408)
      2 frames
    28. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:534)
      1 frame