In the default /etc/init.d/tomcat6, TOMCAT_CFG="/etc/tomcat6/tomcat6.conf" is tested for existence the 1st time used, but not the 2nd time (in parseOptions method).<br />
So when creating multiple instances by copying the scripts, if you don't copy the /etc/tomcat6/tomcat6.conf, it won't work instead of just not using this config file and using from /etc/sysconfig/${NAME}.
↧