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:
set JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%
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.

Comments

Popular posts from this blog

Testing SOAP services using pingdom