I need to configure some VM properties for our web application. What is the right place to do this on a Tomcat 7.0 server?
Edit or create setenv.sh
(located in /bin
directory) to set your custom settings, catalina.sh
will pick it up automatically.(don't edit catalina.sh!)
For Tomcat specific tuning use CATALINA_OPTS
instead of JAVA_OPTS
UPDATE: Forgot to ask you the platform you are using, if it's Windows
use setenv.bat
instead of setenv.sh
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.