org.artifactory.concurrent.LockingException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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}
    via by Dror Bereznitsky,
  • 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}
    via by Dror Bereznitsky,
    • 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]
    No Bugmate found.