[
https://jira.jboss.org/browse/EMBJOPR-344?page=com.atlassian.jira.plugin....
]
Ondrej Zizka updated EMBJOPR-344:
---------------------------------
Summary: If script returns -1, operation fails without details. Let's display
stderr. (was: Running wsprovide.sh with no arguments fails)
Description:
If some shell script returns something else than 0, embjopr operation only says "Exit
code was '1', see operation results for details", but there are no op results
- that applies for JON.
The admin console should show some info about how to use the script, not fail with this
generic message.
This might apply to all scripts which do not behave so by default (like classpath.sh).
STR:
1) run the wsprovide.sh with no arguments .
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)
was:
The admin console should show some info about how to use the script, not fail with this
generic message.
This might apply to all scripts which do not behave so by default (like classpath.sh).
STR:
1) run the wsprovide.sh with no arguments .
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)
If script returns -1, operation fails without details. Let's
display stderr.
-----------------------------------------------------------------------------
Key: EMBJOPR-344
URL:
https://jira.jboss.org/browse/EMBJOPR-344
Project: Embedded Jopr
Issue Type: Feature Request
Affects Versions: 1.3.4
Reporter: Ondrej Zizka
Priority: Minor
If some shell script returns something else than 0, embjopr operation only says
"Exit code was '1', see operation results for details", but there are no
op results - that applies for JON.
The admin console should show some info about how to use the script, not fail with this
generic message.
This might apply to all scripts which do not behave so by default (like classpath.sh).
STR:
1) run the wsprovide.sh with no arguments .
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)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira