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