org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500

JFrog JIRA | Ötzi | 7 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

    JFrog JIRA | 7 years ago | ??tzi
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500
  2. 0

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

    JFrog JIRA | 7 years ago | Ötzi
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500
  3. 0

    mvn deploy: Resource to deploy not found

    Stack Overflow | 2 years ago | Dreamer
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Resource to deploy not found: File: http://maven.myRepo/artifactory/my-release-local/com/app/myApp/my-dependencies/this-dependency0.0.1-/dependency-0.0.1.jar does not exist
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    problem with mvn deploy (Ant, Maven and Build Tools forum at JavaRanch)

    coderanch.com | 1 year ago
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: http://snapshots.jboss.org/maven2/com.mycompany.app/jars/my-app-1.0-20091014.091039-1.jar. Re turn code is: 405
  6. 0

    As per https://issues.sonatype.org/browse/OSSRH-1063 I should be able to deploy on the sonatype repository new snapshots and releases of the jaitools project. I did add the necessary information to my settings.xml file but it appears that is not enough, I get a 401 trying to deploy: {panel} [INFO] ------------------------------------------------------------------------ [INFO] Building JAI-tools [INFO] task-segment: [deploy] [INFO] ------------------------------------------------------------------------ [INFO] [site:attach-descriptor {execution: default-attach-descriptor}] [INFO] Preparing source:jar [WARNING] Removing: jar from forked lifecycle, to prevent recursive invocation. [INFO] No goals needed for project - skipping [INFO] [source:jar {execution: default}] [INFO] [javadoc:jar {execution: default}] [INFO] Not executing Javadoc as the project is not a Java classpath-capable package [INFO] [install:install {execution: default-install}] [INFO] Installing /home/aaime/devel/jaitools/git-jaitools/pom.xml to /home/aaime/.m2/repository/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom [INFO] [deploy:deploy {execution: default-deploy}] [INFO] Retrieving previous build number from jaitools-snapshots Uploading: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 [INFO] ------------------------------------------------------------------------ [INFO] Trace org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:719) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180) at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328) at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138) at org.apache.maven.cli.MavenCli.main(MavenCli.java:362) at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:592) at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) at org.codehaus.classworlds.Launcher.main(Launcher.java:375) Caused by: org.apache.maven.plugin.MojoExecutionException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:195) at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490) at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694) ... 17 more Caused by: org.apache.maven.artifact.deployer.ArtifactDeploymentException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:121) at org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:165) ... 19 more Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401 at org.apache.maven.wagon.providers.http.LightweightHttpWagon.finishPutTransfer(LightweightHttpWagon.java:205) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:413) at org.apache.maven.wagon.AbstractWagon.transfer(AbstractWagon.java:392) at org.apache.maven.wagon.AbstractWagon.putTransfer(AbstractWagon.java:365) at org.apache.maven.wagon.StreamWagon.put(StreamWagon.java:163) at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:317) at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:227) at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:107) ... 20 more [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Sat Feb 05 12:37:43 CET 2011 [INFO] Final Memory: 41M/409M [INFO] ------------------------------------------------------------------------ {panel} My maven settings file looks like the following (of course passwords have been altered): {code:xml} <settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>osgeo</id> <username>aaime</username> <password>dunno</password> </server> <server> <id>sonatype-nexus-snapshots</id> <username>aaime</username> <password>wontellya</password> </server> <server> <id>sonatype-nexus-staging</id> <username>aaime</username> <password>nope</password> </server> </servers> </settings> {code}

    Sonatype JIRA | 6 years ago | Andrea Aime
    org.apache.maven.lifecycle.LifecycleExecutionException: Error deploying artifact: Failed to transfer file: http://oss.sonatype.org/content/repositories/snapshots/com/googlecode/jaitools/jaitools/1.1-SNAPSHOT/jaitools-1.1-SNAPSHOT.pom. Return code is: 401

    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.apache.maven.wagon.TransferFailedException

      Failed to transfer file: https://samson.prov.bz/artifactory/libs-snapshots-local/it/bz/prov/lafispsr/psrgateway/1.0.14-SNAPSHOT/psrgateway-1.0.14-20091217.100131-2-bcmodel.csl. Return code is: 500

      at org.apache.maven.wagon.providers.http.LightweightHttpWagon.put()
    2. Maven
      DefaultArtifactDeployer.deploy
      1. org.apache.maven.wagon.providers.http.LightweightHttpWagon.put(LightweightHttpWagon.java:172)
      2. org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:244)
      3. org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:160)
      4. org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:80)
      4 frames
    3. org.apache.maven
      DeployMojo.execute
      1. org.apache.maven.plugin.deploy.DeployMojo.execute(DeployMojo.java:169)
      1 frame
    4. Maven Plugin
      DefaultPluginManager.executeMojo
      1. org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)
      1 frame
    5. Maven Core
      DefaultMaven.execute
      1. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)
      2. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)
      3. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)
      4. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)
      5. org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)
      6. org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)
      7. org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
      8. org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)
      8 frames
    6. M3 Interceptor
      MavenCli.main
      1. org.apache.maven.cli.MavenCli.main(MavenCli.java:287)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    8. Plexus
      Launcher.main
      1. org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      2. org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      3. org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
      4. org.codehaus.classworlds.Launcher.main(Launcher.java:375)
      4 frames