Set up Tomcat as a service (no catalina.bat)

I install Tomcat as a service using the installer from the Apache site. I do not have katalina.bata in my folder with bits. How to set permgem memory size? Any recommended installation size?

+7
source share
3 answers

You need to use tomcatXw.exe (where X is the main version of Tomcat) to configure the service: there are places to configure all JVM parameters.

+10
source

Setting up Tomcat Java_OPT in Catalina,
First of all, in the Installer tomcat application you will never recognize the catalina file in the bin folder.

To set the parameters, you must use the tomcate property (use tomcate property for this volume)
Having no idea how to set the parameter in the properties file.

In the catalina file :( write something like that)

 JAVA_OPTS="-Djava.awt.headless=true -Xms2048m -Xmx4048m -XX:NewSize=1024m -XX:MaxNewSize=2048m -XX:PermSize=1024m -XX:MaxPermSize=2048m -XX:+DisableExplicitGC" 

In the Tomcate properties file :( add your parameter to Java options: just like in the picture)

enter image description here

+1
source

This link tells how to configure the maximum heap size on a tomcat7 exe installation, where we do not have a catalina.bat file. http://plavc.wordpress.com/2012/02/08/tomcat-service-on-windows/

+1
source

All Articles