org.artifactory.concurrent.LockingException: Waited for task ExportJob#fbec6940-64e5-41ac-bd70-8ad8030cd909 more than 100 times.

JFrog JIRA | Andreas Engvall | 7 years ago
  1. 0

    Can't export any more, I'd guess due to the (postgres) database have grown too big, but I don't know what parameter I should increase, "waited more then 100 times.."? 2010-03-29 00:33:16,091 [http-13264-5] [ERROR] (o.a.w.w.p.i.s.ExportSystemPanel:171) - Failed to export system. org.artifactory.concurrent.LockingException: Waited for task ExportJob#fbec6940-64e5-41ac-bd70-8ad8030cd909 more than 100 times. at org.artifactory.schedule.TaskBase.waitForCompletion(TaskBase.java:265) [artifactory-core-2.2.1.jar:na] at org.artifactory.schedule.TaskServiceImpl.waitForTaskCompletion(TaskServiceImpl.java:206) [artifactory-core-2.2.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_07] 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-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy31.waitForTaskCompletion(Unknown Source) [na:na] at org.artifactory.repo.service.RepositoryServiceImpl.exportAsync(RepositoryServiceImpl.java:1509) [artifactory-core-2.2.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.exportTo(RepositoryServiceImpl.java:688) [artifactory-core-2.2.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_07] 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-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.2.1.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy33.exportTo(Unknown Source) [na:na] at org.artifactory.config.CentralConfigServiceImpl.exportTo(CentralConfigServiceImpl.java:259) [artifactory-core-2.2.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_07] 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-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy29.exportTo(Unknown Source) [na:na] at org.artifactory.spring.ArtifactoryApplicationContext.exportTo(ArtifactoryApplicationContext.java:510) [artifactory-core-2.2.1.jar:na] at org.artifactory.webapp.wicket.page.importexport.system.ExportSystemPanel$3.onSubmit(ExportSystemPanel.java:151) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:63) [artifactory-web-common-2.2.1.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.request(RequestCycle.java:532) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201) [wicket-1.3.7.jar:1.3.7] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:177) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:206) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:116) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:97) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat-coyote.jar:na] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat-coyote.jar:na] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_07]

    JFrog JIRA | 7 years ago | Andreas Engvall
    org.artifactory.concurrent.LockingException: Waited for task ExportJob#fbec6940-64e5-41ac-bd70-8ad8030cd909 more than 100 times.
  2. 0

    Can't export any more, I'd guess due to the (postgres) database have grown too big, but I don't know what parameter I should increase, "waited more then 100 times.."? 2010-03-29 00:33:16,091 [http-13264-5] [ERROR] (o.a.w.w.p.i.s.ExportSystemPanel:171) - Failed to export system. org.artifactory.concurrent.LockingException: Waited for task ExportJob#fbec6940-64e5-41ac-bd70-8ad8030cd909 more than 100 times. at org.artifactory.schedule.TaskBase.waitForCompletion(TaskBase.java:265) [artifactory-core-2.2.1.jar:na] at org.artifactory.schedule.TaskServiceImpl.waitForTaskCompletion(TaskServiceImpl.java:206) [artifactory-core-2.2.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_07] 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-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy31.waitForTaskCompletion(Unknown Source) [na:na] at org.artifactory.repo.service.RepositoryServiceImpl.exportAsync(RepositoryServiceImpl.java:1509) [artifactory-core-2.2.1.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.exportTo(RepositoryServiceImpl.java:688) [artifactory-core-2.2.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_07] 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-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.2.1.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.1.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy33.exportTo(Unknown Source) [na:na] at org.artifactory.config.CentralConfigServiceImpl.exportTo(CentralConfigServiceImpl.java:259) [artifactory-core-2.2.1.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_07] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_07] 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-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy29.exportTo(Unknown Source) [na:na] at org.artifactory.spring.ArtifactoryApplicationContext.exportTo(ArtifactoryApplicationContext.java:510) [artifactory-core-2.2.1.jar:na] at org.artifactory.webapp.wicket.page.importexport.system.ExportSystemPanel$3.onSubmit(ExportSystemPanel.java:151) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:63) [artifactory-web-common-2.2.1.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.step(RequestCycle.java:1316) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.RequestCycle.request(RequestCycle.java:532) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356) [wicket-1.3.7.jar:1.3.7] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201) [wicket-1.3.7.jar:1.3.7] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:177) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:206) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:116) [artifactory-web-application-2.2.1.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:97) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66) [artifactory-web-application-2.2.1.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) [catalina.jar:na] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) [catalina.jar:na] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) [catalina.jar:na] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) [catalina.jar:na] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) [catalina.jar:na] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) [catalina.jar:na] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) [catalina.jar:na] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) [catalina.jar:na] at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) [tomcat-coyote.jar:na] at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) [tomcat-coyote.jar:na] at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) [tomcat-coyote.jar:na] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_07]

    JFrog JIRA | 7 years ago | Andreas Engvall
    org.artifactory.concurrent.LockingException: Waited for task ExportJob#fbec6940-64e5-41ac-bd70-8ad8030cd909 more than 100 times.
  3. 0

    Reloading the configuration while setting a new config ({{CentralConfigServiceImpl.setConfigXml}}) leads to {{ArtifactoryApplicationContext}} reloading. While reloading the {{ReplicationServiceImpl}} we try to reschedule the replication. Rescheduling tries to cancel the running task but fails due to timeout: Timeout after 120 seconds when trying to wait for next state in 'STOPPING' This is the error message in the log: {code} org.artifactory.concurrent.LockingException: Timeout after 120 seconds when trying to wait for next state in 'STOPPING'. at org.artifactory.schedule.TaskBase.guardedWaitForNextStep(TaskBase.java:442) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskBase.guardedWaitForNextStep(TaskBase.java:431) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskBase.guardedTransitionToState(TaskBase.java:424) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskBase.cancel(TaskBase.java:114) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskServiceImpl.cancelTask(TaskServiceImpl.java:144) ~[artifactory-core-3.0.2.jar:na] at org.artifactory.schedule.TaskServiceImpl.cancelTasks(TaskServiceImpl.java:167) ~[artifactory-core-3.0.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy41.cancelTasks(Unknown Source) ~[na:na] at org.artifactory.schedule.BaseTaskServiceDescriptorHandler.reschedule(BaseTaskServiceDescriptorHandler.java:61) ~[artifactory-core-3.0.2.jar:na] at org.artifactory.addon.replication.core.ReplicationServiceImpl.reload(ReplicationServiceImpl.java:74) ~[artifactory-addon-replication-3.0.2.jar:na] at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy69.reload(Unknown Source) ~[na:na] at org.artifactory.spring.ArtifactoryApplicationContext.reload(ArtifactoryApplicationContext.java:315) ~[artifactory-core-3.0.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.reloadConfiguration(CentralConfigServiceImpl.java:294) [artifactory-core-3.0.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.setConfigXml(CentralConfigServiceImpl.java:174) [artifactory-core-3.0.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.saveEditedDescriptorAndReload(CentralConfigServiceImpl.java:219) [artifactory-core-3.0.2.jar:na] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy38.saveEditedDescriptorAndReload(Unknown Source) [na:na] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.5.3.jar:1.5.3] at org.apache.wicket.proxy.$Proxy129.saveEditedDescriptorAndReload(Unknown Source) [na:1.5.3] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.saveDescriptor(CachingDescriptorHelper.java:121) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.syncAndSaveRemoteRepositories(CachingDescriptorHelper.java:88) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel.saveEditDescriptor(HttpRepoPanel.java:163) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel.saveEditDescriptor(HttpRepoPanel.java:1) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.RepoConfigCreateUpdatePanel$2.onSubmit(RepoConfigCreateUpdatePanel.java:157) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:59) [artifactory-web-common-3.0.2.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:172) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1174) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.markup.html.form.Form.process(Form.java:838) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:762) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:158) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:316) [wicket-core-1.5.3.jar:1.5.3] at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:750) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) [wicket-request-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:252) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) [wicket-core-1.5.3.jar:1.5.3] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:166) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:272) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:181) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:143) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:57) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:72) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_21] {code} The result seems to be errors of the following form, which does not stop until the config is properly updated: {code} 2013-09-03 02:18:28,293 [art-exec-130112] [ERROR] (o.a.s.TaskCallback :54) - Task org.artifactory.storage.fs.stats.StatsFlushJob@10b05ee9 was running before context=Artifactory: startup date [Tue Aug 06 03:07:40 EDT 2013]; root of context hierarchy initialization finished. 2013-09-03 02:18:28,397 [art-exec-130113] [ERROR] (o.a.s.TaskCallback :54) - Task org.artifactory.repo.cleanup.FolderPruningJob@6dc70437 was running before context=Artifactory: startup date [Tue Aug 06 03:07:40 EDT 2013]; root of context hierarchy initialization finished. 2013-09-03 02:18:29,641 [art-exec-130114] [ERROR] (o.a.s.TaskCallback :54) - Task org.artifactory.repo.cleanup.IntegrationCleanupJob@3acb508e was running before context=Artifactory: startup date [Tue Aug 06 03:07:40 EDT 2013]; root of context hierarchy initialization finished. {code}

    JFrog JIRA | 3 years ago | Dror Bereznitsky
    org.artifactory.concurrent.LockingException: Timeout after 120 seconds when trying to wait for next state in 'STOPPING'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Reloading the configuration while setting a new config ({{CentralConfigServiceImpl.setConfigXml}}) leads to {{ArtifactoryApplicationContext}} reloading. While reloading the {{ReplicationServiceImpl}} we try to reschedule the replication. Rescheduling tries to cancel the running task but fails due to timeout: Timeout after 120 seconds when trying to wait for next state in 'STOPPING' This is the error message in the log: {code} org.artifactory.concurrent.LockingException: Timeout after 120 seconds when trying to wait for next state in 'STOPPING'. at org.artifactory.schedule.TaskBase.guardedWaitForNextStep(TaskBase.java:442) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskBase.guardedWaitForNextStep(TaskBase.java:431) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskBase.guardedTransitionToState(TaskBase.java:424) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskBase.cancel(TaskBase.java:114) ~[artifactory-storage-common-3.0.2.jar:na] at org.artifactory.schedule.TaskServiceImpl.cancelTask(TaskServiceImpl.java:144) ~[artifactory-core-3.0.2.jar:na] at org.artifactory.schedule.TaskServiceImpl.cancelTasks(TaskServiceImpl.java:167) ~[artifactory-core-3.0.2.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_21] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) ~[na:1.7.0_21] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy41.cancelTasks(Unknown Source) ~[na:na] at org.artifactory.schedule.BaseTaskServiceDescriptorHandler.reschedule(BaseTaskServiceDescriptorHandler.java:61) ~[artifactory-core-3.0.2.jar:na] at org.artifactory.addon.replication.core.ReplicationServiceImpl.reload(ReplicationServiceImpl.java:74) ~[artifactory-addon-replication-3.0.2.jar:na] at sun.reflect.GeneratedMethodAccessor391.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy69.reload(Unknown Source) ~[na:na] at org.artifactory.spring.ArtifactoryApplicationContext.reload(ArtifactoryApplicationContext.java:315) ~[artifactory-core-3.0.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.reloadConfiguration(CentralConfigServiceImpl.java:294) [artifactory-core-3.0.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.setConfigXml(CentralConfigServiceImpl.java:174) [artifactory-core-3.0.2.jar:na] at org.artifactory.config.CentralConfigServiceImpl.saveEditedDescriptorAndReload(CentralConfigServiceImpl.java:219) [artifactory-core-3.0.2.jar:na] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) [spring-aop-3.2.0.RELEASE.jar:3.2.0.RELEASE] at com.sun.proxy.$Proxy38.saveEditedDescriptorAndReload(Unknown Source) [na:na] at sun.reflect.GeneratedMethodAccessor453.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.apache.wicket.proxy.LazyInitProxyFactory$JdkHandler.invoke(LazyInitProxyFactory.java:416) [wicket-ioc-1.5.3.jar:1.5.3] at org.apache.wicket.proxy.$Proxy129.saveEditedDescriptorAndReload(Unknown Source) [na:1.5.3] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.saveDescriptor(CachingDescriptorHelper.java:121) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.CachingDescriptorHelper.syncAndSaveRemoteRepositories(CachingDescriptorHelper.java:88) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel.saveEditDescriptor(HttpRepoPanel.java:163) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.remote.HttpRepoPanel.saveEditDescriptor(HttpRepoPanel.java:1) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.wicket.page.config.repos.RepoConfigCreateUpdatePanel$2.onSubmit(RepoConfigCreateUpdatePanel.java:157) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:59) [artifactory-web-common-3.0.2.jar:na] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior$1.onSubmit(AjaxFormSubmitBehavior.java:172) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.markup.html.form.Form.delegateSubmit(Form.java:1174) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.markup.html.form.Form.process(Form.java:838) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.markup.html.form.Form.onFormSubmitted(Form.java:762) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:158) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:166) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:316) [wicket-core-1.5.3.jar:1.5.3] at sun.reflect.GeneratedMethodAccessor232.invoke(Unknown Source) ~[na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.7.0_21] at java.lang.reflect.Method.invoke(Method.java:601) ~[na:1.7.0_21] at org.apache.wicket.RequestListenerInterface.internalInvoke(RequestListenerInterface.java:260) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:241) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.invokeListener(ListenerInterfaceRequestHandler.java:255) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.handler.ListenerInterfaceRequestHandler.respond(ListenerInterfaceRequestHandler.java:234) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle$HandlerExecutor.respond(RequestCycle.java:750) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.RequestHandlerStack.execute(RequestHandlerStack.java:64) [wicket-request-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.execute(RequestCycle.java:252) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequest(RequestCycle.java:209) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach(RequestCycle.java:280) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.processRequest(WicketFilter.java:162) [wicket-core-1.5.3.jar:1.5.3] at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:218) [wicket-core-1.5.3.jar:1.5.3] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:166) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:85) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:272) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:181) [artifactory-web-application-3.0.2.jar:na] at org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:143) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:57) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:72) [artifactory-web-application-3.0.2.jar:na] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) [catalina.jar:7.0.39] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) [catalina.jar:7.0.39] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) [catalina.jar:7.0.39] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) [catalina.jar:7.0.39] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) [catalina.jar:7.0.39] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) [catalina.jar:7.0.39] at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) [tomcat-coyote.jar:7.0.39] at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) [tomcat-coyote.jar:7.0.39] at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) [tomcat-coyote.jar:7.0.39] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_21] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_21] {code} The result seems to be errors of the following form, which does not stop until the config is properly updated: {code} 2013-09-03 02:18:28,293 [art-exec-130112] [ERROR] (o.a.s.TaskCallback :54) - Task org.artifactory.storage.fs.stats.StatsFlushJob@10b05ee9 was running before context=Artifactory: startup date [Tue Aug 06 03:07:40 EDT 2013]; root of context hierarchy initialization finished. 2013-09-03 02:18:28,397 [art-exec-130113] [ERROR] (o.a.s.TaskCallback :54) - Task org.artifactory.repo.cleanup.FolderPruningJob@6dc70437 was running before context=Artifactory: startup date [Tue Aug 06 03:07:40 EDT 2013]; root of context hierarchy initialization finished. 2013-09-03 02:18:29,641 [art-exec-130114] [ERROR] (o.a.s.TaskCallback :54) - Task org.artifactory.repo.cleanup.IntegrationCleanupJob@3acb508e was running before context=Artifactory: startup date [Tue Aug 06 03:07:40 EDT 2013]; root of context hierarchy initialization finished. {code}

    JFrog JIRA | 3 years ago | Dror Bereznitsky
    org.artifactory.concurrent.LockingException: Timeout after 120 seconds when trying to wait for next state in 'STOPPING'.
  6. 0

    2010-04-07 12:27:22,420 [art-exec-17] [DEBUG] (o.a.j.j.ArtifactoryConnectionRecoveryManager:293) - Database: MySQL / 5.0.77 2010-04-07 12:27:22,570 [art-exec-17] [DEBUG] (o.a.j.j.ArtifactoryConnectionRecoveryManager:294) - Driver: MySQL-AB JDBC Driver / mysql-connector-java-5.1.6 ( Revision: ${svn.Revision} ) 2010-04-07 12:32:15,000 [art-exec-19] [ERROR] (o.a.s.a.AsyncAdvice :106) - Could not execute async method: 'null'. org.artifactory.concurrent.LockingException: WRITE lock on LockEntryId my-javanet-local:com/enigmastation/ci-bayes not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$WriteLock@485531ae[Unlocked]. at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:245) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:99) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:94) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:57) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:765) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:292) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFsItem(JcrRepoBase.java:365) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.setXmlMetadata(RepositoryServiceImpl.java:879) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] 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.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy33.setXmlMetadata(Unknown Source) [na:na] at org.artifactory.maven.AbstractMetadataCalculator.saveMetadata(AbstractMetadataCalculator.java:61) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.createVersionsMetadata(MavenMetadataCalculator.java:165) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:90) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.calculate(MavenMetadataCalculator.java:64) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.calculateMavenMetadata(RepositoryServiceImpl.java:1264) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.calculateMavenMetadataAsync(RepositoryServiceImpl.java:1248) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] 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.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:59) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.invoke(AsyncAdvice.java:115) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.access$000(AsyncAdvice.java:45) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.run(AsyncAdvice.java:104) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_18] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_18] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_18] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_18] 2010-04-07 12:32:21,670 [art-exec-20] [ERROR] (o.a.j.JcrServiceImpl:543) - Could not list child node 'node /repositories/my-javanet-local/com/sun/akuma/akuma'. org.artifactory.concurrent.LockingException: READ lock on LockEntryId my-javanet-local:com/sun/akuma/akuma not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock@566ce6c1[Read locks = 0]. at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:245) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireReadLock(SessionLockEntry.java:85) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.InternalLockManager.readLock(InternalLockManager.java:87) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.LockingHelper.readLock(LockingHelper.java:48) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin$JcrFsItemLocator.lock(StoringRepoMixin.java:928) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetFsItem(StoringRepoMixin.java:731) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getJcrFsItem(StoringRepoMixin.java:251) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getJcrFsItem(JcrRepoBase.java:353) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.JcrServiceImpl.getChildren(JcrServiceImpl.java:534) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] 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.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy26.getChildren(Unknown Source) [na:na] at org.artifactory.jcr.fs.JcrFolder.getItems(JcrFolder.java:95) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.fs.JcrFolder.listFiles(JcrFolder.java:136) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.fs.JcrFolder.listFiles(JcrFolder.java:130) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.sonatype.nexus.index.DefaultScanner.scanDirectory(DefaultScanner.java:55) [nexus-indexer-2.0.4.jar:na] at org.sonatype.nexus.index.DefaultScanner.scanDirectory(DefaultScanner.java:72) [nexus-indexer-2.0.4.jar:na] at org.sonatype.nexus.index.DefaultScanner.scanDirectory(DefaultScanner.java:72) [nexus-indexer-2.0.4.jar:na] at org.sonatype.nexus.index.DefaultScanner.scanDirectory(DefaultScanner.java:72) [nexus-indexer-2.0.4.jar:na] at org.sonatype.nexus.index.DefaultScanner.scan(DefaultScanner.java:41) [nexus-indexer-2.0.4.jar:na] at org.sonatype.nexus.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:267) [nexus-indexer-2.0.4.jar:na] at org.sonatype.nexus.index.DefaultNexusIndexer.scan(DefaultNexusIndexer.java:212) [nexus-indexer-2.0.4.jar:na] at org.artifactory.repo.index.RepoIndexer.createIndex(RepoIndexer.java:147) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.index.RepoIndexer.index(RepoIndexer.java:131) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.index.RepoIndexManager.createLocalIndex(RepoIndexManager.java:172) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.index.IndexerServiceImpl.fetchOrCreateIndex(IndexerServiceImpl.java:351) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] 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.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy35.fetchOrCreateIndex(Unknown Source) [na:na] at org.artifactory.repo.index.IndexerServiceImpl$FindOrCreateIndexJob.onExecute(IndexerServiceImpl.java:327) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.index.IndexerServiceImpl$FindOrCreateIndexJob.onExecute(IndexerServiceImpl.java:319) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.quartz.QuartzCommand.execute(QuartzCommand.java:44) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.quartz.core.JobRunShell.run(JobRunShell.java:202) [quartz-1.6.6.jar:1.6.6] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_18] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_18] 2010-04-07 12:32:50,560 [art-exec-17] [ERROR] (o.a.s.a.AsyncAdvice :106) - Could not execute async method: 'null'. org.artifactory.concurrent.LockingException: 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]. at org.artifactory.jcr.lock.SessionLockEntry.acquire(SessionLockEntry.java:245) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.SessionLockEntry.acquireWriteLock(SessionLockEntry.java:99) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.InternalLockManager.writeLock(InternalLockManager.java:94) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.LockingHelper.writeLock(LockingHelper.java:57) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.internalGetLockedJcrFsItem(StoringRepoMixin.java:765) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.StoringRepoMixin.getLockedJcrFsItem(StoringRepoMixin.java:292) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.jcr.JcrRepoBase.getLockedJcrFsItem(JcrRepoBase.java:365) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.setXmlMetadata(RepositoryServiceImpl.java:879) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.GeneratedMethodAccessor189.invoke(Unknown Source) [na:na] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] 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.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:76) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) [spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE] at $Proxy33.setXmlMetadata(Unknown Source) [na:na] at org.artifactory.maven.AbstractMetadataCalculator.saveMetadata(AbstractMetadataCalculator.java:61) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.createSnapshotsMetadata(MavenMetadataCalculator.java:138) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:83) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.processFolder(MavenMetadataCalculator.java:75) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.maven.MavenMetadataCalculator.calculate(MavenMetadataCalculator.java:64) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.calculateMavenMetadata(RepositoryServiceImpl.java:1264) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.repo.service.RepositoryServiceImpl.calculateMavenMetadataAsync(RepositoryServiceImpl.java:1248) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_18] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_18] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_18] at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_18] 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.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.CompoundInvocation.proceed(CompoundInvocation.java:59) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.invoke(AsyncAdvice.java:115) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice.access$000(AsyncAdvice.java:45) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.aop.AsyncAdvice$1.run(AsyncAdvice.java:104) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at org.artifactory.schedule.ArtifactoryConcurrentExecutor$RunnableWrapper.run(ArtifactoryConcurrentExecutor.java:85) [artifactory-core-2.2.x-SNAPSHOT.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) [na:1.6.0_18] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) [na:1.6.0_18] at java.util.concurrent.FutureTask.run(FutureTask.java:138) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [na:1.6.0_18] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [na:1.6.0_18] at java.lang.Thread.run(Thread.java:619) [na:1.6.0_18] 2010-04-07 12:54:09,740 [art-exec-20] [ERROR] (o.a.r.i.IndexerServiceImpl:329) - Fetching index files failed: Failed to index repository 'my-javanet-local'..

    JFrog JIRA | 7 years ago | Frederic Simon
    org.artifactory.concurrent.LockingException: READ lock on LockEntryId my-javanet-local:com/sun/akuma/akuma not acquired in 120 seconds. Lock info: java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock@566ce6c1[Read locks = 0].

    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

      Waited for task ExportJob#fbec6940-64e5-41ac-bd70-8ad8030cd909 more than 100 times.

      at org.artifactory.schedule.TaskBase.waitForCompletion()
    2. org.artifactory.schedule
      TaskServiceImpl.waitForTaskCompletion
      1. org.artifactory.schedule.TaskBase.waitForCompletion(TaskBase.java:265)[artifactory-core-2.2.1.jar:na]
      2. org.artifactory.schedule.TaskServiceImpl.waitForTaskCompletion(TaskServiceImpl.java:206)[artifactory-core-2.2.1.jar:na]
      2 frames
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_07]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_07]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_07]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_07]
      4 frames
    4. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2 frames
    5. Unknown
      $Proxy31.waitForTaskCompletion
      1. $Proxy31.waitForTaskCompletion(Unknown Source)[na:na]
      1 frame
    6. org.artifactory.repo
      RepositoryServiceImpl.exportTo
      1. org.artifactory.repo.service.RepositoryServiceImpl.exportAsync(RepositoryServiceImpl.java:1509)[artifactory-core-2.2.1.jar:na]
      2. org.artifactory.repo.service.RepositoryServiceImpl.exportTo(RepositoryServiceImpl.java:688)[artifactory-core-2.2.1.jar:na]
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_07]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_07]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_07]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_07]
      4 frames
    8. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      3 frames
    9. Spring Tx
      TransactionInterceptor.invoke
      1. org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:107)[spring-tx-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      1 frame
    10. org.artifactory.jcr
      LockingAdvice.invoke
      1. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:74)[artifactory-core-2.2.1.jar:na]
      2. org.artifactory.jcr.lock.aop.LockingAdvice.invoke(LockingAdvice.java:46)[artifactory-core-2.2.1.jar:na]
      2 frames
    11. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2 frames
    12. Unknown
      $Proxy33.exportTo
      1. $Proxy33.exportTo(Unknown Source)[na:na]
      1 frame
    13. org.artifactory.config
      CentralConfigServiceImpl.exportTo
      1. org.artifactory.config.CentralConfigServiceImpl.exportTo(CentralConfigServiceImpl.java:259)[artifactory-core-2.2.1.jar:na]
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.6.0_07]
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)[na:1.6.0_07]
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[na:1.6.0_07]
      4. java.lang.reflect.Method.invoke(Method.java:597)[na:1.6.0_07]
      4 frames
    15. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:196)[spring-aop-3.0.0.RELEASE.jar:3.0.0.RELEASE]
      2 frames
    16. Unknown
      $Proxy29.exportTo
      1. $Proxy29.exportTo(Unknown Source)[na:na]
      1 frame
    17. org.artifactory.spring
      ArtifactoryApplicationContext.exportTo
      1. org.artifactory.spring.ArtifactoryApplicationContext.exportTo(ArtifactoryApplicationContext.java:510)[artifactory-core-2.2.1.jar:na]
      1 frame
    18. org.artifactory.webapp
      ExportSystemPanel$3.onSubmit
      1. org.artifactory.webapp.wicket.page.importexport.system.ExportSystemPanel$3.onSubmit(ExportSystemPanel.java:151)[artifactory-web-application-2.2.1.jar:na]
      1 frame
    19. org.artifactory.common
      TitledAjaxSubmitLink$1.onSubmit
      1. org.artifactory.common.wicket.component.links.TitledAjaxSubmitLink$1.onSubmit(TitledAjaxSubmitLink.java:63)[artifactory-web-common-2.2.1.jar:na]
      1 frame
    20. Wicket Core
      AbstractDefaultAjaxBehavior.onRequest
      1. org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:128)[wicket-1.3.7.jar:1.3.7]
      2. org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:163)[wicket-1.3.7.jar:1.3.7]
      3. org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:297)[wicket-1.3.7.jar:1.3.7]
      3 frames
    21. org.apache.wicket
      BehaviorRequestTarget.processEvents
      1. org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:104)[wicket-1.3.7.jar:1.3.7]
      1 frame
    22. Wicket Request
      AbstractRequestCycleProcessor.processEvents
      1. org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:91)[wicket-1.3.7.jar:1.3.7]
      1 frame
    23. Wicket Core
      WicketFilter.doFilter
      1. org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1239)[wicket-1.3.7.jar:1.3.7]
      2. org.apache.wicket.RequestCycle.step(RequestCycle.java:1316)[wicket-1.3.7.jar:1.3.7]
      3. org.apache.wicket.RequestCycle.steps(RequestCycle.java:1418)[wicket-1.3.7.jar:1.3.7]
      4. org.apache.wicket.RequestCycle.request(RequestCycle.java:532)[wicket-1.3.7.jar:1.3.7]
      5. org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:356)[wicket-1.3.7.jar:1.3.7]
      6. org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:201)[wicket-1.3.7.jar:1.3.7]
      6 frames
    24. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    25. org.artifactory.webapp
      RepoFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.execute(RepoFilter.java:177)[artifactory-web-application-2.2.1.jar:na]
      2. org.artifactory.webapp.servlet.RepoFilter.doFilter(RepoFilter.java:76)[artifactory-web-application-2.2.1.jar:na]
      2 frames
    26. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    27. org.artifactory.webapp
      AccessFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.useAuthentication(AccessFilter.java:206)[artifactory-web-application-2.2.1.jar:na]
      2. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:116)[artifactory-web-application-2.2.1.jar:na]
      3. org.artifactory.webapp.servlet.AccessFilter.doFilter(AccessFilter.java:97)[artifactory-web-application-2.2.1.jar:na]
      3 frames
    28. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    29. org.artifactory.webapp
      RequestFilter.doFilter
      1. org.artifactory.webapp.servlet.RequestFilter.doFilter(RequestFilter.java:55)[artifactory-web-application-2.2.1.jar:na]
      1 frame
    30. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      2 frames
    31. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:66)[artifactory-web-application-2.2.1.jar:na]
      1 frame
    32. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)[catalina.jar:na]
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)[catalina.jar:na]
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)[catalina.jar:na]
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)[catalina.jar:na]
      5. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)[catalina.jar:na]
      6. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)[catalina.jar:na]
      7. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)[catalina.jar:na]
      8. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)[catalina.jar:na]
      8 frames
    33. Grizzly HTTP
      JIoEndpoint$Worker.run
      1. org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)[tomcat-coyote.jar:na]
      2. org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)[tomcat-coyote.jar:na]
      3. org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)[tomcat-coyote.jar:na]
      3 frames
    34. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:619)[na:1.6.0_07]
      1 frame