[
https://issues.apache.org/jira/browse/WAGON-373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Michael Osipov closed WAGON-373.
--------------------------------
Resolution: Auto Closed
This issue has been auto closed because it has been inactive for a long period
of time. If you think this issue still applies, retest your problem with the
most recent version of Maven and the affected component, reopen and post your
results.
> wagon-http fails to deploy files larger than 2GB
> ------------------------------------------------
>
> Key: WAGON-373
> URL: https://issues.apache.org/jira/browse/WAGON-373
> Project: Maven Wagon
> Issue Type: Bug
> Components: wagon-http
> Affects Versions: 2.0, 2.1, 2.2
> Environment: Our repository server is "Sonatype Nexus™ Professional
> Edition, Version: 1.9.2.4"
> We are using maven 3.0.3.
> Reporter: Scott Glajch
> Attachments: wagon-http-1.0-beta-7_stacktrace.txt,
> wagon-http-2.0_stacktrace.txt
>
>
> Our build produces a vm template that we upload to the repository. Recently
> this grew to be just over 2GB and the build started failing to deploy. We
> were using vesrion 1.0-beta-7 of wagon-http-lightweight. I created a small
> isolated project to exhibit the behavior and tried changing the versions
> around. We tried upgrading to wagon-http 2.2 but this failed because that
> version is broken. There's an incompatibility between the two jars
> wagon-http-shared4 and wagon-provider-api both of version 2.2. I'm going to
> log a separate bug for that version. Then we tried 2.0 and that got further.
> The error from wagon-http version-1.0-beta-7 is: "Write failed: Broken pipe"
> The error from wagon-http version 2.0 is: "The target server failed to
> respond"
> My isolated project was created like this. I have three resource files,
> testfile1 and testfile2 are just over 1GB each. testfile3 is 900MB. To show
> the problem, I have the pom.xml file exclude testfile3, and the resulting jar
> file that's built is about 2.1GB. To ensure that everything works correctly
> right before the 2GB limit, I then change the pom.xml file to exclude
> testfile2, and the resultant jar file is 1.9GB. The 1.9GB file deploys
> correctly but the 2.1GB file does not.
> To create these files, I used the linux command "dd if=/dev/urandom
> of=testfile1 bs=1095761920 count=1". That long number for "bs" is
> 1024*1024*1045. To create the smaller 900MB file I used 1024*1024*900.
> Full stack traces are attached.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)