Hi,
I am able to do Shutdown -H 20 and force a restart, but not when doing Shutwdown -e 20. The shutdown is done, but the retorncode is 0.
Run.bat in Windows has the following lines to trigger the restart:
:RESTART
"%JAVA%" %JAVA_OPTS% -classpath "%JBOSS_CLASSPATH%" org.jboss.Main %*
IF ERRORLEVEL 10 GOTO RESTART
I have tried this on Jboss-3.2.1 and Jboss-3.2.6
Any suggestions ?
Regards,
Yngve