1, simple to open the server command: Enter into the bin directory, enter the./standalone.sh command.
There is a drawback to this way of opening the server, and when your command window is closed, the service is automatically down.
2, let the server open after running in the background: into the bin directory, enter the nohup./standalone.sh & command.
This will cause the server to run in the background, even if the command window is closed and the server is still running
3, if the second way to open the server, shut down the server is more troublesome, divided into two kinds:
- If you are operating locally, enter into the bin directory, type:./jboss-admin.sh--connect command=:shutdown Command
- If it is a remote operation, enter into the bin directory, type:./jboss-admin.sh--connect controller=<ip>:<port> command=:shutdown command, where IP is installed J Boss that machine's IP, port is 9999
JBOSS7 (01) server Open and Close commands