Skip to main content

Enable Verbose Garbage Collection

Hands-On Lab


Photo of

Training Architect





Welcome to this hands-on lab, where we will set Tomcat up to use verbose garbage collection. As part of this lab you will also enable parallel garbage collection.

It is useful to have verbose garbage collection set, to help you troubleshoot your Tomcat instance and its applications.

We are using Apache's Tomcat, a Java-based application platform built around deploying and managing Java Web Applications. The server provided in this lab environment is running Red Hat Enterprise 8 and has Tomcat 9 pre-installed for you. The Tomcat instance is available on port 8080.

What are Hands-On Labs?

Hands-On Labs are scenario-based learning environments where learners can practice without consequences. Don't compromise a system or waste money on expensive downloads. Practice real-world skills without the real-world risk, no assembly required.