tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AFal...@excelsior.edu
Subject Tomcat Shutdown Port as Variable
Date Wed, 15 Oct 2008 13:42:51 GMT
Hi All -

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?

for reference, TC version 6.0.18

Thanks,

Al
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message