Re: Tomcat caching

2015-11-16 Thread Christopher Schultz
David, On 11/16/15 10:08 AM, David E. Filip wrote: > None of those numbers alarming, unless you see Eden regularly > increase beyond 90% and stay there, especially when you are seeing > slowness, as then you might want to consider increasing your heap. > In my view — and others may disagree! — und

RE: Tomcat caching

2015-11-16 Thread Tauzell, Dave
, 2015 9:09 AM To: Tomcat Users List Subject: Re: Tomcat caching None of those numbers alarming, unless you see Eden regularly increase beyond 90% and stay there, especially when you are seeing slowness, as then you might want to consider increasing your heap. In my view - and others may disagree

Re: Tomcat caching

2015-11-16 Thread David E. Filip
None of those numbers alarming, unless you see Eden regularly increase beyond 90% and stay there, especially when you are seeing slowness, as then you might want to consider increasing your heap. In my view — and others may disagree! — understanding tuning JVM heap is more of an art than a scie

Re: Tomcat caching

2015-11-16 Thread Daniel Küppers
Am 16.11.2015 um 14:56 schrieb David E. Filip: In my experience, the most common explanation (but certainly not the only!) for an active webapp to be occasionally and sporadically running extremely slow, but run fine at other times, is running low on heap space. If you have not already, I wo

Re: Tomcat caching

2015-11-16 Thread David E. Filip
In my experience, the most common explanation (but certainly not the only!) for an active webapp to be occasionally and sporadically running extremely slow, but run fine at other times, is running low on heap space. If you have not already, I would suggest checking the Tomcat Server Status app

Re: Tomcat caching

2015-11-16 Thread Konstantin Kolinko
2015-11-16 12:22 GMT+03:00 Daniel Küppers : > Hi, > i have a recurring issue, that tomcat caches my jsf webapp pages in a > strange manner. > Sometimes for multiple days/hours, one or two explict pages or the whole > webapp is loading very slowly. > My setup is a locally used tomcat 8.0.28 for debu

Tomcat caching

2015-11-16 Thread Daniel Küppers
Hi, i have a recurring issue, that tomcat caches my jsf webapp pages in a strange manner. Sometimes for multiple days/hours, one or two explict pages or the whole webapp is loading very slowly. My setup is a locally used tomcat 8.0.28 for debugging in Eclipse and a local database. The behaviour

Re: Tomcat Caching Problem

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jinal, On 3/29/2011 4:47 PM, Jinal Dhruv wrote: > I dont understand second option..Can U explain a bit more? Read the documentation reference I sent to you. Search for "reloadable". - -chris -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Ming

Re: Tomcat Caching Problem

2011-03-29 Thread sebb
List > Sent: Wednesday, 30 March 2011 2:07 AM > Subject: Re: Tomcat Caching Problem > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Jinal, > > On 3/29/2011 4:01 PM, Jinal Dhruv wrote: >> I want Tomcat to stop catching my servlet responses and I cant understan

Re: Tomcat Caching Problem

2011-03-29 Thread Jinal Dhruv
I dont understand second option..Can U explain a bit more? From: Christopher Schultz To: Tomcat Users List Sent: Wednesday, 30 March 2011 2:07 AM Subject: Re: Tomcat Caching Problem -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jinal, On 3/29/2011 4:01 PM

Re: Tomcat Caching Problem

2011-03-29 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jinal, On 3/29/2011 4:01 PM, Jinal Dhruv wrote: > I want Tomcat to stop catching my servlet responses and I cant understand the > solution at > http://stackoverflow.com/questions/415520/how-do-i-make-tomcat-stop-caching-my-servlet-responses That's

RE: tomcat caching of static files

2010-08-08 Thread Karthik Nanjangude
Hi Try using the CACHE Filter technique URL : http://code.google.com/p/cache-filter/ With regard karthik -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Saturday, August 07, 2010 9:54 PM To: Tomcat Users List Subject: RE: tomcat caching of

RE: tomcat caching of static files

2010-08-07 Thread Caldarale, Charles R
> From: swoodbury [mailto:swoodb...@att.net] > Subject: Re: tomcat caching of static files > > So the only thing left as far as i can see is the tomcat > server caching the file in memory and not noticing the > timestamp change when the thread re-creates the file. Or some i

Re: tomcat caching of static files

2010-08-07 Thread swoodbury
he only thing left as far as i can see is the tomcat server caching the file in memory and not noticing the timestamp change when the thread re-creates the file. very strange. -- View this message in context: http://old.nabble.com/tomcat-caching-of-static-files-tp29356390p29375144.html Sent from

Re: tomcat caching of static files

2010-08-05 Thread Thad Humphries
hread creates the data, the action never > sees it. > > Also, both the thread and the action call the same method when generating > the static data. > > any ideas? > -- > View this message in context: > http://old.nab

tomcat caching of static files

2010-08-05 Thread swoodbury
ction never sees it. Also, both the thread and the action call the same method when generating the static data. any ideas? -- View this message in context: http://old.nabble.com/tomcat-caching-of-static-files-tp29356390p29356390.html Sent from the Tomcat - User mailing list archive at Nabbl

Re: tomcat caching

2009-11-10 Thread Pid
On 10/11/2009 08:44, fireportal wrote: Hi, i have this problem of i am able to edit the xml file but when i try to link it up with a piechart using amchart, the data shown is that of the previous data before the update. It is only when i open up the xml file to refresh it that it is able to show

tomcat caching

2009-11-10 Thread fireportal
", "360", "300", "8", "#FF"); so.addVariable("settings_file", encodeURIComponent("ampie_settings1.xml")); so.addVariable("data_file", encodeURIComponent("Pie.xml"));

Re: Tomcat caching of static resources?

2008-12-11 Thread Gregor Schneider
On Thu, Dec 11, 2008 at 1:05 PM, Javabeat <[EMAIL PROTECTED]> wrote: > > same applies on Firefox though, there may well be issues in IE as always but > i'm not convinced this is the core problem here. > I strongly disagree. We do have a setup here having Apache HTTPD 2.2 fronting Tomcat 5.5, and t

Re: Tomcat caching of static resources?

2008-12-11 Thread André Warnier
Sorry, I don't remember of your pages are protected or not (even the static ones I mean). But anyway, you might want to have a look at this : http://www.tuckey.org/urlrewrite/ Manual for 3.2, and scroll down to the response-header bit. It's a servlet filter with a lot of capabilities. The ini

Re: Tomcat caching of static resources?

2008-12-11 Thread Javabeat
de:11371 > > --------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-caching-of-static-re

Re: Tomcat caching of static resources?

2008-12-11 Thread Javabeat
--- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Tomcat-caching-of-static-resources--tp20932874p20954139.html Sent fro

Re: Tomcat caching of static resources?

2008-12-11 Thread Javabeat
AIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >>> From: David Smith [mailto:[EMAIL PROTECTED] >>> Subject: Tomcat caching of static resources? >>> >>> is it possible to cache static images and .js files in Tomcat? >> >>Think about w

Re: Tomcat caching of static resources?

2008-12-11 Thread Gregor Schneider
Bill, On Thu, Dec 11, 2008 at 4:15 AM, Bill Barker <[EMAIL PROTECTED]> wrote: > > The article is referring to the fact that Tomcat adds cache headers by > default to any page protected by a to prevent someone > else from stealing it from an intermediate proxy. The default settings are > extremel

RE: Tomcat caching of static resources?

2008-12-11 Thread Javabeat
at are you doing to control the headers? What headers are being used > for the large .js files? > >> but the solution didn't resolve the problem (especially if >> deploying via war files) > > The original author of the article is clearly unfamiliar with Tomcat, > ca

Re: Tomcat caching of static resources?

2008-12-11 Thread André Warnier
As a heretic post in this forum, which usually tends to recommend the opposite : what about putting an Apache with mod_cache in front of your Tomcat server ? Carefully set up, that would do what you want. - To unsubscribe, e-

Re: Tomcat caching of static resources?

2008-12-10 Thread Bill Barker
"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] >> From: David Smith [mailto:[EMAIL PROTECTED] >> Subject: Tomcat caching of static resources? >> >> is it possible to cache static images and .js files in Tomcat? > >

RE: Tomcat caching of static resources?

2008-12-10 Thread Caldarale, Charles R
> From: David Smith [mailto:[EMAIL PROTECTED] > Subject: Tomcat caching of static resources? > > is it possible to cache static images and .js files in Tomcat? Think about what you just asked for: how would caching static resources in the server avoid them being downloaded by the br

Tomcat caching of static resources?

2008-12-10 Thread David Smith
Hi all, is it possible to cache static images and .js files in Tomcat? (I'm using version 6). When i look at the browser cache it looks like the browser is downloading all page assets for every call, including some very large .js files. I've come across a link which may be the same issue but the so

Re: ajax tomcat caching

2008-08-24 Thread cpanon
e in context: http://www.nabble.com/ajax-tomcat-caching-tp19133882p19133988.html Sent from the Tomcat - User mailing list archive at Nabble.com. - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-ma

ajax tomcat caching

2008-08-24 Thread cpanon
testing an ajax app against a localhost webapp. Ideas? tia. -- View this message in context: http://www.nabble.com/ajax-tomcat-caching-tp19133882p19133882.html Sent from the Tomcat - User mailing list archive at Nabble.com

Re: Tomcat caching and deployment issues

2008-06-25 Thread Johnny Kewl
= Steven Ah... I see what you doing... this is what is wrong Do not change the name of the WEB APP of the WAR The way TC relates context and path is thru the actual name of the file. This is so that normal humans can easily change the context just by changin

Re: Tomcat caching and deployment issues

2008-06-25 Thread Mark Thomas
Steven Probetts wrote: You say that restarting tomcat will tell tomcat that the context.xml file has changed. But does it clean out the cache. My understanding is that TC uses the work dir as its work area when running a war file in unpacked form. i am wondering if a TC restart tells TC that th

Re: Tomcat caching and deployment issues

2008-06-25 Thread Johnny Kewl
- Original Message - From: Steven Probetts To: users@tomcat.apache.org Sent: Wednesday, June 25, 2008 4:13 AM Subject: Re: Tomcat caching and deployment issues Thanks for your replies. Couple of things, I'm in Australia so that is why I don't get back to you straight awa

Re: Tomcat caching and deployment issues

2008-06-25 Thread Mark Thomas
Steven Probetts wrote: Thanks for your replies. Couple of things, I'm in Australia so that is why I don't get back to you straight away. Also, I hope I'm replying properly and that this message get put in the correct location in the thread list. To deploy I: Stopped tomcat added the war file

Re: Tomcat caching and deployment issues

2008-06-24 Thread Johnny Kewl
- Original Message - From: "Johnny Kewl" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Tuesday, June 24, 2008 4:21 PM Subject: Re: Tomcat caching and deployment issues - Original Message - From: Steven Probetts To: users@tomcat.apache.o

Re: Tomcat caching and deployment issues

2008-06-24 Thread Johnny Kewl
- Original Message - From: Steven Probetts To: users@tomcat.apache.org Sent: Tuesday, June 24, 2008 10:58 AM Subject: Tomcat caching and deployment issues Hi all, I am running Tomcat 5.5.25 on MACOSX Server. I seem to be having a problem with what seems to be caching

Re: Tomcat caching and deployment issues

2008-06-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven, Steven Probetts wrote: | I am running Tomcat 5.5.25 on MACOSX Server. | I seem to be having a problem with what seems to be caching through | deployments. | | I deploy a newer version of my application (which uses Icefaces) or | make a change

Tomcat caching issue

2006-12-21 Thread markx3
Tomcat caching issue Hello, I have a server running Windows 2003 server SP1. 8 GB of RAM. Sun Java J2SE 5.0 update 7 and Tomcat 5.5.20. Tomcat is used as our web server to review archived email. The email is stored in folders on the server and the archival system uses MS SQL 2000 SP4 on

Re: Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-04 Thread Tim Funk
Use URL url = ServletContext.getResource(path) Where path is relative to the web root. Then you can open the URL and see the last modified date and reload if it changed with ServletContext.getResourceAsStream(path) (or by opening the URL) -TIm Chris Ward wrote: Thanks Filip, I figured

RE: Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-03 Thread Chris Ward
Thanks Filip, I figured something was going on to stop it loading on subsequent attempts - most of my testing was on non-servlet classes - but I want to have one point of entry for getting properties (my util is a singleton). The servlets trip it up. I just want to be able to pick up the .pr

Re: Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-03 Thread Filip Hanik - Dev Lists
if you want to be able to reload it, I suggest that you load it using a FileInputstream, and not getResourceAsStream from the class loader. if you load it through the class loader, the class loader doesn't reload it until restart. Filip Chris Ward wrote: Hi all, I've build a little util clas

Tomcat caching proprties file loaded with : myClass.getResourceAsStream( "props.properties")

2006-05-03 Thread Chris Ward
Hi all, I've build a little util class for sucking in properties. When I use it from "command line" progs it seems to work okay, but when I call it from a servlet it never seems to load an *updated* version of the .properties file. I am using a HashMap to cache the Properties and associated ti

Tomcat caching roles

2006-03-16 Thread Santos, Paulo
Just had a couple of questions related to roles and tomcat: 1. When a user logs in does tomcat cache the role? I've noticed that if I change a user's role without restarting tomcat the user will still have the old role associated with them. 2. If tomcat does cache a user's role is there any wa

Re: Tomcat caching

2006-02-05 Thread Leon Rosenberg
per default: no, but on a not-windows machine caching of static files isn't really needed, since the filesystem cache works very well. However, if your amount of static content is larger then the filesystem cache is, or you can see through measures that caching would improve performance i would st

Tomcat caching

2006-02-05 Thread Andreas Haufler
Hi everybody, I just wanted to ask, if tomcat does caching of static contents like html pages or images, and if yes, how the size of this cache can be set. regards Andreas Haufler - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: tomcat caching issue

2005-10-18 Thread Santosh Asbe
Hi , Well we have log4j and debugging in our code. We thought the singleton might be an issue. so we tried the following without the singleton. we made a single servlet call without the singleton.We make a remote call to Websphere Application Server ( on AIX) using corbaloc like 'corbaloc::ip1:28