The OS is RHEL4. Tomcat is 5.0.28.

The 'particular function' is a little hard to explain. It's just an area
of the program where you configure certain parameters that control
workflow in your medical practice, such as how long a default patient
visit lasts. This area has a different look and feel than the rest of
the program, and has all the earmarks of having been written by a
programmer that no longer works for the vendor. :-)

The bottom line is that when I access this section, sometimes I get
errors with scripts on the page. I had a theory that the problem was
with cached data, so I changed the way the load balancer distributes
requests. Now the LB always sends subsequent requests from a particular
source IP to whichever tomcat server was selected for the first request,
and the errors have gone away. I believe this indicates that my theory
was correct, so now I'm looking for a way to disable caching of anything
in the tomcat/work directory.

Isn't there a simple, global way to tell tomcat not to cache?

--
Eric Robinson



-----Original Message-----
From: Pid [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, May 08, 2007 6:00 AM
To: Tomcat Users List
Subject: Re: Newbie Question: How to Disable Caching?

Robinson, Eric wrote:
> We have a medical program that runs on two tomcat servers behind an 
> LVS load balancer. Everything works fine except for one particular 
> function that apparently relies on data in the tomcat5/work directory.

> If the load balancer directs a request to a tomcat server that has 
> different cache data, the function fails.
> 
> Is there a way to disable caching in tomcat so nothing gets stored in 
> the work directory? Or is that just a stupid question?

(OS, tomcat version, etc, please)

It depends on what the data is and how it got there; can you enlighten
us as to what is the 'particular function'?


If the application (rather than the server) is writing data to the work 
dir, then that's the component that needs fixing (by storing the data in

a database perhaps).


p



> --
> Eric Robinson
> 
> 
> 
> 
> Disclaimer - May 8, 2007 
> This email and any files transmitted with it are confidential and
intended solely for Tomcat Users List. If you are not the named
addressee you should not disseminate, distribute, copy or alter this
email. Any views or opinions presented in this email are solely those of
the author and might not represent those of Physician Select Management
(PSM) or Physician's Managed Care (PMC). Warning: Although the message
sender has taken reasonable precautions to ensure no viruses are present
in this email, neither PSM nor PMC can accept responsibility for any
loss or damage arising from the use of this email or attachments.
> 
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to