]
Radovan Stancel moved JBEAP-12274 to WFCORE-3086:
-------------------------------------------------
Project: WildFly Core (was: JBoss Enterprise Application Platform)
Key: WFCORE-3086 (was: JBEAP-12274)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Affects Version/s: 3.0.0.Beta28
(was: 7.0.7.GA)
standalone.bat restart EAP unexpectedly
---------------------------------------
Key: WFCORE-3086
URL:
https://issues.jboss.org/browse/WFCORE-3086
Project: WildFly Core
Issue Type: Bug
Affects Versions: 3.0.0.Beta28
Reporter: Radovan Stancel
Assignee: Radovan Stancel
Labels: downstream_dependency
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