- Lab
- A Cloud Guru
Deploying an Application with the JBoss EAP Console
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 a 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 Console.
Path Info
Table of Contents
-
Challenge
Access the console and Download the WAR file.
- Download the provided
kitchensink.war
file, either from the GitHub link or via the server (it's provided at/home/cloud_user/kitchensink.war
). - Access the console at
PUBLICIP:9990
, using theadmin
username andpinehead
password.
- Download the provided
-
Challenge
Deploy the Application
-
Click Start under Deployments.
-
Click the + (plus sign) to the upper right of the left menu, then select Upload Deployment.
-
Select the downloaded
kitchensink.war
file, then click Next. -
Provide the application with both a deployment name and a runtime name. This can be kept as a default if you are happy with the name of the
war
file. Click Finish, then view the deployment. -
Navigate to
PUBLICIP:8080/kitchensink
to confirm the application has been deployed. Note that we can also receive this URL from theContext Root
attribute in our deployment information.
-
-
Challenge
Disable/Undeploy the Application
Once you know the application is working, you can either disable it or undeploy it entirely. To do this from the console, you can either:
- Click Disable
- Remove it by selecting the arrow button next to the deployment name (
kitchensink.war
) and selecting Undeploy.
Notice how disabling it leaves it in the deployment list, but undeploying the application removes it entirely.
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.