Chris
Yes - ouch indeed !
Yes i'll try them as well - might have a look at the source as well see
if there is anything to turn of teh file based validation
I had a quick look at the caching and thats totally different sadly.
No its definitely the things that are not found.
When i get an out of memory the JVM will dump the heap. I've walked it
(i know 1 gig...)
and its really things that are not found. there are no files by those
names so...
Hey ho
D
On 12/10/09 17:50, Christopher Schultz wrote:
-----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