[ http://jira.codehaus.org/browse/MNG-1938?page=comments#action_55120 ] 

Ørjan Austvold commented on MNG-1938:
-------------------------------------

Thank you for the snapshot build, but the behaviour didn't change. 
AbstractSshWagon still hangs attempting to get input from the error stream of 
the ChannelExec.

To me the code in executeCommand seems to only return successfully if the error 
stream of the ChannelExec returns null on readLine. Why so?

I'll check out head on maven and attach a debugger to the build I got from you. 
Maybe I can understand some more that way.

> site:deploy hangs forever on remote upack command
> -------------------------------------------------
>
>          Key: MNG-1938
>          URL: http://jira.codehaus.org/browse/MNG-1938
>      Project: Maven 2
>         Type: Bug

>     Versions: 2.0.1
>  Environment: maven 2.0.1 with wagon and jsch fixes as given by Brett Porter 
> in http://www.nabble.com/call-for-testers:-scp-wagon-t854948.html.
> Site runs on Linux (CentOS 4.2). Both scp and sftp protocol produces the same 
> error
>     Reporter: Ørjan Austvold
>  Attachments: thread-dump.txt
>
>
> site:deploy work fine for small artifact sites (<1MB?) but hangs forever on 
> the unpack command:
> Executing command: cd /var/foo/.; unzip -o wagon17515.zip; rm -f 
> wagon17515.zip
> Looking on the /var/foo directory on the server I can see that the site has 
> been sucessfully unpacked and the zip file has been removed.
> I did a kill -3 on the vm to get a thread dump of what was going on and found 
> that there where 3 threads waiting on a jsch inputstreams (see the attached 
> thread dump). The main thread seems to be waiting for input on the 
> executeCommand method of the AbstractSshWagon (line 292).
> Could it be that some of the fixes made on the wagon for repository 
> deployment/downloading should be done for executeCommand to?

-- 
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to