Saturday, August 26, 2006

JBoss Start or Stop server

List of bat command and argument for starting or stopping a jboss server:
Start Server
1. run.bat ~ start the default server
2. run.bat -c server_name ~ start the correspond server, apply when you have server with multiple instances. Example, run -c default

Stop Server
1. shutdown.bat -s localhost:port_no ~ stop the correspond server based on the jboss:service=Naming port settings. Default port is 1099.
Example, shutdown -s localhost:1099

*Note: the command can be run without the .bat file extension.

No comments: