Uploaded image for project: 'Embedded Jopr'
  1. Embedded Jopr
  2. EMBJOPR-344

If script returns -1, operation fails without details. Let's display stderr.

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.3.4
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      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)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ccrouch Charles Crouch
                Reporter:
                ozizka Ondrej Zizka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: