Tomcat specifies the configuration file path method

1. In Catalina Set Java in Sh_ Opts, for example:

JAVA_ OPTS='-server -Xms1024m -Xmx1024m -XX:NewSize=128m -XX:MaxPermSize=256m -XX:MaxDirectMemorySize=256m -XX:+UseConcMarkSweepGC -XX:+UseCMSCompactAtFullCollection -XX:CMSFullGCsBeforeCompaction=5 -Dglobal. config. path=/temp/www/config/

2. In setclasspath Add to SH:

export CLASSPATH=/temp/www/config:$CLASSPATH

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>