[jira] Commented: (WAGONSSH-28) scp intermittently failing deploying artifact

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (WAGONSSH-28) scp intermittently failing deploying artifact

JIRA jira@codehaus.org
    [ http://jira.codehaus.org/browse/WAGONSSH-28?page=comments#action_54988 ]

Vincent Massol commented on WAGONSSH-28:
----------------------------------------

Brett: oh sorry. I just had 2 minutes this morning before going to work and I wanted to try your changes but I failed to notice your email explaining how to install the new stuff... I've installed it now and it's been working fine so far so that's great!


> scp intermittently failing deploying artifact
> ---------------------------------------------
>
>          Key: WAGONSSH-28
>          URL: http://jira.codehaus.org/browse/WAGONSSH-28
>      Project: wagon-ssh
>         Type: Bug

>  Environment: JDK 1.5, Red Hat 9
>     Reporter: Joe Futrelle
>     Assignee: Brett Porter
>      Fix For: 1.0-alpha-6

>
>
> Some of the time, deploying artifacts fails during the scp transfer. The bottom of the stack trace is reproduced below. If I run the m2 deploy enough times, it succeeds; not sure why.
> This is not an unknown issue with Jsch; apparently client code can cause behavior like this if it doesn't dispose of connections properly. Possibly a plugin that's runs before the deploy phase is messing up the connection state somehow?
> Caused by: org.apache.maven.wagon.TransferFailedException: Error occured while deploying 'ncsa/gsbt/1.0-SNAPSHOT/gsbt-1.0-20050728.190330-38.pom.sha1' to remote repository: scp://chasm.ncsa.uiuc.edu//home/futrelle/m2/repository
>         at org.apache.maven.wagon.providers.ssh.ScpWagon.put(ScpWagon.java:331)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.putRemoteFile(DefaultWagonManager.java:167)
>         at org.apache.maven.artifact.manager.DefaultWagonManager.putArtifact(DefaultWagonManager.java:91)
>         at org.apache.maven.artifact.deployer.DefaultArtifactDeployer.deploy(DefaultArtifactDeployer.java:73)
>         ... 17 more
> Caused by: com.jcraft.jsch.JSchException: session is down
>         at com.jcraft.jsch.Channel.connect(Unknown Source)
>         at org.apache.maven.wagon.providers.ssh.ScpWagon.put(ScpWagon.java:271)
>         ... 20 more

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