Common commands under Linux JBoss

Source: Internet
Author: User
Tags jboss jboss server

Cd/opt/jboss/bin
Nohup sh run.sh-b 0.0.0.0 &
To start JBoss:
Nohup./run.sh-b 0.0.0.0 &
Nohup sh run.sh-b 0.0.0.0 &
Nohup said to run in the background;
Use./run.sh and SH run.sh can be started;-B means that the binding IP is started, if the 0.0.0.0 means that all IP can access the service, this parameter can be configured as follows in JBoss server.xml configuration file; add & Represents the return to command-line mode, you can execute the next command.


To view the startup information:
Tail-f Nohup.out


Common commands under Linux JBoss:
Start: Nohup./run.sh-b 0.0.0.0 &
STOP: SH shutdown.sh-s
Note "-" There are spaces on both sides


You can see if the JBoss process already exists:
Ps-ef |grep JBoss

The commands to start JBoss under Linux are:
./run.sh-c all& (plus & can make the program run unaffected by CTRL + C)

The commands to terminate JBoss under Linux are:

./shutdown.sh-s

Linux queries the Java process running:

Ps-ef |grep Java

Linux Kill process command:

Kill-9 16355

Linux, you need to change the permissions of the file to run:

chmod 744 shutdown.sh

Common commands under Linux JBoss

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.