[ 
https://issues.apache.org/jira/browse/GERONIMO-5147?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kees van Veen updated GERONIMO-5147:
------------------------------------

    Description: 
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.


  was:
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 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.



> 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.2
>         Environment: Ubuntu 9.10, but probably not restricted to.
>            Reporter: Kees van Veen
>
> 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.

Reply via email to