ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33697] - exec gives errror on trying to run on solaris
Date Wed, 23 Feb 2005 21:41:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33697>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33697





------- Additional Comments From muralirama@yahoo.com  2005-02-23 22:41 -------
(In reply to comment #5)
> I would try to run it on a command line to see what is going on:
> ssh user@host /path/to/r1.sh
> (I just used "ls" for testing and it exits without problem). 
> Setting up key authentication also helps - ssh will not ask for a password in 
that case.

Alexey,
  My machine where I am running ant is Windows 2000 and I am trying to run 
sshexec on a unix server to which I have userid and password.  When I try to 
run on my Windows dos prompt ssh command it states ssh command not found.  Same 
problem if I try to run ssh on that server.
Actually if I give the command to execute as any unix command like ls or cat or 
more it works fine.  But if I give that as the shell script then it hangs.  I 
found little late that it exceutes that shell script also after like 40 secs 
but it hangs and does not exit.  So I have to specify timeout value to make it 
exit.  This is with respect to one unix server.  Now when I try the same 
build.xml with another server (where I could telnet without problem), it gives 
following error:
D:\ratsplus-team-maintenance-docs\build.xml:4: com.jcraft.jsch.JSchException: Se
ssion.connect: java.net.ConnectException: Connection refused: connect
Please suggest solution
Thanks
-murali

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message