Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 650EC18642 for ; Mon, 7 Dec 2015 17:57:09 +0000 (UTC) Received: (qmail 84366 invoked by uid 500); 7 Dec 2015 17:50:29 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 84233 invoked by uid 500); 7 Dec 2015 17:50:29 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 84221 invoked by uid 99); 7 Dec 2015 17:50:28 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2015 17:50:28 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 263271A0BD6 for ; Mon, 7 Dec 2015 17:50:28 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=handll.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id UkO6C40hcqBc for ; Mon, 7 Dec 2015 17:50:27 +0000 (UTC) Received: from mail-wm0-f51.google.com (mail-wm0-f51.google.com [74.125.82.51]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id C4CC320ECF for ; Mon, 7 Dec 2015 17:50:26 +0000 (UTC) Received: by wmec201 with SMTP id c201so161394377wme.1 for ; Mon, 07 Dec 2015 09:50:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=handll.com; s=google; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=qoFaaPZxcquEo2pbRcYRNicEqss07LvIvB1vGsrkNGM=; b=OATWYkH+5aLjaLX+GI2eTP2wekucjGqraLqkEPkXHNV29/tjFHonge810K/9z8nnHa 8+ayhASI3tLXbs9oZXYDjPA68vT4PWYV/W9VxNWVEJXH8gW5y92w8qxPtV++ct/qtZvp n0QB6YTvc4IPJQEC0U+ZWX09l307z3NACqr8g= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=qoFaaPZxcquEo2pbRcYRNicEqss07LvIvB1vGsrkNGM=; b=VdK9mSR3jtLMwJxp2ARSh87c8kFOoZajtuySg7ELalBOTdQC/Ih/1dPUfB5tKZNn1K 3UUQXZf/2IpqQTe4HJTyuewfVdizzxA6nOTXVY0aK6L74mhyr6HdwHwNlbfWEuUNJxzO HgwHgdpOibKDgvNMXFiDeX6Qvvf7I3LBNL//y/TYn9zyjzKk15Ed4KyCAawW4rs7HBMk SHijb9lki/olsEa0QBDN1K+a4pLLYveTMMrcOzD95/uDPUoYu7F6RcaKVc0UKZ/PgfxE Kh0P/Ae6bw6GufdEKN6+Bs6+nSITWiW1BBPFxjyW5lB+/HJ2wjWW8oXptqYEX5+dY6Xj AR3g== X-Gm-Message-State: ALoCoQnhbVH/IRwR1OBbCjE3uUAmWnHS2Wf7Qu5cnDtP+UR3nkrF/CrNxFjWUbm1HMc6hKT7O6TQ MIME-Version: 1.0 X-Received: by 10.28.175.135 with SMTP id y129mr23466210wme.24.1449510626494; Mon, 07 Dec 2015 09:50:26 -0800 (PST) Received: by 10.28.13.65 with HTTP; Mon, 7 Dec 2015 09:50:26 -0800 (PST) In-Reply-To: <56650B84.7080107@gmail.com> References: <56650B84.7080107@gmail.com> Date: Mon, 7 Dec 2015 10:50:26 -0700 Message-ID: Subject: Re: [dbcp] JMX mbean doesn't exist after upgrade to 2.1/2.1.1 From: Anthony Biacco To: Commons Users List Content-Type: multipart/alternative; boundary=001a11443d7efda7010526527d78 --001a11443d7efda7010526527d78 Content-Type: text/plain; charset=UTF-8 On Sun, Dec 6, 2015 at 9:31 PM, Phil Steitz wrote: > On 12/5/15 2:07 AM, Anthony Biacco wrote: > > I was running dbcp 2.0.1 with pool 2.4.2. > > I updated dbcp to 2.1 and the mbean org.apache.commons.pool2 doesn't > exist > > anymore. 2.1.1 is a no-go as well > > I'm running under Tomcat 8.0.28 > > > > Could this have to do with: > https://issues.apache.org/jira/browse/DBCP-434 ? > > Yes, as of DBCP 2.1, you need to specify a jmxName in order for the > pool (and statement pools) to be registered with JMX. > Unfortunately, the bug being tracked now as DBCP-452 makes > specification of the jmxName property in a JNDI resource definition > ineffective. Once 2.2 is released with the fix for DBCP-452, you > will be able to specify a jmxName property and the pool will > register itself under that name. > > Phil > > Thanks, i'll downgrade while waiting for the new version. -Tony --001a11443d7efda7010526527d78--