- A Cloud Guru
Deploying an Application with the JBoss EAP Management CLI
JBoss Enterprise Application Platform provides an extensive Java EE-based application server to which we can deploy and manage our applications. Often, this can be as simple as deploying a provided WAR or EAR file to our configured server. In this lab, we'll specifically explore how to deploy a simple WAR file with the JBoss Management CLI.
Table of Contents
Connect to the CLI
cloud_user's home directory, confirm the presence of the
Move into the JBoss home directory:
Open the JBoss Management CLI:
Connect to the server:
Deploy the Application
Deploy the application:
deployment deploy-file /home/cloud_user/kitchensink.war
Check that the application has deployed using the
PUBLICIP:8080/kitchensinkto access the application itself.
Disable/Undeploy the Application
- Now that you know the application is working, you can either disable it or undeploy it entirely:
deployment disable kitchensink.war deployment undeploy kitchensink.war
- Exit the CLI:
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.