请教Tomcat性能调优后怎么修改/etc/ini.d/tomcat启动脚本文件
请问Tomcat性能调优后如何修改/etc/ini.d/tomcat启动脚本文件?
大家好,我最近照着网上找的Tomcat性能调优的文章
修改了/usr/local/tomcat/bin/catalina.sh文件,添加了JVM等一些参数
然后直接启动,配置是生效的,/usr/local/tomcat/bin/catalina.sh start ,像这样启动是有效的
但是在/etc/init.d/tomcat文件中需要修改什么吗?或者要修改其他的哪个文件?
因为我用$ service tomcat start 这个命令启动后,配置并没有生效
------解决思路----------------------
it depends on the init script you have for tomcat. Without knowing the details of /etc/init.d/tomcat, no one can help here...
大家好,我最近照着网上找的Tomcat性能调优的文章
修改了/usr/local/tomcat/bin/catalina.sh文件,添加了JVM等一些参数
然后直接启动,配置是生效的,/usr/local/tomcat/bin/catalina.sh start ,像这样启动是有效的
但是在/etc/init.d/tomcat文件中需要修改什么吗?或者要修改其他的哪个文件?
因为我用$ service tomcat start 这个命令启动后,配置并没有生效
------解决思路----------------------
it depends on the init script you have for tomcat. Without knowing the details of /etc/init.d/tomcat, no one can help here...