org.artifactory.concurrent.LockingException

WRITE lock on LockEntryId localhost-repo-cache:log4j/log4j/1.2.14/log4j-1.2.14.jar not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@48e4e20a[Unlocked].

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web24

  • via JFrog JIRA by Yoav Landman, 1 year ago
    WRITE lock on LockEntryId localhost-repo-cache:log4j/log4j/1.2.14/log4j-1.2.14.jar not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@48e4e20a[Unlocked].
  • via JFrog JIRA by Yoav Landman, 10 months ago
    WRITE lock on LockEntryId localhost-repo-cache:log4j/log4j/1.2.14/log4j-1.2.14.jar not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@48e4e20a[Unlocked].
  • via JFrog JIRA by Frederic Simon, 10 months ago
    WRITE lock on LockEntryId my-javanet-local:com/kingdee/youshang/platform/platform-esb-javaadaptor/1.0.0-SNAPSHOT not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@7a1b53b[Unlocked].
  • Stack trace

    • org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId localhost-repo-cache:log4j/log4j/1.2.14/log4j-1.2.14.jar not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@48e4e20a[Unlocked]. at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:248)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:96)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:94)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:57)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:650)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFile(StoringRepoMixin.java:283)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFile(JcrRepoBase.java:318)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.updateStats(RepositoryServiceImpl.java:1143)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source)[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.5.0_16] at java.lang.reflect.Method.invoke(Method.java:585)[na:1.5.0_16] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:59)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.invoke(AsyncAdvice.java:132)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.access$000(AsyncAdvice.java:50)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.run(AsyncAdvice.java:117)[artifactory-core-2.1.x-SNAPSHOT.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:417)[na:1.5.0_16] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:269)[na:1.5.0_16] at java.util.concurrent.FutureTask.run(FutureTask.java:123)[na:1.5.0_16] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)[na:1.5.0_16] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)[na:1.5.0_16] at java.lang.Thread.run(Thread.java:595)[na:1.5.0_16]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    You’re the first here who have seen this exception.