Return-Path: Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: (qmail 40346 invoked from network); 21 Sep 2010 18:26:50 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 21 Sep 2010 18:26:50 -0000 Received: (qmail 88201 invoked by uid 500); 21 Sep 2010 18:26:50 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 88138 invoked by uid 500); 21 Sep 2010 18:26:49 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Delivered-To: moderator for user@cayenne.apache.org Received: (qmail 66016 invoked by uid 99); 21 Sep 2010 18:15:41 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of brd@holos.pt designates 193.126.127.18 as permitted sender) Message-ID: <34835.95.93.134.16.1285092887.squirrel@webmail.holos.pt> Date: Tue, 21 Sep 2010 19:14:47 +0100 (WEST) Subject: Too Many Connections From: brd@holos.pt To: user@cayenne.apache.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked by ClamAV on apache.org Hello all, I'm using cayenne in conjunction with portlets deployed on liferay. I am having problems with database connections (Too many connections exception). Anyone developed some application on this type of environment? How can I make all portlets share one connection? Can I use child contexts for that or create a context on some sort of session so that all portlets can use the same context? Thank you Bruno