ctrl-c works. JBoss registers a signal handler that recognizes the INT signal (produced by ctrl-c) and shuts the server down gracefully.
You could also use the shutdown.bat/sh script. It invokes a method on an mbean to do the shutdown.
The command 'shutdown.sh -S' shuts down the server. This will work perfectly when you have one server instance running. How do I shutdown a particular server instance for example if I have a server named 'myserver'.
Appreciate your time and help.
Try: shutdown -s hostname:9999 -S
where 'hostname' is the ip address or host name of the system running the app server, and 9999 is the JNDI port.
For example, these two command are equivalent:
shutdown -s localhost:1099 -S
Hi, I need some help please. What if the graceful shutdown option when invoking the shutdown.bay file is not working.
Shutdown.bat invokes the jboss-cli.bat file and it's currently none responsive.
We are running JBoss on Windows server.
Another question, how dangerous is it to just do a <CNTRL>+C to initiate a shutdown?
Thank you for the help