Hi All,

I am using struts for my web application under apache\tomcat configuration.

Everything seems to working fine and then after some time of no activity the
application hangs. When I check the tomcat console for errors, I see lot of
the 'Connection reset by peer' errors ...

After little bit of research, I found that this problem is caused when my
application tries to use a connection which was closed by database. The
connection allocated on servlet initialization is kept effectively forever.
Unfortunately, the database eventually times out the database socket and
application is still using the now-broken connection.

Since, I am using connection pooling that comes along with Struts I assumed
that this should never happen. Is this bug in Struts Connection Pooling?

Is there any way to get around this problem??

If I have to use any other connection pooling mechanism's .. can any of you
suggest one?

I need help very urgently. Thanks for all your help

Satish



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to