Deploying an Application with the JBoss EAP Console

15 minutes
  • 3 Learning Objectives

About this Hands-on Lab

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.

Learning Objectives

Successfully complete this lab by achieving the following learning objectives:

Access the console and Download the WAR file.
  1. Download the provided kitchensink.war file, either from the GitHub link or via the server (it’s provided at /home/cloud_user/kitchensink.war).
  2. Access the console at PUBLICIP:9990, using the admin username and pinehead password.
Deploy the Application
  1. Click Start under Deployments.

  2. Click the + (plus sign) to the upper right of the left menu, then select Upload Deployment.

  3. Select the downloaded kitchensink.war file, then click Next.

  4. 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.

  5. Navigate to PUBLICIP:8080/kitchensink to confirm the application has been deployed. Note that we can also receive this URL from the Context Root attribute in our deployment information.

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.

Additional Resources

You have been provided with the latest release of an application you manage. Prior to pushing it to the primary JBoss EAP servers, you wish to first test the application on a standalone test environment. Using the Console, deploy the kitchensink.war application found in the cloud_user's home directory (or available for download below), then navigate to PUBLICIP:8080/kitchensink to ensure it's working. Once finished, either disable or remove the deploy entirely, still using the Console.

The Console can be accessed at PUBLICIP:9990, with the username admin and the password pinehead.

Download the kitchensink.war file here.

What are Hands-on Labs

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.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?