Edit tomcat service start-up options

There is an easy way to change a Tomcat configured as a service start-up options and configurations such as :

  • Memory options (xmx, xms, etc.)
  • Logging configuration
  • Miscellaneous Java configuration

This can be done through the tomcat binary.

1.-Head up to your tomcat's binary folder
    cd C:\dev\servers\tomcat8\bin>
2.- Launch the "Apache tomcat properties" window
tomcat8w.exe //ES//MyServiceName

Where MyServiceName is the name of the service you configured when installing tomcat as a service. This should open the following popup window :

3.- Edit your required properties

Edit the properties; save the configuration and start/restart the service and you are done

Popular posts from this blog

Multi-hop ssh tunnel - howto : Creating a SSH tunnel with port forwarding between multiple hosts

Spring boot and spring data jpa tutorial - A sample application using spring 4.0 spring boot and JPA (part 2/2)

MongoDB spring data $elemMatch in field projection