1 Reply Latest reply on Nov 10, 2003 10:02 PM by jonlee

    shutdown.bat versus Ctrl-C?

    barryburd

      Exactly what kinds of things don't get done when you shutdown JBoss using Ctrl-C?

      My sources say contradictory things: One says "nothing -- Ctrl-C is the same as shutdown.bat/.sh." Another source says "Ctrl-C causes an abrupt shutdown, while shutdown.bat causes a graceful shutdown."

      So what's the story?

        • 1. Re: shutdown.bat versus Ctrl-C?
          jonlee

          Ctrl-C should generate the same shutdown sequence as the shutdown script. That is; if you generate a Ctrl-C you should see the same events in the logs as when you do a shutdown using shutdown.sh. Of course, the Ctrl-C only works when the JVM is still bound to the terminal session.