tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Einfeldt <ralph.einfe...@uptime-isc.de>
Subject AW: Loosing Connections in a pool
Date Mon, 07 May 2001 06:04:10 GMT
Do you use a connection pool or do you have connections open 
for several hours ?

Most databases have a maximal time frame for an open connection.
So your software (or the connection pool you're using) has to
be prepared to reconnect if the server closes the connection.

> -----Urspr√ľngliche Nachricht-----
> Von: Dan Randall [mailto:DRR1@valley-media.com]
> Gesendet: Freitag, 4. Mai 2001 20:32
> An: tomcat-user@jakarta.apache.org
> Betreff: Loosing Connections in a pool
> 
> 
> Hi,
> 
> My tomcat application runs in a production environment for 
> about 24 hours before it fails and must be restarted.  During 
> that time JDBC connections to Oracle become ignored and 
> eventually disappear.  A fair guess is that I am loosing 
> memory, threads and  resources in general until there is 
> nothing left and only a restart cures the matter.
> 
> Unfortunately, tomcat, rather than apache is serving much of 
> the pages and graphics.  That may be a contributing factor?
> 
> I am using:
> 
> Solaris 8
> Oracle 8.1.7
> tomcat 3.2.1
> apache 1.3.19
> and Java 1.3
> 
> Does anyone have an idea of what sort of problems I might be 
> having?  Any known resource leaks or threading issues?
> 
> Thanks!!
> 
> Dan
> 
> 

Mime
View raw message