> -----Original Message----- > From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 11:12 PM > To: Struts Users Mailing List; Ding Lei > Subject: Re: DBCP Connection full > > > You are getting that problem possibly due to the fact that maybe you > are not freeing them in your application.
Except that with DBCP you don't return objects to the pool that's handled for you. However.... if you don't close your connection each time it won't return the conection to the pool. I'd look at why you have 10 connections to the database.. it's possible if you have enough traffic that this is natural and 10 is not enough. I'd turn on the debug logging in your DAO layer and DBCP and see if you can track what's going on. > > Also make your you are using a recent version of DBCP. > > > On Fri, 23 Jul 2004 13:25:11 +0800, Ding Lei > <[EMAIL PROTECTED]> wrote: > > Hi list, > > I know that it's little off-topic ... but since we are > using struts here, I am > > not sure if the problem might be related to struts ... > > The system is OK before, but recently: > > 2004-07-23 11:08:59,723 INFO > [org.apache.struts.legacy.GenericDataSource] > releaseConnection(), activeCount=10, useCount=10 > > > > Previously we are using maxCount 3 in struts config, > and it was just fine until > > it reports connection full several days ago and I added the > maxCount to 10. > > > > Any idea? Thanks in advance. > > > > > > -- > > Layman <[EMAIL PROTECTED]> Ext: 8059 > > > > "I'd love to go out with you, but I'm having all my plants > neutered." > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]