- Lab
- A Cloud Guru
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.
Path 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.
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.