Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 38015 invoked from network); 24 Mar 2010 01:36:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 01:36:48 -0000 Received: (qmail 87508 invoked by uid 500); 24 Mar 2010 01:36:48 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 87429 invoked by uid 500); 24 Mar 2010 01:36:48 -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 87422 invoked by uid 99); 24 Mar 2010 01:36:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 01:36:48 +0000 X-ASF-Spam-Status: No, hits=-1114.3 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 01:36:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8AB0B234C4BE for ; Wed, 24 Mar 2010 01:36:27 +0000 (UTC) Message-ID: <2012621582.450361269394587567.JavaMail.jira@brutus.apache.org> Date: Wed, 24 Mar 2010 01:36:27 +0000 (UTC) From: "Ivan (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Resolved: (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 ] Ivan resolved GERONIMO-5147. ---------------------------- Resolution: Fixed > 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 > Fix For: 2.1.5, 2.2.1, 3.0 > > Attachments: 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.