We earn commission when you buy through affiliate links.

This does not influence our reviews or recommendations.Learn more.

Apache Tomcat getting stuck while starting

Lately, I was working on Tomcat 9 and encountered an issue.

It was getting stuck at the following stage during startup.

Are you also having the same issue?

Usually, this happens on VM and here is how you’re able to fix this.

Take a backup of a file before modifying and if feasible, test in a non-production environment.

For example, I added it here.

Look at thecatalina.outfile and it should be started.

This simple trick has helped me, and I hope you too!

If you are learning or curious to learn more about Tomcat then check out thisbeginner to the advanced course.