java.lang.RuntimeException: Failed to save resource '{libs-releases:com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war.md5}'.

JFrog JIRA | Nayan Hajratwala | 9 years ago
  1. 0

    When I am deploying my application via "mvn release:perform", I get this error message on the client: ... [INFO] [deploy:deploy] altDeploymentRepository = null Uploading: http://mivl01.cac.com:8081/artifactory/libs-releases//com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war 20544K uploaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: http://mivl01.cac.com:8081/artifactory/libs-releases//com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war. Ret urn code is: 504 ... On the artifactory server, i see the following in consoleout.log 2008-03-21 12:03:50,424 [ERROR] (RepoFilter.java:151) - Upload request failed java.lang.RuntimeException: Failed to save resource '{libs-releases:com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war.md5}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:441) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:198) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:149) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:77) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:215) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:391) ... 24 more Caused by: java.lang.RuntimeException: Failed to acquire node lock on '/repositories/libs-releases/com/ca/caps' after 60 retries. at org.artifactory.jcr.NodeLock.lock(NodeLock.java:89) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:40) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:467) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:225) at org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:402) at org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:393) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:211) ... 25 more Other jar files deploy fine during the release process, so I'm thinking it might have something to do with the size of the war file... I've tried this with a few different configs including specifying a greater -Xmx for the artifactory process and including <fileUploadMaxSizeMb>50</fileUploadMaxSizeMb> in artifactory.config.xml Nothing seems to work.

    JFrog JIRA | 9 years ago | Nayan Hajratwala
    java.lang.RuntimeException: Failed to save resource '{libs-releases:com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war.md5}'.
  2. 0

    When I am deploying my application via "mvn release:perform", I get this error message on the client: ... [INFO] [deploy:deploy] altDeploymentRepository = null Uploading: http://mivl01.cac.com:8081/artifactory/libs-releases//com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war 20544K uploaded [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: http://mivl01.cac.com:8081/artifactory/libs-releases//com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war. Ret urn code is: 504 ... On the artifactory server, i see the following in consoleout.log 2008-03-21 12:03:50,424 [ERROR] (RepoFilter.java:151) - Upload request failed java.lang.RuntimeException: Failed to save resource '{libs-releases:com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war.md5}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:441) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:198) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:149) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:77) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:215) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:391) ... 24 more Caused by: java.lang.RuntimeException: Failed to acquire node lock on '/repositories/libs-releases/com/ca/caps' after 60 retries. at org.artifactory.jcr.NodeLock.lock(NodeLock.java:89) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:40) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:467) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:225) at org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:402) at org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:393) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:211) ... 25 more Other jar files deploy fine during the release process, so I'm thinking it might have something to do with the size of the war file... I've tried this with a few different configs including specifying a greater -Xmx for the artifactory process and including <fileUploadMaxSizeMb>50</fileUploadMaxSizeMb> in artifactory.config.xml Nothing seems to work.

    JFrog JIRA | 9 years ago | Nayan Hajratwala
    java.lang.RuntimeException: Failed to save resource '{libs-releases:com/ca/caps/caps-aggregator/1.0/caps-aggregator-1.0.war.md5}'.
  3. 0

    I recently upgraded from revision 642 1.2.1-SNAPSHOT to 1.2.1 final release. Things went pretty smooth for a while - however after running the server for a while ( several days, not much traffic) and then trying to deploy a pom artifact, I noticed Internal Error 500 being returned. Looking at the logs I see that the node is already locked. I have no idea what is causing the locks but it keeps happening. I will mention that after restarting the server the same pom can be deployed without problem as it seems that locks are removed upon restart. However it always happens that eventually nodes will become locked again for some unknown reason and prevent deployment and I am always forced to restart. {noformat} [] 2007-07-19 22:40:46,239 DEBUG NodeLock.lock(74) | Cannot lock node '/prefix-repo-dev-release/com/company/pom-root'.. Cause: javax.jcr.lock.LockException: Node already locked: /prefix-repo-dev-release/com/company/pom-root at org.apache.jackrabbit.core.lock.LockManagerImpl.internalLock(LockManagerImpl.java:274) at org.apache.jackrabbit.core.lock.XALockManager.lock(XALockManager.java:73) at org.apache.jackrabbit.core.NodeImpl.lock(NodeImpl.java:4060) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:58) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:39) at org.artifactory.jcr.JcrHelper.createFolder(JcrHelper.java:430) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:456) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:198) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:341) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:333) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:184) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:331) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:106) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:72) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:841) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:639) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [] 2007-07-19 22:40:46,240 ERROR RepoFilter.handleUploadRequest(108) | Upload request failed java.lang.RuntimeException: Failed to save resource '{prefix-repo-dev-release:com/company/pom-root/8/pom-root-8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:378) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:106) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:72) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:841) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:639) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:188) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:331) ... 25 more Caused by: java.lang.RuntimeException: Failed to acquire node lock on '/prefix-repo-dev-release/com/company/pom-root' after 15 retries. at org.artifactory.jcr.NodeLock.lock(NodeLock.java:88) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:39) at org.artifactory.jcr.JcrHelper.createFolder(JcrHelper.java:430) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:456) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:198) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:341) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:333) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:184) ... 26 more {noformat} Any ideas?

    JFrog JIRA | 9 years ago | Peter Lynch
    java.lang.RuntimeException: Failed to save resource '{prefix-repo-dev-release:com/company/pom-root/8/pom-root-8.pom}'.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue created per request Yoav Landman. See artifactory users thread 'Failed to acquire node lock on '/releases/nl/TISMonitorWebApp' after 15 retries'. The stacktrace below is generated if: - deploying with mvn to a previously non-existing node (version) - the deployments (.war) are relatively large, +15 Mb I tried to reproduce this with the webgui, by uploading the file to a non-existing node. The webgui was able to deploy the artifacts. No problems there. The stacktrace: 2007-10-04 14:19:37,199 [ERROR] webapp.servlet.RepoFilter - Upload request failed java.lang.RuntimeException: Failed to save resource '{releases:nl/TISMonitorWebApp/1.0.2/TISMonitorWebApp-1.0.2.war.md5}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:407) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:104) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:313) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:190) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:360) ... 25 more Caused by: java.lang.RuntimeException: Failed to acquire node lock on '/releases/nl/TISMonitorWebApp' after 15 retries. at org.artifactory.jcr.NodeLock.lock(NodeLock.java:93) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:44) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:486) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:200) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:370) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:362) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:186) ... 26 more

    JFrog JIRA | 9 years ago | klaasjan elzinga
    java.lang.RuntimeException: Failed to save resource '{releases:nl/TISMonitorWebApp/1.0.2/TISMonitorWebApp-1.0.2.war.md5}'.
  6. 0

    I recently upgraded from revision 642 1.2.1-SNAPSHOT to 1.2.1 final release. Things went pretty smooth for a while - however after running the server for a while ( several days, not much traffic) and then trying to deploy a pom artifact, I noticed Internal Error 500 being returned. Looking at the logs I see that the node is already locked. I have no idea what is causing the locks but it keeps happening. I will mention that after restarting the server the same pom can be deployed without problem as it seems that locks are removed upon restart. However it always happens that eventually nodes will become locked again for some unknown reason and prevent deployment and I am always forced to restart. {noformat} [] 2007-07-19 22:40:46,239 DEBUG NodeLock.lock(74) | Cannot lock node '/prefix-repo-dev-release/com/company/pom-root'.. Cause: javax.jcr.lock.LockException: Node already locked: /prefix-repo-dev-release/com/company/pom-root at org.apache.jackrabbit.core.lock.LockManagerImpl.internalLock(LockManagerImpl.java:274) at org.apache.jackrabbit.core.lock.XALockManager.lock(XALockManager.java:73) at org.apache.jackrabbit.core.NodeImpl.lock(NodeImpl.java:4060) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:58) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:39) at org.artifactory.jcr.JcrHelper.createFolder(JcrHelper.java:430) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:456) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:198) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:341) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:333) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:184) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:331) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:106) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:72) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:841) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:639) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) [] 2007-07-19 22:40:46,240 ERROR RepoFilter.handleUploadRequest(108) | Upload request failed java.lang.RuntimeException: Failed to save resource '{prefix-repo-dev-release:com/company/pom-root/8/pom-root-8.pom}'. at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:378) at org.artifactory.engine.UploadEngine.process(UploadEngine.java:158) at org.artifactory.webapp.servlet.RepoFilter.handleUploadRequest(RepoFilter.java:106) at org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:75) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:178) at org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:72) at org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:89) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1089) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:365) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:712) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:211) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139) at org.mortbay.jetty.Server.handle(Server.java:295) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:503) at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:841) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:639) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:210) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:379) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:361) at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442) Caused by: java.lang.RuntimeException: Failed to execute JcrCallback. at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:188) at org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:331) ... 25 more Caused by: java.lang.RuntimeException: Failed to acquire node lock on '/prefix-repo-dev-release/com/company/pom-root' after 15 retries. at org.artifactory.jcr.NodeLock.lock(NodeLock.java:88) at org.artifactory.jcr.NodeLock.lock(NodeLock.java:39) at org.artifactory.jcr.JcrHelper.createFolder(JcrHelper.java:430) at org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:456) at org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:198) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:341) at org.artifactory.repo.JcrRepo$9.doInJcr(JcrRepo.java:333) at org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:184) ... 26 more {noformat} Any ideas?

    JFrog JIRA | 9 years ago | Peter Lynch
    java.lang.RuntimeException: Failed to save resource '{prefix-repo-dev-release:com/company/pom-root/8/pom-root-8.pom}'.

    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. java.lang.RuntimeException

      Failed to acquire node lock on '/repositories/libs-releases/com/ca/caps' after 60 retries.

      at org.artifactory.jcr.NodeLock.lock()
    2. org.artifactory.jcr
      JcrHelper.createPath
      1. org.artifactory.jcr.NodeLock.lock(NodeLock.java:89)
      2. org.artifactory.jcr.NodeLock.lock(NodeLock.java:40)
      3. org.artifactory.jcr.JcrHelper.getOrCreateFolderNode(JcrHelper.java:467)
      4. org.artifactory.jcr.JcrHelper.createPath(JcrHelper.java:225)
      4 frames
    3. org.artifactory.repo
      JcrRepo$8.doInJcr
      1. org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:402)
      2. org.artifactory.repo.JcrRepo$8.doInJcr(JcrRepo.java:393)
      2 frames
    4. org.artifactory.jcr
      JcrHelper.doInSession
      1. org.artifactory.jcr.JcrHelper.doInSession(JcrHelper.java:211)
      1 frame
    5. org.artifactory.repo
      JcrRepo.saveResource
      1. org.artifactory.repo.JcrRepo.saveResource(JcrRepo.java:391)
      1 frame
    6. org.artifactory.engine
      UploadEngine.process
      1. org.artifactory.engine.UploadEngine.process(UploadEngine.java:198)
      1 frame
    7. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.RepoFilter.doFilterInternal(RepoFilter.java:149)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
      2 frames
    8. Jetty Server
      ServletHandler$CachedChain.doFilter
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      1 frame
    9. Acegi Security Core
      BasicProcessingFilter.doFilter
      1. org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173)
      1 frame
    10. org.artifactory.webapp
      ArtifactoryFilter.doFilter
      1. org.artifactory.webapp.servlet.AccessFilter.doFilterInternal(AccessFilter.java:77)
      2. org.artifactory.webapp.servlet.ArtifactoryFilter.doFilter(ArtifactoryFilter.java:95)
      2 frames
    11. Jetty Server
      SelectChannelEndPoint.run
      1. org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1084)
      2. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360)
      3. org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
      4. org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
      5. org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:722)
      6. org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:404)
      7. org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206)
      8. org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
      9. org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
      10. org.mortbay.jetty.Server.handle(Server.java:324)
      11. org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505)
      12. org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:842)
      13. org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:648)
      14. org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
      15. org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380)
      16. org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395)
      16 frames
    12. Jetty Util
      BoundedThreadPool$PoolThread.run
      1. org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:450)
      1 frame