0 Replies Latest reply on Feb 1, 2005 11:36 AM by ylo

    How to force restart when doing Shutdown -e 20 in Windows

    ylo

      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