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

    • ChatGPT Plans Free and PlusChatGPT Subscription Plans
    • Stellar Converter for Database ToolStellar Converter for Database
    • Stellar MySQL Log AnalyzerStellar Log Analyzer for MySQL
    • Stellar Repair for MySQLStellar Repair for MySQL
    • ChatGPT IntroductionChatGPT Capabilities
    • How to secure your SQL Database: Tips and Tricks
    • ChatGPT4 Conversational AI FeaturesChatGPT4 Conversational AI Features
    • Trends in Software EngineeringShaping the Future of Development: Exploring Key Trends in Software Engineering
    • Java PerformanceImproving Java Performance with Multithreading
    • QDrant Vector DatabaseOpen-source Vector Databases
    • Difference between PHP and JavaScript?
    • Bing AI Browser Web ContentBing Conversation Styles
    • ChatGPT PreviewChatGPT Introduction
    • Open Source AI Frameworks TensorFlowOpen Source AI Frameworks
    • Artificial Intelligence Tools

    Back to Top

    Links

    • Contact
    • Privacy Policy
    • Cookie Policy

    www.TestingDocs.com