- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Troubleshooting JBoss EAP Bootup Errors
The JBoss Enterprise Application Platform allows us to deploy and manage Java-based applications quickly and easily — or, rather, it should. There are times, however, when JBoss fails to deploy, even when everything _looks_ like it should work from the outside. In these times, we want to leverage JBoss's logging systems to troubleshoot our deployment and fix any outstanding issues.

Lab Info
Table of Contents
-
Challenge
Reproduce the Issue.
- Start JBoss EAP and make sure it starts successfully.
- Access the JBoss CLI.
- Attempt to deploy the application.
-
Challenge
Review the Logs to Diagnose the Issue.
- Review the last few logs input in the
server.log
error. Note that while the JBoss EAP service started, there were errors. - To discover what the errors during startup were, we can use the
read-boot-errors
command.
- Review the last few logs input in the
-
Challenge
Resolve the Issue.
- Log out of the JBoss CLI.
- Use the
lsof
command to view which processes are on port 8080. - Kill the process.
- Restart JBoss EAP.
-
Challenge
Confirm the Application Deploys Successfully.
- Return to the JBoss CLI.
- Ensure there were no boot errors.
- Deploy the application.
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.