Details

    • Target Release:
    • Steps to Reproduce:
      Hide
      • Reported case
      • When the OS shutting down during EAP is still running. (exit code 143)
      • Shutting down with Ctrl+C and answering No for question of "Terminate batch job <Y/N>?". (exit code 130)
      Show
      Reported case When the OS shutting down during EAP is still running. (exit code 143) Shutting down with Ctrl+C and answering No for question of "Terminate batch job <Y/N>?". (exit code 130)
    • Workaround Description:
      Hide

      change the IF statament in standalone.bat/domain.bat as follows.

      if %ERRORLEVEL%==10 goto RESTART
      or
      if %ERRORLEVEL% EQU 10 goto RESTART

      Show
      change the IF statament in standalone.bat/domain.bat as follows. if %ERRORLEVEL%==10 goto RESTART or if %ERRORLEVEL% EQU 10 goto RESTART
    • Bugzilla Update:
      Perform

      Description

      Description of problem:

      By the following code in standalone.bat, domain.bat, EAP restarts unexpectedly when the ERRORLEVEL set more than 10.
      > if ERRORLEVEL 10 goto RESTART

      For example, when Shutting down Windows while EAP is running, exit code is set as 143 and EAP is restarted.
      Originally, EAP expect 10 for restarting.
      The value is defined as the following constant.
      org.jboss.as.process.ExitCodes.RESTART_PROCESS_FROM_STARTUP_SCRIPT

      Version-Release number of selected component (if applicable):
      6.x, 7.x

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  rstancel Radovan Stancel
                  Reporter:
                  rstancel Radovan Stancel
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: