Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 8721 invoked from network); 27 May 2010 10:24:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 27 May 2010 10:24:48 -0000 Received: (qmail 67330 invoked by uid 500); 27 May 2010 10:24:34 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 66685 invoked by uid 500); 27 May 2010 10:24:33 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 65752 invoked by uid 99); 27 May 2010 10:24:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 May 2010 10:24:31 +0000 X-ASF-Spam-Status: No, hits=-1471.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 27 May 2010 10:24:31 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4RAOB93022787 for ; Thu, 27 May 2010 10:24:11 GMT Message-ID: <24417172.19941274955851028.JavaMail.jira@thor> Date: Thu, 27 May 2010 06:24:11 -0400 (EDT) From: "Rick McGuire (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-5147) deploy.sh exits with non-zero status because of stty echo In-Reply-To: <511854203.294081266306387851.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/GERONIMO-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rick McGuire updated GERONIMO-5147: ----------------------------------- Fix Version/s: 3.0-M1 (was: 2.1.5) (was: 3.0) (was: 2.2.1) > deploy.sh exits with non-zero status because of stty echo > --------------------------------------------------------- > > Key: GERONIMO-5147 > URL: https://issues.apache.org/jira/browse/GERONIMO-5147 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: deployment > Affects Versions: 2.1.4, 2.2, 3.0 > Environment: Ubuntu 9.10, but probably not restricted to. > Reporter: Kees van Veen > Assignee: Forrest Xia > Fix For: 3.0-M1 > > Attachments: deploy.sh.new.patch, deploy.sh.patch > > > The fix for issue https://issues.apache.org/jira/browse/GERONIMO-4589 has introduced 'stty echo' at the end of the $GERONIMO_HOME/bin/deploy.sh script. > When this command is run with input/output redirected, the deploy.sh script exits with a non-zero status, as the stty echo then fails. > As issue 4589 reports, the 'stty echo' only seems necessary when an exception occurred in the previous java command. Not clear is why only stty echo would be sufficient: it may repair the echo status of the terminal, but probably other settings may need to be reset as well, which would make 'stty sane' (or both) more appropriate. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.