Overwriting default values
It is also possible to overwrite the default attribute values for filters and servlets globally, by setting the corresponding attribute in the bc.properties file. For example, to change the default value for the parameter DNSCache.ttl of the servlets HttpConnectorServlet and HttpsConnectorServlet, add the following line to the bc.properties file:
ch.nevis.isiweb4.servlet.connector.http.DNSCache.ttl=1800
The DNS resolution wait and retry settings can be overridden in the same way. For example, to set the maximum wait for a regular backend request to 2 seconds:
ch.nevis.nevisproxy.servlet.connector.http.BackendConnectorServlet.DNSCache.ResolutionWaitTimeout=2000
If you wish to change the default value for a specific servlet, for example the HttpConnectorServlet, you have to add this line:
ch.nevis.isiweb4.servlet.connector.http.HttpConnectorServlet.DNSCache.ttl=1800