I know a 500 is not an auth error, but the logs says "DENIED DEPLOY...for
anonymous".
Are you sure anonymous users have deploy permission for your
'lib-snapshots-local' repo?
Are you able to deploy them manually?
Have you tried removing the "deploy" Maven goal and doing it via plugin
instead?

Cheers.


On Fri, Jan 6, 2012 at 8:31 AM, Federico Paolantoni <
[email protected]> wrote:

> Dear All,
> we are using Jenkins and Artifactory since the end of 2010.
> Jenkins and Artifactory are running on two different instances of
> tomcat on the same VM.
>
> After the last upgrade of Artifactory we started having issues with
> deploy on artifactory.
>
> This is the log in jenkins:
>
> java.io.IOException: Failed to deploy file: HTTP response code: 500.
> HTTP response message: Internal Server Error
>        at
> org.jfrog.build.client.ArtifactoryBuildInfoClient.throwHttpIOException(ArtifactoryBuildInfoClient.java:493)
>        at
> org.jfrog.build.client.ArtifactoryBuildInfoClient.uploadFile(ArtifactoryBuildInfoClient.java:413)
>        at
> org.jfrog.build.client.ArtifactoryBuildInfoClient.deployArtifact(ArtifactoryBuildInfoClient.java:289)
>        at
> org.jfrog.hudson.maven2.ArtifactsDeployer.deployArtifact(ArtifactsDeployer.java:194)
>        at
> org.jfrog.hudson.maven2.ArtifactsDeployer.deploy(ArtifactsDeployer.java:135)
>        at
> org.jfrog.hudson.ArtifactoryRedeployPublisher.perform(ArtifactoryRedeployPublisher.java:280)
>        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
>        at
> hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:682)
>        at
> hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:657)
>        at
> hudson.maven.MavenModuleSetBuild$RunnerImpl.post2(MavenModuleSetBuild.java:919)
>        at
> hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:604)
>        at hudson.model.Run.run(Run.java:1400)
>        at
> hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:476)
>        at
> hudson.model.ResourceController.execute(ResourceController.java:88)
>        at hudson.model.Executor.run(Executor.java:175)
>
>
> this is our Artifactory access.log
> 2012-01-06 11:44:24,187 [DENIED DEPLOY]
> libs-snapshot-local:org/fao/techcdr/techcdr-widgets/maven-metadata.xml
> for anonymous/168.202.4.177.
>
> Consider that we are using:
> Artifactory version : 2.4.2
> Jenkins version : Jenkins ver. 1.424.1 (LTS)
> Maven version (in jenkins) 2.2.1
>
> Goals:
> clean compile javadoc:javadoc jstools:jsdoc war:war deploy -e -X
>
> -Denv=env-test
> -Dorg.apache.maven.global-settings=path_to_our_folder/settings.xml
>
> If you want I can attach the pom.xml but the issue happens on many
> projects.. aleatory!!
>
> Any help will be appreciated.
>
> Regards
> --
> Federico
>
>
> -----------------------------------------------------------------------------------
> The information contained in the present communication
> and the related attachment can be classified as reserved
> and are, however, destined exclusively to the persons
> or the over indicated Society are forbidden, according
> the Italian Laws, D.Lgs. n. 196/2003 "Code in matter of
> protection of the personal data" and of the art. 616 c.p.
> if you have received this e-mail in error please destroy
> any copies and delete it from your computer system.
>
> -----------------------------------------------------------------------------------
>
>
> ------------------------------------------------------------------------------
> Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
> infrastructure or vast IT resources to deliver seamless, secure access to
> virtual desktops. With this all-in-one solution, easily deploy virtual
> desktops for less than the cost of PCs and save 60% on VDI infrastructure
> costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users

Reply via email to