[MOBY-dev] too many connections again

Martin Senger senger at ebi.ac.uk
Wed May 24 14:19:03 UTC 2006


> Done
>
   Thanks. Works now.
 
> I'm trying to track down what is causing this.  We're doing some AJAX
> stuff here that seems to correspond suspiciously with the onset of the
> problem.
>
   A side note: Assuming (perhaps wrongly) that your AJAX requests are
directed to a Tomcat server (in other words that your requests are
answered by Java code) I suggest to use a third-party connection-pool
manager. There are several of them, one of the best (recommended, for
example, by hibernate community) is c3p0 (available from sourceforge),
another one is DBCP from Apache commons. 

   Cheers,
   Martin

-- 
Martin Senger
   email: martin.senger at gmail.com
   skype: martinsenger





More information about the MOBY-dev mailing list