Apache Tomcat 7 JAVA options

I needed to increase tomcat 7's heap size and provide an environment variable at the command line and here is how I did it:

  1. In Tomcat's bin folder, open catalina.bat file in a text editor.
  2. Replace the following statement:
By this one:
set JAVA_OPTS=-DIPK_CFG=C:/Skycomm-CTH/appconfig.properties -Xms64m -Xmx1024m %JAVA_OPTS% %LOGGING_CONFIG%
If you have a better suggestion, please add it as a comment.


Popular posts from this blog

Testing SOAP services using pingdom