Delay / caching of resources?

2009-01-07 Thread Dennis Thrysøe
Hi, I have a tomcat 6 setup on linux (CentOS 5) and see some odd behaviour. There are some JSP's that include (in a custom tag with pageContext.include()) static HTML resources that are in the webapp. However, when such HTML files are added or modified to the webapp (exploded directory)

Re: Delay / caching of resources?

2009-01-07 Thread Dennis Thrysøe
On 7Jan, 2009, at 10:45, Peter Crowther wrote: From: Dennis Thrysøe [mailto:d...@geysirit.dk] However, when such HTML files are added or modified to the webapp (exploded directory) it takes something like 5 or 10 seconds before they can be served by tomcat. A wild stab in the dark based

Re: Delay / caching of resources?

2009-01-07 Thread Dennis Thrysøe
On 7Jan, 2009, at 10:40, Dennis Thrysøe wrote: Hi, I have a tomcat 6 setup on linux (CentOS 5) and see some odd behaviour. There are some JSP's that include (in a custom tag with pageContext.include()) static HTML resources that are in the webapp. However, when such HTML files are added

Re: Delay / caching of resources?

2009-01-07 Thread Dennis Thrysøe
On 7Jan, 2009, at 15:44, Caldarale, Charles R wrote: From: Dennis Thrysøe [mailto:d...@geysirit.dk] Subject: Re: Delay / caching of resources? I have now found a potential explanation with the help of a good debugger: StandardContext.setCacheTTL() Who's calling that API? The only internal

Re: Tomcat ./shutdown

2009-01-07 Thread Dennis Thrysøe
On 7Jan, 2009, at 16:11, l...@informatik.uni-hamburg.de wrote: Hello, I use apache-tomcat-5.5.17 and sometimes when I call ./shutdown.sh, the java process which runs Tomcat still alive. Because this java process is still alive, the next call ./startup.sh does not work. Thus, I have to

Automatic restart?

2007-11-26 Thread Dennis Thrysøe
Hello, I'm getting logFull all threads in use messages now and then, and have a pretty good idea why. But it seems that tomcat decides to shut down / restart the webapp (or more than that) just after this. Is there some mechanism that restarts when all threads are stuck, or after some

Re: Automatic restart?

2007-11-26 Thread Dennis Thrysøe
On 26Nov, 2007, at 21:30, Mark Thomas wrote: Dennis Thrysøe wrote: Is there some mechanism that restarts when all threads are stuck, or after some timeout? Is this configurable. In short, there is no such mechanism. Is some other software monitoring Tomcat and restarting it if it fails

Re: Embedding jasper (tomcat 5.5)

2007-06-07 Thread Dennis Thrysøe
Bill Barker wrote: Dennis Thrysøe [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any ideas what tomcat is doing to seperate for instance it's own commons-logging with a commons-logging in a deployed webapp? Probably, the easiest is to jump to TC 6. That version no longer uses

Embedding jasper (tomcat 5.5)

2007-06-06 Thread Dennis Thrysøe
Hi, I'm attempting to embed jasper into an application of mine. Actually I'm upgrading it from 4.1 to 5.5. The new version of jasper uses commons-logging, which the old one didn't seem to do. This causes problems for me when using jasper in webapplications that contain their own copy of