You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Zorro <hz...@gmail.com> on 2014/11/16 17:57:31 UTC

Set property cacheTTL

Playing around with the last week released Tomcat 8.0.15 version I tried 
to change property cacheTTL.

In my context.xml I have:
<Context cookies="true" override="false" privileged="false" 
reloadable="false" swallowOutput="true">
   <Resources allowLinking="true" cachingAllowed="true" cacheTTL="6000" />
   ...

In the logs I do see the warning:
org.apache.tomcat.util.digester.SetPropertiesRule.begin 
[SetPropertiesRule]{Context/Resources} Setting property 'cacheTTL' to 
'6000' did not find a matching property.

 From the Tomcat documentation I have the impression that the above 
setting should be recognized.
Maybe a typo in the documentation?

Kind regards,
Harm-Jan Zwinderman

Cebuned.svipr.nl/Cebuned.html


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Set property cacheTTL

Posted by Mark Thomas <ma...@apache.org>.
On 16/11/2014 16:57, Zorro wrote:
> Playing around with the last week released Tomcat 8.0.15 version I tried
> to change property cacheTTL.
> 
> In my context.xml I have:
> <Context cookies="true" override="false" privileged="false"
> reloadable="false" swallowOutput="true">
>   <Resources allowLinking="true" cachingAllowed="true" cacheTTL="6000" />
>   ...
> 
> In the logs I do see the warning:
> org.apache.tomcat.util.digester.SetPropertiesRule.begin
> [SetPropertiesRule]{Context/Resources} Setting property 'cacheTTL' to
> '6000' did not find a matching property.
> 
> From the Tomcat documentation I have the impression that the above
> setting should be recognized.
> Maybe a typo in the documentation?

Yep. It should be cacheTtl. I'll get the docs fixed.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org