During development, we specify an alternate configuration file via
JAVA_OPTS:

-Dcatalina.config=file://...

In it, we create properties like foo.port.http and foo.port.shutdown which
we then use in server.xml.  We do this so that we can run multiple servers
simultaneously as well as not require root access during development to
ports < 1024.

<Server port="${foo.port.shutdown}" shutdown="SHUTDOWN">

During shutdown, it looks Tomcat is not loading properties from this file as
it uses 8005 (the default shutdown port) instead of the shutdown port we set
in our custom properties file.

I'm pretty sure this is a bug (shutdown script does not load custom
properties), I just wanted to check with everyone before filing it.

Thanks!

Rob

Reply via email to