Hi, 

 

Here's what I'm trying to do: 

 

I'm building a web-based cueing system for a theatre. Until I figure out how
to use WebSockets, my system will use JavaScript to refresh the webpage
every second with a "cue status file". This is an HTML file built on the fly
by VB (or Python). One second latency is no problem.  

 

The problem: 

 

Unfortunately (for this application) Tomcat caches the web page internally
for 5 seconds by default, so the maximum cumulative latency is 6 seconds
which is a bit much.  

I believe I can change this by setting the CacheTTL parameter but, when I
try to do this in BASEDIR/conf/context.xml  by adding the line 

<cacheTTL=1000>, the server won't start and spews out many lines of error
messages.

 

I am a total newcomer to Tomcat but I've spend some hours trying to find
examples of config files on the web with little success. 

Obviously I haven't understood the syntax required here so any help is
gratefully received.

 

Environment:

Tomcat 8.0.12

Windows 7 / 32bit

 

 

Robert 

 

 

Reply via email to