TestingDocs.com
Software Testing website
  • Automation
    • Selenium
    • JBehave Framework
  • Tutorials
    • MySQL Tutorials
    • Testlink
    • Maven
    • Git
  • IDEs
    • IntelliJ IDEA
    • Eclipse
  • Flowcharts
    • Flowgorithm
    • Raptor
  • About

JBoss Wildfly

Start/Stop JBoss from Command line on Linux

Ubuntu

Overview

In this tutorial, we will learn the frequent server actions performed from the command line. Start and Stop JBoss from the command line in Linux terminal. We use Ubuntu Linux distribution for this tutorial.

Install JBoss on Linux: https://www.testingdocs.com/install-jboss-application-server-on-linux/

Start JBoss

Start JBoss in standalone mode:

Launch Terminal.

Change Working directory to $JBOSS_HOME/bin

Issue the following command:

$ ./standalone.sh 

This command will start the server.

Start JBoss Standalone Mode

Stop JBoss

In the terminal where the JBoss is started, type Ctrl + C to stop the JBoss server gracefully.

 

Stop JBoss Server

Non graceful stop

Grep the process id of the JBoss server wit the ps command and issue a kill -9 <jboss_pid>

$ ps -aef | grep wildfly 

For example, if the process id of the JBoss server is 7152, then issue the following command to kill the process non gracefully.

$ kill -9 7152

As an analogy, this option is like hitting the power button to stop a machine like Laptop without closing the running applications and choosing the shutdown option provided in the OS.

Related:

Start/Stop JBoss from Eclipse IDE

https://www.testingdocs.com/start-jboss-server-from-eclipse-with-jboss-tools/

More Information on JBoss / Wildfly Application server:

https://www.wildfly.org

Related Posts

JBoss User Roles

JBoss Wildfly /

JBoss Wildfly User Roles

JBoss Tools Server Tab

JBoss Wildfly /

Start JBoss Server from Eclipse with JBoss Tools

JBoss Tools Eclipse

JBoss Wildfly /

Install JBoss Tools in Eclipse IDE

JBoss bin directory

JBoss Wildfly /

Add Management User to JBoss/Wildfly

JBOSS_HOME Not set

JBoss Wildfly /

Set JBOSS_HOME variable on Windows

‹ Download & Install WildFly Server on Windows› Wildfly Server HAL Management Console

Recent Posts

  • MS Access Data Types
  • Install RAPTOR Avalonia on CentOS
  • Download RAPTOR Avalonia Edition on Windows
  • npm doctor command
  • Build & Run CLion Project
  • Create New CLion C Project on Windows
  • Configure CLion Toolchains on Windows
  • Launch CLion IDE on Windows
  • Activate CLion IDE
  • CLion IDE for C/C++ Development

Back to Top

Links

  • Contact
  • Privacy Policy
  • Cookie Policy

www.TestingDocs.com

Go to mobile version