> > I have quite a few installs of Tomcat on the same server (same > > CATALINA_HOME, different CATALINA_BASE), and I am interested in making my > > configs a little more portable. I'm trying to make certain unique items > > in my server.xml variable ( ${variablename} ), being pulled from my > > CATALINA_OPTS as parameters (-D...). Everything works great, however, the > > shutdown port seems to be an issue. Since catalina.sh does not utilize > > CATALINA_OPTS for the stop command, it does not process my parameter > > (-Dtc.shutdown.port=xxxx) and therefore will not attempt to shutdown the > > correct port. Is there any good way to achieve this to keep my server.xml > > modular without hacking apart the standard scripts that come with tomcat? > > Adding it to JAVA_OPTS instead?
That works as expected. Thank you very much! Al