Apache Tomcat advanced startup configurations

January 8th, 2013

I am always searching for the last tomcat configuration every time I need to deploy a new one, so, here is what I use.

Common tomcat configuration

Tomcat comes with some configuration tools. A command line one and a Window based one (tomcat6.exe and tomcat6w.exe respectively). Lets use the GUI. One thing to remember is that the executable should have the same basename with your service name. So we rename the tomcat6w.exe file to tomcat6020w.exe, and use it.

One other thing to mention is that it's better not to rename the tomcat6.exe file as it will be used in order for the service to start up.

Java Options

What are the most common java options in my opinion:


I should add an explanation for each of the properties but it is not the time yet

valotas.com v3.6.2 © Georgios Valotasios - CSS inspired by Adam Wathan's blog