Configure Tomcat Windows Service JVM Launch Options

Posted: 4/16/2017 12:32 PM

Launch regedit and navigate to the following key: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Apache Software Foundation\Procrun 2.0\{TomcatInstance}\Parameters\Java\Options where {TomcatInstance} is the name of the Tomcat instance you want to configure.

Separate each JVM option on a different line:

-Dcatalina.base=C:\java\apache-tomcat-7.0.47
-Dcatalina.home=C:\java\apache-tomcat-7.0.47
-Djava.endorsed.dirs=C:\java\apache-tomcat-7.0.47\endorsed
-Djava.io.tmpdir=C:\java\apache-tomcat-7.0.47\temp
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager