Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 38409 invoked from network); 30 Oct 2008 06:17:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Oct 2008 06:17:36 -0000 Received: (qmail 22489 invoked by uid 500); 30 Oct 2008 06:17:40 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 22447 invoked by uid 500); 30 Oct 2008 06:17:40 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 22436 invoked by uid 99); 30 Oct 2008 06:17:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Oct 2008 23:17:40 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Oct 2008 06:16:33 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3310F234C24A for ; Wed, 29 Oct 2008 23:16:44 -0700 (PDT) Message-ID: <921673360.1225347404194.JavaMail.jira@brutus> Date: Wed, 29 Oct 2008 23:16:44 -0700 (PDT) From: "Shawn Jiang (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4375) rebind of "auto-bound" stuff in jca: context doesn't work In-Reply-To: <47391242.1224694786173.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/GERONIMO-4375?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn Jiang updated GERONIMO-4375: ---------------------------------- Attachment: G4375_revert2ASM223.patch Because it's the xbean-naming 3.5 that depends on ASM 3.1, keep other xbean to 3.3 does not resolve the potential compatibility after upgrading asm. Here is the patch to revert asm to 2.2.3 and revert xbean to 3.3, which requires pulling the XBEAN-115 fix to xbean 3.3 tag code to make a patched xbean 3.3 manually. I'll upload a xbean 3.3 based patch to XBEAN-115 in case someone needs to keep the asm to 2.2.3 in geronimo 2.1. > rebind of "auto-bound" stuff in jca: context doesn't work > --------------------------------------------------------- > > Key: GERONIMO-4375 > URL: https://issues.apache.org/jira/browse/GERONIMO-4375 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: naming > Affects Versions: 2.1.3, 2.2 > Reporter: David Jencks > Assignee: David Jencks > Fix For: 2.1.4, 2.2 > > Attachments: G4375_revert2ASM223.patch, GERONIMO-4375_21branch.patch > > > This works: > InitialContext ctx = new InitialContext(contextEnv); > Context fooCtx = ctx.createSubcontext("jca:foo"); > fooCtx.createSubcontext("bar"); > ctx.bind("jca:foo/bar/baz", 1); > assertEquals(ctx.lookup("jca:foo/bar/baz"), 1); > ctx.rebind("jca:foo/bar/baz", 2); > assertEquals(ctx.lookup("jca:foo/bar/baz"), 2); > this doesn't, where jca:/test/test/GBean/resourceSource is an datasource installed by the ResourceBinding GBean > InitialContext ctx = new InitialContext(contextEnv); > assertTrue(ctx.lookup("jca:/test/test/GBean/resourceSource") instanceof DataSource); > ctx.rebind("jca:/test/test/GBean/resourceSource", 2); > assertEquals(2, ctx.lookup("jca:/test/test/GBean/resourceSource")); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.