Description of problem: If some shell script returns something else than 0, JON operation only says "Exit code was '1', see operation results for details", but there are no op results. The JON UI should not fail with this generic message. Version-Release number of selected component (if applicable): JON 3.0.1 How reproducible: Always Steps to Reproduce: 1.run the wsprovide.sh with no arguments. Actual results: 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 at org.rhq.core.pc.operation.OperationInvocation.run(OperationInvocation.java:278) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636) Expected results: The operation should fail but the output of the failure icon should point to the proper cause of the failure. Additional info: The same issue was raised for JBoss Admin console (EMBJOPR-344: https://issues.jboss.org/browse/EMBJOPR-344)
per BZ Triage 5/29/2012 (ccrouch, loleary, asantos, mfoley, myarborough) moving these to JON 3.1.1 or later
From EMBJOPR-344 the goal would be to display the output of stderr as part of the operation results.
Setting priority to medium, since this is not a high impact issue.
Mazz, can you please investigate the effort of a fix here?
i'm working on this. should be easy to fix
git master commit : 31ec51e we now show the results (as defined by the plugin metadata) in the UI, even if the operation failed. This is helpful in cases like this where the results contain data that might be helpful to the user to figure out why the failure occurred.