You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wagon-dev@maven.apache.org by "Mike Perham (JIRA)" <ji...@codehaus.org> on 2006/01/17 18:31:40 UTC
[jira] Created: (WAGON-31) SSH transport hangs on large transfers
SSH transport hangs on large transfers
--------------------------------------
Key: WAGON-31
URL: http://jira.codehaus.org/browse/WAGON-31
Project: wagon
Type: Bug
Versions: 1.0-alpha-6
Reporter: Mike Perham
Fix For: 1.0-alpha-6
(1.0-alpha-6 needs to be released and a7 added as a new version)
executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org
[jira] Commented: (WAGONSSH-36) SSH transport hangs on large
transfers
Posted by "Lukasz Szelag (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGONSSH-36?page=comments#action_60349 ]
Lukasz Szelag commented on WAGONSSH-36:
---------------------------------------
John, thanks for fixing this. Can you attach a patch? Thanks.
> SSH transport hangs on large transfers
> --------------------------------------
>
> Key: WAGONSSH-36
> URL: http://jira.codehaus.org/browse/WAGONSSH-36
> Project: wagon-ssh
> Type: Bug
> Versions: 1.0-alpha-6
> Reporter: Mike Perham
> Assignee: John Casey
> Fix For: 1.0-alpha-7
>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
> executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org
[jira] Assigned: (WAGONSSH-36) SSH transport hangs on large
transfers
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGONSSH-36?page=all ]
John Casey reassigned WAGONSSH-36:
----------------------------------
Assign To: John Casey
> SSH transport hangs on large transfers
> --------------------------------------
>
> Key: WAGONSSH-36
> URL: http://jira.codehaus.org/browse/WAGONSSH-36
> Project: wagon-ssh
> Type: Bug
> Versions: 1.0-alpha-6
> Reporter: Mike Perham
> Assignee: John Casey
> Fix For: 1.0-alpha-7
>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
> executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org
[jira] Updated: (WAGON-31) SSH transport hangs on large transfers
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGON-31?page=all ]
Brett Porter updated WAGON-31:
------------------------------
Fix Version: (was: 1.0-alpha-6)
1.0-alpha-7
> SSH transport hangs on large transfers
> --------------------------------------
>
> Key: WAGON-31
> URL: http://jira.codehaus.org/browse/WAGON-31
> Project: wagon
> Type: Bug
> Versions: 1.0-alpha-6
> Reporter: Mike Perham
> Fix For: 1.0-alpha-7
>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
> executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org
[jira] Commented: (WAGONSSH-36) SSH transport hangs on large
transfers
Posted by "Adrian (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGONSSH-36?page=comments#action_56909 ]
Adrian commented on WAGONSSH-36:
--------------------------------
Once this has been fixed and updated will maven 2.0.2 automatically download this jar and update itself? Or, alternatively can we just replace wagon-ssh-external-1.0-alpha-6.jar with wagon-ssh-external-1.0-alpha-7.jar in our maven 2 installation lib directory?
Where is the class path set to add wagon-ssh-external-1.0-alpha-6.jar?
> SSH transport hangs on large transfers
> --------------------------------------
>
> Key: WAGONSSH-36
> URL: http://jira.codehaus.org/browse/WAGONSSH-36
> Project: wagon-ssh
> Type: Bug
> Versions: 1.0-alpha-6
> Reporter: Mike Perham
> Fix For: 1.0-alpha-7
>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
> executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org
[jira] Closed: (WAGONSSH-36) SSH transport hangs on large transfers
Posted by "John Casey (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGONSSH-36?page=all ]
John Casey closed WAGONSSH-36:
------------------------------
Resolution: Fixed
fixed. Implemented proposed modification to the unzip command line.
> SSH transport hangs on large transfers
> --------------------------------------
>
> Key: WAGONSSH-36
> URL: http://jira.codehaus.org/browse/WAGONSSH-36
> Project: wagon-ssh
> Type: Bug
> Versions: 1.0-alpha-6
> Reporter: Mike Perham
> Assignee: John Casey
> Fix For: 1.0-alpha-7
>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
> executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org
[jira] Commented: (WAGONSSH-36) SSH transport hangs on large
transfers
Posted by "Brett Porter (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/WAGONSSH-36?page=comments#action_57082 ]
Brett Porter commented on WAGONSSH-36:
--------------------------------------
now that it is included in M2_HOME, it will need to wait until a Maven 2.0.3 release.
> SSH transport hangs on large transfers
> --------------------------------------
>
> Key: WAGONSSH-36
> URL: http://jira.codehaus.org/browse/WAGONSSH-36
> Project: wagon-ssh
> Type: Bug
> Versions: 1.0-alpha-6
> Reporter: Mike Perham
> Fix For: 1.0-alpha-7
>
>
> (1.0-alpha-6 needs to be released and a7 added as a new version)
> executeCommand( "cd " + path + "; unzip -o " + zipFile.getName() + "; rm -f " + zipFile.getName() );
> This code hangs when the zip is large. The problem is that the process's outputstream is not read so eventually it fills its buffer and the process hangs. My fix? Add "-q" to unzip's arguments so that it does not spew tons of output.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: wagon-dev-unsubscribe@maven.apache.org
For additional commands, e-mail: wagon-dev-help@maven.apache.org