Red Hat Bugzilla – Bug 824775
If script returns -1, operation fails without details.
Last modified: 2012-06-06 14:12:56 EDT
Description of problem:
If some shell script returns something else than 0, RHQ operation only says "Exit code was '1', see operation results for details", but there are no op results. The RHQ UI should not fail with this generic message.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.run the wsprovide.sh with no arguments.
The operation will fail but the output of the failure icon will show the following generic message:
java.lang.Exception: Exit code was '1', see operation results for details
The operation should fail but the output of the failure icon should point to the proper cause of the failure.
The same issue was raised for:
1. JBoss Admin console (EMBJOPR-344: https://issues.jboss.org/browse/EMBJOPR-344)
2. JON (https://bugzilla.redhat.com/show_bug.cgi?id=824773)
per BZ Triage 5/29/2012 (ccrouch, loleary, asantos, mfoley, myarborough) moving these to JON 3.1.1 or later