org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId central-all-external-cache:commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@3bb5da68[Unlocked].

JFrog JIRA | Frederic Simon | 4 years ago
  1. 0

    When a remote repository has eager sources and jar download and also pull replication, then during replication the eager download is in race condition with the replication downloader. {code} 2012-10-22 14:45:26,841 [art-exec-5633] [ERROR] (o.a.s.a.AsyncAdvice:167) - Could not execute async method: 'public abstract void org.artifactory.repo.service.InternalRepositoryService.markForSaveOnCommit(org.artifactory.repo.RepoPath)'. org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId central-all-external-cache:commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@3bb5da68[Unlocked]. at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:248) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:102) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:94) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:61) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:1041) [artifactory-core-2.6.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:326) [artifactory-core-2.6.4.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFsItem(JcrRepoBase.java:466) [artifactory-core-2.6.4.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.markForSaveOnCommit(RepositoryServiceImpl.java:1539) [artifactory-core-2.6.4.jar:na] at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_24] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:320) [artifactory-core-2.6.4.jar:na] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.4.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:185) [artifactory-core-2.6.4.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:147) [artifactory-core-2.6.4.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_24] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85) [artifactory-jcr-storage-2.6.4.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_24] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_24] {code}

    JFrog JIRA | 4 years ago | Frederic Simon
    org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId central-all-external-cache:commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@3bb5da68[Unlocked].
  2. 0

    When a remote repository has eager sources and jar download and also pull replication, then during replication the eager download is in race condition with the replication downloader. {code} 2012-10-22 14:45:26,841 [art-exec-5633] [ERROR] (o.a.s.a.AsyncAdvice:167) - Could not execute async method: 'public abstract void org.artifactory.repo.service.InternalRepositoryService.markForSaveOnCommit(org.artifactory.repo.RepoPath)'. org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId central-all-external-cache:commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@3bb5da68[Unlocked]. at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:248) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:102) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:94) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:61) [artifactory-jcr-storage-2.6.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:1041) [artifactory-core-2.6.4.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:326) [artifactory-core-2.6.4.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFsItem(JcrRepoBase.java:466) [artifactory-core-2.6.4.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.markForSaveOnCommit(RepositoryServiceImpl.java:1539) [artifactory-core-2.6.4.jar:na] at sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_24] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150) [spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:320) [artifactory-core-2.6.4.jar:na] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110) [spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56) [artifactory-core-2.6.4.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:185) [artifactory-core-2.6.4.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:147) [artifactory-core-2.6.4.jar:na] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_24] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85) [artifactory-jcr-storage-2.6.4.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_24] at java.lang.Thread.run(Thread.java:662) [na:1.6.0_24] {code}

    JFrog JIRA | 4 years ago | Frederic Simon
    org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId central-all-external-cache:commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@3bb5da68[Unlocked].
  3. 0

    [RTFACT-1314] Write lock not acquired in 120 seconds - JFrog JIRA

    jfrog.com | 1 year ago
    org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId libs-snapshots-local:it/bz/prov/egov/common/FirmaDigitale/1.1.1-SNAPSHOT/FirmaDigitale-1.1.1-SNAPSHOT-common.jar not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@1b970aa [Unlocked] .
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    2009-12-09 17:17:09,377 [pool-1-thread-341] [INFO ] (o.a.r.c.ArtifactCleanupServiceImpl:150) - The repository 'central-all-external-cache' has been succesfully cleaned of 2 items 2009-12-09 17:19:09,451 [pool-1-thread-317] [ERROR] (o.q.c.JobRunShell :211) - Job DEFAULT.org.artifactory.repo.cleanup.ArtifactCleanupJob#57dbab7e-658f-432d-9428-21ef2b3c9f80 threw an unhandled Exception: org.artifactory.concurrent.LockingException: Write lock on LockEntryId central-all-external-cache:org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5-sources.jar not acquired in 120 seconds at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:225) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:89) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:93) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:45) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:666) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:226) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.undeploy(StoringRepoMixin.java:354) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.undeploy(JcrRepoBase.java:243) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1012) [artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor719.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-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy25.undeploy(Unknown Source) [na:na] at org.artifactory.repo.cleanup.ArtifactCleanupServiceImpl.clean(ArtifactCleanupServiceImpl.java:126) [artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor832.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-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy42.clean(Unknown Source) [na:na] at org.artifactory.repo.cleanup.ArtifactCleanupJob.onExecute(ArtifactCleanupJob.java:44) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.cleanup.ArtifactCleanupJob.onExecute(ArtifactCleanupJob.java:32) [artifactory-core-2.1.2.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) [artifactory-core-2.1.2.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.jar:1.6.3] at org.artifactory.schedule.CachedThreadPoolTaskExecutor$RunnableWrapper.run(CachedThreadPoolTaskExecutor.java:65) [artifactory-core-2.1.2.jar:na] 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] 2009-12-09 17:19:09,454 [pool-1-thread-317] [ERROR] (o.q.c.ErrorLogger :2185) - Job (DEFAULT.org.artifactory.repo.cleanup.ArtifactCleanupJob#57dbab7e-658f-432d-9428-21ef2b3c9f80 threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz-1.6.3.jar:1.6.3] at org.artifactory.schedule.CachedThreadPoolTaskExecutor$RunnableWrapper.run(CachedThreadPoolTaskExecutor.java:65) [artifactory-core-2.1.2.jar:na] 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] Caused by: org.artifactory.concurrent.LockingException: Write lock on LockEntryId central-all-external-cache:org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5-sources.jar not acquired in 120 seconds at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:225) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:89) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:93) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:45) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:666) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:226) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.undeploy(StoringRepoMixin.java:354) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.undeploy(JcrRepoBase.java:243) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.undeploy(RepositoryServiceImpl.java:1012) [artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor719.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-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy25.undeploy(Unknown Source) [na:na] at org.artifactory.repo.cleanup.ArtifactCleanupServiceImpl.clean(ArtifactCleanupServiceImpl.java:126) [artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor832.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-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy42.clean(Unknown Source) [na:na] at org.artifactory.repo.cleanup.ArtifactCleanupJob.onExecute(ArtifactCleanupJob.java:44) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.cleanup.ArtifactCleanupJob.onExecute(ArtifactCleanupJob.java:32) [artifactory-core-2.1.2.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:43) [artifactory-core-2.1.2.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.3.jar:1.6.3] ... 4 common frames omitted

    JFrog JIRA | 7 years ago | Noam Y. Tenne
    org.artifactory.concurrent.LockingException: Write lock on LockEntryId central-all-external-cache:org/mortbay/jetty/jetty-util/6.1.5/jetty-util-6.1.5-sources.jar not acquired in 120 seconds
  6. 0

    often the following errors occurs when uploading an artifact. CONTINUUM: [INFO] Retrieving previous build number from egov-snapshot Uploading: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2.car 240K uploaded [INFO] Retrieving previous metadata from egov-snapshot [INFO] Uploading repository metadata for: 'snapshot it.bz.prov.lafispsr:psrgateway:1.0.14-SNAPSHOT' [INFO] Uploading project information for psrgateway 1.0.14-20091217.100131-2 [INFO] Retrieving previous metadata from egov-snapshot [INFO] Uploading repository metadata for: 'artifact it.bz.prov.lafispsr:psrgateway' [INFO] Retrieving previous build number from egov-snapshot Uploading: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl 202K uploaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:583) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:174) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558) ... 16 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:94) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169) ... 18 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:172) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80) ... 19 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6 minutes 22 seconds [INFO] Finished at: Thu Dec 17 11:05:42 CET 2009 [INFO] Final Memory: 32M/57M [INFO] ------------------------------------------------------------------------ ARTIFACTORY 2009-12-17 11:05:42,169 [TP-Processor9] [ERROR] (o.a.w.s.RepoFilter :85) - Sending HTTP error code 500: Failed to save resource 'libs-snapshots-local:it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-SNAPSHOT-bcmodel.csl'. java.lang.RuntimeException: Failed to save resource 'libs-snapshots-local:it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-SNAPSHOT-bcmodel.csl'. at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:476) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.saveResource(JcrRepoBase.java:247) [artifactory-core-2.1.2.jar:na] at org.artifactory.engine.UploadServiceImpl.doProcess(UploadServiceImpl.java:173) [artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor464.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) [spring-aop-2.5.6.jar:2.5.6] at org.artifactory.request.aop.RequestAdvice.invoke(RequestAdvice.java:66) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) [spring-tx-2.5.6.jar:2.5.6] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:72) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:45) [artifactory-core-2.1.2.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) [spring-aop-2.5.6.jar:2.5.6] at $Proxy32.doProcess(Unknown Source) [na:na] at org.artifactory.engine.UploadServiceImpl.process(UploadServiceImpl.java:116) [artifactory-core-2.1.2.jar:na] at sun.reflect.GeneratedMethodAccessor461.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_07] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_07] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307) [spring-aop-2.5.6.jar:2.5.6] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-2.5.6.jar:2.5.6] at $Proxy32.process(Unknown Source) [na:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:123) [artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:191) [artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.authenticateAndExecute(AccessFilter.java:128) [artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:113) [artifactory-web-application-2.1.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:91) [artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:54) [artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:54) [artifactory-web-application-2.1.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) [catalina.jar:na] at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) [tomcat-ajp.jar:na] at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) [tomcat-ajp.jar:na] at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) [tomcat-ajp.jar:na] at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) [tomcat-ajp.jar:na] at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:895) [tomcat-ajp.jar:na] at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) [tomcat-util.jar:5.1] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_07] Caused by: org.artifactory.concurrent.LockingException: Write lock on LockEntryId libs-snapshots-local:it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-SNAPSHOT-bcmodel.csl not acquired in 120 seconds at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:225) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:89) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:93) [artifactory-core-2.1.2.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:45) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:666) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFile(StoringRepoMixin.java:251) [artifactory-core-2.1.2.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.saveResource(StoringRepoMixin.java:434) [artifactory-core-2.1.2.jar:na] ... 52 common frames omitted

    JFrog JIRA | 7 years ago | ??tzi
    java.lang.RuntimeException: Failed to save resource 'libs-snapshots-local:it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-SNAPSHOT-bcmodel.csl'.

    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. org.artifactory.concurrent.LockingException

      WRITE lock on LockEntryId central-all-external-cache:commons-discovery/commons-discovery/0.2/commons-discovery-0.2.pom not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@3bb5da68[Unlocked].

      at org.artifactory.jcr.lock.SessionLockEntry.acquire()
    2. org.artifactory.jcr
      LockingHelper.writeLock
      1. org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:248)[artifactory-jcr-storage-2.6.4.jar:na]
      2. org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:102)[artifactory-jcr-storage-2.6.4.jar:na]
      3. org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:94)[artifactory-jcr-storage-2.6.4.jar:na]
      4. org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:61)[artifactory-jcr-storage-2.6.4.jar:na]
      4 frames
    3. org.artifactory.repo
      RepositoryServiceImpl.markForSaveOnCommit
      1. org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:1041)[artifactory-core-2.6.4.jar:na]
      2. org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:326)[artifactory-core-2.6.4.jar:na]
      3. org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFsItem(JcrRepoBase.java:466)[artifactory-core-2.6.4.jar:na]
      4. org.artifactory.repo.service.RepositoryServiceImpl.markForSaveOnCommit(RepositoryServiceImpl.java:1539)[artifactory-core-2.6.4.jar:na]
      4 frames
    4. Java RT
      DelegatingMethodAccessorImpl.invoke
      1. sun.reflect.GeneratedMethodAccessor162.invoke(Unknown Source)[na:na]
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_24]
      2 frames
    5. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      2 frames
    6. org.artifactory.schedule
      AsyncAdvice$TraceableMethodInvocation.proceed
      1. org.artifactory.schedule.aop.AsyncAdvice$TraceableMethodInvocation.proceed(AsyncAdvice.java:320)[artifactory-core-2.6.4.jar:na]
      1 frame
    7. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:110)[spring-tx-3.1.1.RELEASE.jar:3.1.1.RELEASE]
      1 frame
    8. org.artifactory.schedule
      AsyncAdvice$1.call
      1. org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:56)[artifactory-core-2.6.4.jar:na]
      2. org.artifactory.schedule.aop.AsyncAdvice.doInvoke(AsyncAdvice.java:185)[artifactory-core-2.6.4.jar:na]
      3. org.artifactory.schedule.aop.AsyncAdvice$1.call(AsyncAdvice.java:147)[artifactory-core-2.6.4.jar:na]
      3 frames
    9. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:138)[na:1.6.0_24]
      1 frame
    10. org.artifactory.schedule
      ArtifactoryConcurrentExecutor$RunnableWrapper.run
      1. org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85)[artifactory-jcr-storage-2.6.4.jar:na]
      1 frame
    11. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[na:1.6.0_24]
      2. java.lang.Thread.run(Thread.java:662)[na:1.6.0_24]
      2 frames