-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David,

On 10/12/2009 12:03 PM, David Cassidy wrote:
> org.apache.catalina.loader.WebappClassLoader records every resource you
> asked
> for that doesn't exist.
> 
> On our site we have alot of pages ( > 800,000 )
> all of which are using struts2 with validation.
> every hit means the validator does a request for a resource
> actionName-validation.xml

Ouch.

I can't see any obvious way to disable the file-based validation
configuration. You'd have to ask the struts folks about that.

You could try setting cachingAllowed="false" in your <Context> element
in context.xml. This page documents that attribute to disable caching of
static resources:
http://tomcat.apache.org/tomcat-6.0-doc/config/context.html

You could also play with the cacheTTL setting, too.

It's possible that the caching you are disabling is merely the contents
of the files that /are/ found. I haven't looked at the code, though.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkrTXl0ACgkQ9CaO5/Lv0PDfYwCeMp/92uTjLKcMLF6Biku7L91k
ip0An1n4+SHQmDPEdoZAVPL4sceelyf0
=6LS+
-----END PGP SIGNATURE-----

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

Reply via email to