You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Tim Funk <fu...@joedog.org> on 2002/08/29 13:07:42 UTC

Re: Database write delay?!?!?!?

Wild guess, but it sounds like you are using a database pool and the 
connections that perform updates are not doing commits. Depending on how 
the connections are set up - other connections won't see the change 
until a commit. (Or you change driver settings - don't ask me what they 
are I don't know, I never had to worry about this)

Josh G wrote:
> Hi, 
> 	After banging my head against it all day, I've discovered that _somewhere_ 
> between my servlet code and the filesystem, writes to the database are being 
> cached. However, reads are not coming from the cache. I'm getting around the 
> problem at the moment with a simple window.setTimeout in JS instead of 
> response.sendRedirect(), but this is inelegant and I'd like to lose it.
> 
> Has anybody else come across this problem? Is it something I'm doing wrong? 
> Please tell me it's something I'm doing wrong :-)
> 
> Baffled,
> -Josh
> 
> --
> To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 
> 
> 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>