Wednesday, October 31, 2018

How to start/stop JBoss from command line



  • Linux:

    • On server (also on developer machine):
      1. Open command prompt
      2. Obtain root privileges: sudo su
      3. Starting JBoss: /etc/init.d/jboss start
      4. Stopping JBoss: /etc/init.d/jboss stop
    • On developer machine:
      1. Open command prompt
      2. Go to $JBOSS_HOME/bin.
      3. Starting JBoss: run.sh at the command prompt
      4. Stopping JBoss: hit Ctrl+C at the command prompt
  • Windows:

    1. Open command prompt
    2. Go to $JBOSS_HOME\bin.
    3. Starting JBoss: run.bat at the command prompt
    4. Stopping JBoss: hit Ctrl+C at the command prompt
Credit to https://hiplab.mc.vanderbilt.edu/projects/soempi/jboss_startstop.html

No comments:

Post a Comment