Thanks Paul. I'm not certain, but it doesn't look like i'm using commons-dbcp. I think the spring DriverManagerDataSource is replacing it in this case? Below is what I'm using for my connector: Cheers. Paul Joseph wrote: > I vaguely recall having this problem in Cocoon 2.1.11 and that it > seemed to go away when I replaced my commons-dbcp jar with the latest > I could find (commons-dbcp-1.2.2.jar) > > Shahriar Aghajani wrote: >> Hello, >> >> I wonder if anybody can help me or point me in the right direction. >> >> I get database connection leaks if I'm including pipelines which >> reference other pipelines too many times. >> >> I'm using Cocoon 2.2 >> PostgreSQL 8.3 with postgresql-8.3-605.jdbc3.jar >> >> Here's what I got: >> >> Data comes from the parent sitemap, and the child sitemap uses that >> data. >> I've tried including the data using map:aggregate, XInclude, Include, >> and XSLT/document()... all lead to the leaks one way or another. >> For each of the "bad" piplines, I get a new idle postgres connection >> hanging around indefinitely. >> >> Below, >> for the via-agg.xml pipeline, the 3rd include does the job. If I >> remove that one, then I don't get a leak. >> for the via-include.xml pipeline, if I use only one of the "CULPRIT" >> includes, everything is fine. But if I use any 2 of the includes, >> then I get a leak. >> >> Any ideas? >> >> >> Thank you very much for your help. >> >> Regards, >> Shahriar Aghajani. >> >> >> Parent Sitemap: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Sub Sitemap: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> Seed File: >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org >> For additional commands, e-mail: users-help@cocoon.apache.org >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org > For additional commands, e-mail: users-help@cocoon.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org For additional commands, e-mail: users-help@cocoon.apache.org