ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Lalor <bla...@bravo5.org>
Subject "No response from server" w/ scp task
Date Thu, 02 Dec 2004 16:25:12 GMT
Good morning, all.  I'm trying to develop a deployment target for one  
of my projects.  It involves scp'ing some files to the target server  
and then sshexec'ing a shell script.  It's working fine with my  
development system, but I get "No response from server" from the scp  
task when trying to connect to my production server.  The stack trace  
from running ant with -d shows:

/Users/blalor/devel/java/CDA/build.xml:155: No response from server
         at  
org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:187)
         at  
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at  
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
         at org.apache.tools.ant.Main.runBuild(Main.java:673)
         at org.apache.tools.ant.Main.startAnt(Main.java:188)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)
Caused by: No response from server
         at  
org.apache.tools.ant.taskdefs.optional.ssh.AbstractSshMessage.waitForAck 
(AbstractSshMessage.java:82)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.doMultipleTransf 
er(ScpToMessage.java:122)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.execute(ScpToMes 
sage.java:87)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:234)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:174)
         ... 10 more
--- Nested Exception ---
No response from server
         at  
org.apache.tools.ant.taskdefs.optional.ssh.AbstractSshMessage.waitForAck 
(AbstractSshMessage.java:82)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.doMultipleTransf 
er(ScpToMessage.java:122)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.ScpToMessage.execute(ScpToMes 
sage.java:87)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.Scp.upload(Scp.java:234)
         at  
org.apache.tools.ant.taskdefs.optional.ssh.Scp.execute(Scp.java:174)
         at  
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1214)
         at  
org.apache.tools.ant.Project.executeTargets(Project.java:1062)
         at org.apache.tools.ant.Main.runBuild(Main.java:673)
         at org.apache.tools.ant.Main.startAnt(Main.java:188)
         at org.apache.tools.ant.launch.Launcher.run(Launcher.java:196)
         at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

This is with ant 1.6.2 and jsch 0.1.18.

Thanks,
B

-- 
    __   ____
   / /  / __/ Brian Lalor
  / _ \/__ \  blalor@bravo5.org
/_.__/____/  http://bravo5.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message