Return-Path: Delivered-To: apmail-activemq-users-archive@www.apache.org Received: (qmail 40991 invoked from network); 2 Jan 2008 11:25:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 11:25:05 -0000 Received: (qmail 84813 invoked by uid 500); 2 Jan 2008 11:24:54 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 84789 invoked by uid 500); 2 Jan 2008 11:24:53 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 84780 invoked by uid 99); 2 Jan 2008 11:24:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 03:24:53 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of james.strachan@gmail.com designates 64.233.178.251 as permitted sender) Received: from [64.233.178.251] (HELO hs-out-2122.google.com) (64.233.178.251) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 11:24:30 +0000 Received: by hs-out-2122.google.com with SMTP id 23so3690053hsn.6 for ; Wed, 02 Jan 2008 03:24:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gpozXGDLCYDdvsVSXjy1XOT9dzi1P5JEDUiHTcOqmpk=; b=Jb1hb8o0PIt2rlIRMMxQ9FeLKmuG04Hl5lRksR23lBkmUR+m6TGXAW6SVFCLkByk1l8wcTo6y2iMk6HPhc33PmLoesYrPAwoRyooHNgaygGEFJ9W2dNddECLuV+BKJQHHxAKYddbjWBqFboeMvj0KJWMH4cJNVeapzO/pWsdKRA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pRIHfHAWutCIrSnE07mJ76qwXR9FI8bd6wiZWmscUwkm6lRkkGi3DiSbRmimf9EMxaGIyR4p0LeM+W+AwHEumzq5B2wIrlktVkQWbe7GLDp0G6YGMOhGz6K52cAo4KAOCVd7LAKVmvGhaLhjIuENgzNt+p8WsANAvi8vv2yDeiU= Received: by 10.150.96.10 with SMTP id t10mr3692189ybb.87.1199273072603; Wed, 02 Jan 2008 03:24:32 -0800 (PST) Received: by 10.150.148.20 with HTTP; Wed, 2 Jan 2008 03:24:32 -0800 (PST) Message-ID: Date: Wed, 2 Jan 2008 11:24:32 +0000 From: "James Strachan" To: users@activemq.apache.org Subject: Re: JDBCPersistenceAdapter Too many connections In-Reply-To: <14572207.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <14511365.post@talk.nabble.com> <14572207.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org On 02/01/2008, MQ Newbie wrote: > > Can you please provide me an example configuration for this? Set the maxActive property to the number you require. See http://commons.apache.org/dbcp/api-1.2.2/org/apache/commons/dbcp/BasicDataSource.html I've updated the default activemq.xml to limit the number to 200 https://svn.apache.org/repos/asf/activemq/trunk/assembly/src/release/conf/activemq.xml -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://open.iona.com