Re: [Proxool-developer] Mercifully killing all current connections because of definition changes
UNMAINTAINED!
Brought to you by:
billhorsman
From: Bill H. <bi...@lo...> - 2005-09-23 18:26:21
|
Hi Pratik, Pratik Machchar wrote: > Proxool keeps on opening connection and closing the same. [snip] > Mercifully killing all current connections because of definition changes > DEBUG - 000188 -000004 (00/00/00) - #0192 removed because definition has > changed. > DEBUG - 000188 -000004 (01/01/00) - Connection #193 created on demand = > ACTIVE > DEBUG - Redefining definition I'm not sure how long you have been running the app but 192+ connections sounds like a lot. The "because of definition changes" bit of the log leads me to believe that you are redefining the pool frequently which I'm assuming isn't your intention. The most likely cause is that you are giving the full URl each time you request a connection. This is fine, but I wonder whether you have two different URLs? If they both share the same pool alias then the same pool will constantly be redefined. I suggest either: a) you check that the URL you are using is the same for each request, or b) you configure the pool (see the doc for the various ways you can do this) and just use the simpler URL that includes just the alias. Like this: "proxool.aruhat". See http://proxool.sourceforge.net/quickStart.html for more information. Let the list know how you get on, please. Cheers, Bill |