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

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
Are you sure it's Tomcat doing the caching? I've found that both Firefox and IE will cache CGI, JSP, servlet, and other dynamic results. yes, i'm approaching certain that it isn't a browser issue. If i delete the static files and thus force the system to regen i get updated data, but the ur

Re: tomcat caching of static files

2010-08-05 Thread Thad Humphries
Are you sure it's Tomcat doing the caching? I've found that both Firefox and IE will cache CGI, JSP, servlet, and other dynamic results. This has been true going back to when the old Mozilla 1.x had a preference for *never* caching. For GET calls were the results underlying content might change

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

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
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. Gregor Schneider wrote: > > Bill, > > On Thu, Dec 11, 2008 at 4:15 AM, Bill Barker <[EMAIL PROTECTED]> wrote: >> >> The article is referring to the fact that Tomcat ad

Re: Tomcat caching of static resources?

2008-12-11 Thread Javabeat
The problem however is that i'm using a remote shared host. Whilst this gives me quite a lot of configuration potential i doubt it would allow me to setup Apache and adaptors etc. In a 'real production environment' this would very much be a preferred choice. awarnier wrote: > > As a heretic pos

Re: Tomcat caching of static resources?

2008-12-11 Thread Javabeat
I agree that i dont think the 'in memory' Tomcat solutions is what i'm currently after, its very much a Tomcat 'heading stamp' issue i think. Interesting point you raise though regarding pushing the statics to an external server. Not ideal from a deployment perspective but that would certainly sol

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
Thanks Chuck for that. Perhaps my use of words was a little misleading. I guess what i was trying to say was that the response returned by Tomcat i.e expiry date etc was not conductive to caching for clients. In terms of headers, i dont want to cache 'pages as the data is very transient. What i di

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? > >Think about what you just asked for: how would

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 browser? It's t

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

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

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

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