title: Tomcat - How to specify properties that can be expanded in server.xml
body: <p>Currently, I have in my server.xml:</p>
  
  <pre><code>&lt;Connector port="8080" protocol="HTTP/1.1" 
             connectionTimeout="20000" 
             redirectPort="8443" /&gt;
  </code></pre>
  
  <p>I want it to become:</p>
  
  <pre><code>&lt;Connector port="${oms.ui.port}" protocol="HTTP/1.1" 
             connectionTimeout="20000" 
             redirectPort="8443" /&gt;
  </code></pre>
  
  <p>I put this property oms.ui.port in a property file residing in apache-tomcat-7.0.8\lib
  but it does not find it, I get:</p>
  
  <blockquote>
    <p>WARNING: [SetAllPropertiesRule]{Server/Service/Connector} Setting
    property 'port' to '${oms.ui.port}' did not find a matching property.</p>
  </blockquote>
  
  <p>Maybe someone with a better Tomcat experience can help me, please?</p>