From user-return-44929-apmail-ant-user-archive=ant.apache.org@ant.apache.org Thu Aug 05 12:06:59 2004 Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 35600 invoked from network); 5 Aug 2004 12:06:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 5 Aug 2004 12:06:59 -0000 Received: (qmail 37417 invoked by uid 500); 5 Aug 2004 12:06:48 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 37371 invoked by uid 500); 5 Aug 2004 12:06:47 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 37356 invoked by uid 99); 5 Aug 2004 12:06:47 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,MIME_HTML_NO_CHARSET X-Spam-Check-By: apache.org Received: from [195.147.249.238] (HELO sand3.gxn.net) (195.147.249.238) by apache.org (qpsmtpd/0.27.1) with ESMTP; Thu, 05 Aug 2004 05:06:45 -0700 Received: from exchange.infogain.co.uk ([195.224.66.253] helo=ukmail1.infogain.co.uk) by sand3.gxn.net with esmtp (Exim 4.33) id 1Bsh62-00032i-PN for user@ant.apache.org; Thu, 05 Aug 2004 13:11:46 +0100 Received: by UKMAIL1.infogainuk with Internet Mail Service (5.5.2653.19) id ; Thu, 5 Aug 2004 13:09:46 +0100 Message-ID: <66CA93299E817E4CBAC60F22C737895B11FB82@UKMAIL1.infogainuk> From: Akhil Kumar To: "'user@ant.apache.org'" Cc: Akhil Kumar Subject: Response timed-out waiting for Date: Thu, 5 Aug 2004 13:09:41 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C47AE5.162D8D40" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C47AE5.162D8D40 Content-Type: text/plain Hi folks, I am writing a deployment script and for it I am using telnet task to do some task remotely. Below is my task: ------------------------------------------------------------------------ ${deploy.prompt} su - ${deploy.tibco.userid} Password: ${deploy.tibco.password} ${deploy.prompt} cd "${deploy.tibco.rel_dir}" ${deploy.prompt} mkdir "${release.version}" ${deploy.prompt} cd "${deploy.tibco.rel_dir}/${release.version}" ${deploy.prompt} cp "${deploy.infogain.rel_dir}/${release.version}/${release.version}.tar" "${deploy.tibco.rel_dir}/${release.version}" ${deploy.prompt} tar xf ${release.version}.tar ${deploy.prompt} rm -rf META-INF ${deploy.prompt} find . \( -name 'start*' -o -name 'stop*' -o -name '*dat' -o -name '*cfg' -o -name '*xml' \) -exec dos2unix {} {} \; ${deploy.prompt} find . \( -name 'start*' -o -name 'stop*' -o -name updejb \) -exec chmod 744 {} \; ${deploy.prompt} ---------------------------------------------------------------------- everything works fine but when it reaches the second last task which tries to find some file and runs dos2unix command on it, it gives the following error. ---- file:c:/deploy.xml:110: Response timed-out waiting for [CRMDV3] ---- [CRMDV3] is the command prompt which works fine at many other places. To my surprise this target gets executed successfully few times but most time it fails with above mentioed error. Any help/suggestion will be appriciated. Regards, Akhil Nagpal ------_=_NextPart_001_01C47AE5.162D8D40--