Starting/stopping JBoss from command line when OS reboot
Before this step JBoss should be installed and configured properly.
Linux:
On server (also on developer machine):
Open command prompt
Obtain root privileges: sudo su
Starting JBoss: /etc/init.d/jboss start
Stopping JBoss: /etc/init.d/jboss stop
On developer machine:
Open command prompt
Go to $JBOSS_HOME/bin.
Starting JBoss: run.sh at the command prompt
Stopping JBoss: hit Ctrl+C at the command prompt
Windows:
Open command prompt
Go to $JBOSS_HOME\bin.
Starting JBoss: run.bat at the command prompt
Stopping JBoss: hit Ctrl+C at the command prompt
No comments:
Post a Comment