How would you compare Poolman to the various pooling systems within
Jakarta (such as DBCP, or the one built into Tomcat 4 if I'm not
mistaken?) I can't keep track of them all....
Thanks,
Bryan
On Sun, 2002-03-03 at 07:23, Ted Husted wrote:
For a production application, use Poolman
www.codestudio.com
You can then have your data access objects get the connection using the
Poolman findDataSource method, and leave the Struts controller out of
it.
-- Ted Husted, Husted dot Com, Fairport NY US
-- Developing Java Web Applications with Struts
-- Tel: +1 585 737-3463
-- Web: http://husted.com/about/services
Satish Jeejula wrote:
>
> 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]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>