i have a thread going on another list about integrating corner cases for SQL e.g. 1 connection or 999 connections it would be helpful for the Build manager to auto-execute these corner cases before deploying to <staging> servers
I usually never say this but ..good catch Martin ______________________________________________ Disclaimer and confidentiality note Everything in this e-mail and any attachments relates to the official business of Sender. This transmission is of a confidential nature and Sender does not endorse distribution to any party other than intended recipient. Sender does not necessarily endorse content contained within this transmission. > Date: Wed, 10 Dec 2008 17:15:39 -0500 > From: [EMAIL PROTECTED] > To: users@tomcat.apache.org > Subject: Re: Tomcat thread pool question > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ped, > > ped wrote: > > If I execute the loop N-1 times, I have no problems - I can execute my loop > > over and over. I can verify that I am not leaking connections (I have a > > monitor thread that displays the number of active connections). > > I'm probably joining this thread very late, but if you set your > connection pool size to 1 (that is, a single connection), can you still > execute any tests? > > Just because you aren't leaking connections doesn't mean that there's no > potential for deadlock. We run all our development servers with > maxActive=1 to catch just such potential deadlocks: if a single thread > borrows two connections from the connection pool (instead of more > correctly using the same one for all transactions), you can deadlock > your app. > > Just a thought. > > - -chris > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAklAP4sACgkQ9CaO5/Lv0PDdAwCeImZkU0CiroF82SZR0bFLjLIF > angAn0Wlchlp1se5ywh1fLw8FTxBiEL+ > =82bg > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > _________________________________________________________________ Send e-mail faster without improving your typing skills. http://windowslive.com/Explore/hotmail?ocid=TXT_TAGLM_WL_hotmail_acq_speed_122008