Hi Tom,
Are you using Maven or Gradle (I think Gradle :))?
If Maven, then this issue was solved in version 3.0.4, a new wagon was
introduced and all requests are preemptive.
If Gradle then please take a look into using the Artifactory Gradle
plugin<http://wiki.jfrog.org/confluence/display/RTF/Gradle+Artifactory+Plugin>.
It is highly configured for uploading large files, deployment is done only
at the end of the build so you don't end up with partly deployed build if
it fails in the middle. It also uses checksum deploy which means
un modified artifacts will only be cheep copied inside Artifactory and not
really uploaded again which save a lot of time and bandwidth. Last
advantage will the power of Artifactory build
integration<http://wiki.jfrog.org/confluence/display/RTF/Build+Integration>
.
BTW, this can be implemented into maven as well so if needed I would be
happy to provide you with the details.
HTH,
Eli
On Thu, Sep 13, 2012 at 12:33 AM, Thomas Carlier <[email protected]> wrote:
> Hello:
>
> Can someone help me figure out how to configure the mavenDeployer to use
> preemptive authentication for uploading large release files to the
> Artifactory? The Artifactory maximum files size is set to 0 (for unlimited
> size), and uploading large 'snapshot' files is working. Uploading release
> files smaller than 100 MB is working as well, but does attempt
> non-authenticated upload before doing a successful authenticated upload.
> When the 'release' file size is larger than 100 MB, both upload attempts
> are non-authentcated and the upload fails.
>
> Here is the Artifactory request log file output when uploading a 95 MB
> release file:
>
>
> 20120904095914|3|REQUEST|x.x.x.x|non_authenticated_user|PUT|/local/com/tlc/build/6.9.0-b2/build-6.9.0-b2.zip|HTTP/1.1|401|44780077
>
> 20120904095925|2079|REQUEST|x.x.x.x|build_user|PUT|/local/com/tlc/build/6.9.0-b2/build-6.9.0-b2.zip|HTTP/1.1|201|44780077
>
> When the upload file is changed to 130 MB, this is the output:
>
>
> 20120904101054|7|REQUEST|x.x.x.x|non_authenticated_user|PUT|/local/com/tlc/build/6.9.0-b3/build-6.9.0-b3.zip|HTTP/1.1|401|143066145
>
> 20120904101124|6|REQUEST|x.x.x.x|non_authenticated_user|PUT|/local/com/tlc/build/6.9.0-b3/build-6.9.0-b3.zip|HTTP/1.1|401|143066145
>
> ... and for a 130 MB 'snapshot' file:
>
>
> 20120904105806|8|REQUEST|x.x.x.x|non_authenticated_user|GET|/libs-new-local/com/tlc/build/6.9.0-b4-SNAPSHOT/maven-metadata.xml|HTTP/1.1|401|0
>
> 20120904105806|177|REQUEST|x.x.x.x|build_user|GET|/local/com/tlc/build/6.9.0-b4-SNAPSHOT/maven-metadata.xml|HTTP/1.1|404|0
>
> 20120904105813|3751|REQUEST|x.x.x.x|build_user|PUT|/local/com/tlc/build/6.9.0-b4-SNAPSHOT/build-6.9.0-b4-20120904.175806-1.zip|HTTP/1.1|201|143066145
>
> The most puzzling thing about this is why the file size would cause the
> client's authentication to change. Any ideas?
>
> I have also posted this problem on the Gradle forum, but no response, yet.
>
> Thanks in advance,
>
> --- Tom C.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Artifactory-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/artifactory-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users