Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 66BA5200D3C for ; Tue, 31 Oct 2017 01:54:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 640B6160BF8; Tue, 31 Oct 2017 00:54:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 8914F160BE4 for ; Tue, 31 Oct 2017 01:54:25 +0100 (CET) Received: (qmail 94024 invoked by uid 500); 31 Oct 2017 00:54:24 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 94012 invoked by uid 99); 31 Oct 2017 00:54:24 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Oct 2017 00:54:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 7D010CE8D6 for ; Tue, 31 Oct 2017 00:54:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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, FREEMAIL_REPLY=1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id hCUb6fMvzqwC for ; Tue, 31 Oct 2017 00:54:21 +0000 (UTC) Received: from mail-qk0-f179.google.com (mail-qk0-f179.google.com [209.85.220.179]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8926161143 for ; Tue, 31 Oct 2017 00:54:21 +0000 (UTC) Received: by mail-qk0-f179.google.com with SMTP id y23so18484090qkb.10 for ; Mon, 30 Oct 2017 17:54:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Rc67TKAL1Q4jDAB8jIuMeNVw3IvlFp6sAjgHPlT9PvM=; b=lWRTVF2lQ/KTqEjMRR8afzoXsVwdaOrIyereDtFfl0CY2+15oH4xFYC7W2ME4i4g8E uWP4NFAZOssrvCzRQPZmkejSStEzKmjp7YzU+4VAfwqVdJUOiqoG1Zouig60vNG5qVvF mldJx6Ocpf67sEmOdrOuzfNYDbQOqyXr7SMypD0da2sfXHwxbY+dWTpggo8zA+QhjbPa N8rNSKydghTBiOItP/QZRZs1E+s6tDUMS62/0EsuWhkwop84nLavZDE8DDFas6/BfuZu qqt2eB3kRIiQRaYozgXMYAJcEX/6uubY2c6WbQz9Hzdpq0FZn4Xli1Ri8k/wc47TZq4h MlpQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Rc67TKAL1Q4jDAB8jIuMeNVw3IvlFp6sAjgHPlT9PvM=; b=AjqNeHRd/5PpJUDISSvTzNFs8NONVcTBHiT8oISRUaLrvJzhigoeocPIR4OIIezqfC xoya8Eb5Lmm6/nIwEnJKMkKVgxHvtZW82+kIiu86VpBKSWUftIHkqTvBOXZIEd2L6ODo AfQclnAIuaGUs+qxCX+sEoT6iz+FrYw/Af9zXGkTRMal20MzWoUWqPDpb+4GhNMQPqzm R49jw+T6e3F1++ScGbtMccq5r3d7cmJ/wrfty67M1cRh11OWoSzGFW3CdAdCfX3juK+v +tcxMN5DrCfiYvEm+jBD9vFXr8BSfDOfgmbW57K+NzOplNhCZEfcI9E60iyuEAT/C1gG f2zQ== X-Gm-Message-State: AMCzsaWjZmYOYRri0fXgV3m+3nleYb3Pm7GURorbt3L+a8HU4HC22MRi e5rEVUowHwZvfA85ojSUkHeiN1ixuNu5W//aR+oK X-Google-Smtp-Source: ABhQp+QaRIjb8U/XVPs9pjHetJ7VU43QrzJ7l5ItfTgIEjRJvkHeA5Qa1fgVUyrp0YNHRwIiokyBnNbMx0Im08Ir5NA= X-Received: by 10.55.33.150 with SMTP id f22mr249779qki.207.1509411255424; Mon, 30 Oct 2017 17:54:15 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.42.178 with HTTP; Mon, 30 Oct 2017 17:54:14 -0700 (PDT) In-Reply-To: <8D2FF39A-DFCD-4B1E-A506-1E6DF709D2EF@apache.org> References: <1372189625.6903078.1509249280575@mail.yahoo.com> <8D2FF39A-DFCD-4B1E-A506-1E6DF709D2EF@apache.org> From: Gary Gregory Date: Mon, 30 Oct 2017 18:54:14 -0600 Message-ID: Subject: Re: [dbcp] update to pool 2.4.3. To: Commons Developers List Content-Type: multipart/alternative; boundary="001a1144db3ab31d37055ccd31ea" archived-at: Tue, 31 Oct 2017 00:54:26 -0000 --001a1144db3ab31d37055ccd31ea Content-Type: text/plain; charset="UTF-8" On Sun, Oct 29, 2017 at 2:09 AM, Mark Thomas wrote: > On 29 October 2017 03:54:40 GMT+00:00, "Bruno P. Kinoshita" < > brunodepaulak@yahoo.com.br.INVALID> wrote: > >Hi Gary, > > > >Started the tests in Maven command line, found which tests failed. > >Executed the tests in Eclipse, found which class was related to the > >failure. Then did a diff between both tags. > > > >git diff POOL_2_4_2 POOL_2.4.3-RC1 -- > >./src/main/java/org/apache/commons/pool2/impl/DefaultPooledObject.java > > > >The short diff indicates that the failures started possibly due to the > >replacement of Exceptions in the DefaultPooledObject by a CallStack. > >Looks like the CallStack does not keep track of all the methods called > >(due to a security context manager from what I could tell?). Only > >classes. > > > >The following pull request updates pool to 2.4.3, and changes the unit > >tests to, instead of looking for method names in the log writer output, > >to look for the test class name. > > > > https://github.com/apache/commons-dbcp/pull/8 > > > > > >Feel free to review and merge if you agree it's a good solution. > > I'm not sure it is a good solution. I need to look at what is going on in > more detail but if the method information has been lost then that will make > tracking down the root cause of a pool leak much, much harder. > That we know that 2.4.3 does not provide method information compared to 2.4.2, I propose: - Adapt the dbcp test to this new behavior, then release dbcp 2.2.0. - Wait for Matt's fix to [poo], release [pool] 2.5.0 (and 2.4.4 if Matt feels like providing a patch there as well.) - Update dbcp again to test both the old and new call stack formats. - Release dbcp 2.2.1 Thoughts? Gary > Mark > > > >Hope that helps, > >Bruno > > > >ps: I think we need to publish the commons-pool website. Tried to have > >a look at the changes report for 2.4.3 but it wasn't there yet. > >ps2: I'm currently looking at those trivial checkstyle issues that we > >found during the vote thread. Going to send another pull request for > >that today > > > > > > > >________________________________ > >From: Gary Gregory > >To: Commons Developers List > >Sent: Sunday, 29 October 2017 8:44 AM > >Subject: [dbcp] update to pool 2.4.3. > > > > > > > >Hi All, > > > > > >After updating dbcp to 2.4.3 I am seeing two unit test failures. I have > >to > > > >step out for the day and I am hoping someone can help figure out what > >is > > > >going on. > > > > > >Gary > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > >For additional commands, e-mail: dev-help@commons.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org > For additional commands, e-mail: dev-help@commons.apache.org > > --001a1144db3ab31d37055ccd31ea--