Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 79111 invoked from network); 23 Feb 2005 21:41:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 23 Feb 2005 21:41:31 -0000 Received: (qmail 59696 invoked by uid 500); 23 Feb 2005 21:41:28 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 59649 invoked by uid 500); 23 Feb 2005 21:41:28 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 59408 invoked by uid 99); 23 Feb 2005 21:41:27 -0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=NO_REAL_NAME X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 23 Feb 2005 13:41:25 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j1NLfMQA026808 for ; Wed, 23 Feb 2005 22:41:22 +0100 Received: (from nobody@localhost) by ajax.apache.org (8.12.11/8.12.11/Submit) id j1NLfMuT026806; Wed, 23 Feb 2005 22:41:22 +0100 Date: Wed, 23 Feb 2005 22:41:22 +0100 Message-Id: <200502232141.j1NLfMuT026806@ajax.apache.org> From: bugzilla@apache.org To: dev@ant.apache.org Subject: DO NOT REPLY [Bug 33697] - exec gives errror on trying to run on solaris X-Bugzilla-Reason: AssignedTo X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . 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