Monday, 21 July 2008
How to run tomact with custom JVM arguments
Two approaches we can consider to run tomact with custom JVM argument values,
1. In the console just before running the startup.bat file, run the following line with required arguments
SET JAVA_OPTS=%JAVA_OPTS% -D[key=value]
eg: SET JAVA_OPTS=%JAVA_OPTS% -Dproj_env=dev
2. Add the following line in catalina.bat file.
JAVA_OPTS=%JAVA_OPTS% -D[key=value]
eg: JAVA_OPTS=%JAVA_OPTS% -Dproj_env=dev
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment