tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "james edwards" <lists.james.edwa...@gmail.com>
Subject Re: can't access database after timcat idle for several hours
Date Fri, 28 Apr 2006 19:54:22 GMT
No, different machines. But, it works all day and works right after a
restart of tomcat.

j

On 4/28/06, ALEX HYDE <alex.hyde@btinternet.com> wrote:
>
> Are they on the same machine? If not it could be a
> firewall issue? It could be alot of things but that's
> a start.
>
> --- james edwards <lists.james.edwards@gmail.com>
> wrote:
>
> > I am running 3 servers; Apache, Tomcat (5.5.16, java
> > version "1.5.0_06",
> > Informix JDBC-1.3.00.JC3) and Informix (7.31.UD2).
> > After the app has been idle for several hours tomcat
> > cannot access the
> > database. Netstat shows not connections to the
> > database
> > and tcpdump shows no traffic at all going the
> > database when queries are made
> > to the app (which would cause the database to be
> > consulted)
> > At first it seemed that the overnight backup of the
> > database was causing
> > this problem but restarting tomcat after the backup
> > only fixes this problem
> > for a few more hours.
> > I wrote a loop to wget url's that cause the database
> > to be consulted every
> > 60 sec but after several hours this problem happens
> > again. Tomcat seems to
> > be fine, I can load the
> > management page and restart the app. Only restarting
> > tomcat fixes this
> > problem, reloading the app does not fix the
> > problem.. Nothing is being
> > logged during and right before this problem.
> >
> > Does anyone have suggestions to further debug this
> > problem ?
> >
> > --
> > James H. Edwards
> > Network Systems Administrator
> > Judicial Information Division
> > jedwards@nmcourts.com
> >
>
>
>
>
> ___________________________________________________________
> Switch an email account to Yahoo! Mail, you could win FIFA World Cup
> tickets. http://uk.mail.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>


--
James H. Edwards
Network Systems Administrator
Judicial Information Division
jedwards@nmcourts.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message