Github user isapir commented on the issue: https://github.com/apache/tomcat/pull/125 > Another possible, and very simple, solution is also to include in the default configuration some system property, that will be simply added to all ports if the property is set. Or, simply add the property value to all port numbers if the property exists... I think that in general we avoid System properties, but for this feature it might make sense - the reason being that this feature is mostly useful in environments where there are many different instances of Tomcat, and in those cases the deployment is scripted. For example, one of the organizations that I advise has about 200 instances of Tomcat, all deployed in the same manner, so a script generates all of the CATALINA_BASE directories, and in that case it's much easier to add a system property rather than patch server.xml. In fact, the way that I usually address this is by setting a property and then specifying it server.xml, so that server.xml can be copied with no changes, e.g. port="${tomcat.port}"
--- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org