Yep, it's just a workaround :) The read timeout problem could be in
Wagon, but I'm not sure.

On Wed, Sep 29, 2010 at 5:51 PM, Em DauPhu <emdau...@gmail.com> wrote:
> It doesn't seem related to the MRM as I get the same error with
> Archiva or Nexus.
> Btw I already set that property and the upload via the webapp works
> fine but I don't want to do it manually.
> I could submit the form automatically as well but that's not the point. ;)
>
> Thank you,
> Em
>
> On Wed, Sep 29, 2010 at 11:30 AM, Deng Ching <och...@apache.org> wrote:
>> You can also upload the file from the webapp in Archiva, but you have
>> to increase the max size for struts to allow larger uploads. Just
>> increase the value of property "struts.multipart.maxSize" in
>> apps/archiva/WEB-INF/classes/struts.properties. Maximum size that can
>> be set is 2gb btw.
>>
>> HTH,
>> Deng
>>
>> On Wed, Sep 29, 2010 at 5:01 PM, Em DauPhu <emdau...@gmail.com> wrote:
>>> Hi,
>>>
>>> I have troubles deploying large artifacts (simple "clean deploy").
>>> I have the same problem deploying to Archiva and Nexus in maven 2.2.0
>>> and 2.2.1. (We though first it was related to maven 2.2.0 with -
>>> MNG-4236 - [regression] http wagon uploads files twice with Maven
>>> 2.2.0 when preemptive auth is disabled (default setting)).
>>>
>>> The file is deployed correctly (on repo manager part) and can be used
>>> but the build still fail. The upload seems going to the double of the
>>> file size before failing on a "Read timed out" error (see below).
>>> The pom file has been deployed correctly without making the build fail
>>> right before.
>>>
>>> Do you have any idea ? I've tried dav over Archiva but it didn't help.
>>> Thank you very much.
>>>
>>> [DEBUG] Connecting to repository: '<repoId>' with url: '<repoUrl>'.
>>> [DEBUG] Checking for pre-existing User-Agent configuration.
>>> [DEBUG] Adding User-Agent configuration.
>>> [DEBUG] not adding permissions to wagon connection
>>> Uploading: 
>>> http://<repoUrl>//<groupId>/8.1.100.00-SNAPSHOT/<artifactId>-8.1.100.00-20100928.134706-4.tar.gz
>>> 4/65969K
>>> 8/65969K
>>> 12/65969K
>>> 16/65969K
>>> 20/65969K
>>> [...]
>>> 131937/65969K
>>> 131939/65969K
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Error deploying artifact: Read timed out
>>>
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: 2 minutes 57 seconds
>>> [INFO] Finished at: Tue Sep 28 15:49:36 CEST 2010
>>> [INFO] Final Memory: 36M/64M
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>>> For additional commands, e-mail: users-h...@maven.apache.org
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
>> For additional commands, e-mail: users-h...@maven.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org

Reply via email to