com.atlassian.jira.util.LockException: Could not obtain lock 'D:\JIRA-INT\bnppa-atlassian-jira\bin\logs\cvslog.write.lock' in 10000 msecs.

Atlassian JIRA | Stéphane Journiac | 1 decade ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 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.
  2. 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.
  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

    Root Cause Analysis

    1. 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()
    2. com.atlassian.jira
      ServiceRunner.execute
      1. com.atlassian.jira.vcs.cvsimpl.CvsRepositoryUtilImpl.updateCvs(CvsRepositoryUtilImpl.java:245)
      2. com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateCvs(CvsRepository.java:204)
      3. com.atlassian.jira.vcs.cvsimpl.CvsRepository.updateRepository(CvsRepository.java:295)
      4. com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepository(DefaultRepositoryManager.java:489)
      5. com.atlassian.jira.vcs.DefaultRepositoryManager.updateRepositories(DefaultRepositoryManager.java:445)
      6. com.atlassian.jira.service.services.vcs.VcsService.run(VcsService.java:54)
      7. com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:59)
      8. com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50)
      8 frames
    3. quartz
      SimpleThreadPool$WorkerThread.run
      1. org.quartz.core.JobRunShell.run(JobRunShell.java:191)
      2. org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:516)
      2 frames