Return-Path: Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: (qmail 14986 invoked from network); 4 Nov 2008 15:01:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Nov 2008 15:01:07 -0000 Received: (qmail 14317 invoked by uid 500); 4 Nov 2008 15:01:12 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 14017 invoked by uid 500); 4 Nov 2008 15:01:11 -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 14006 invoked by uid 99); 4 Nov 2008 15:01:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Nov 2008 07:01:11 -0800 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; Tue, 04 Nov 2008 15:00:03 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9CF0F234C27A for ; Tue, 4 Nov 2008 07:00:44 -0800 (PST) Message-ID: <488102004.1225810844641.JavaMail.jira@brutus> Date: Tue, 4 Nov 2008 07:00:44 -0800 (PST) From: "Donald Woods (JIRA)" To: dev@geronimo.apache.org Subject: [jira] Updated: (GERONIMO-4393) Duplicate Xid with multiple JVMs on single host - default impl needs some 'random' entropy In-Reply-To: <2040632424.1225713704173.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-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated GERONIMO-4393: ----------------------------------- Fix Version/s: 2.2 2.1.4 marking target fix versions > Duplicate Xid with multiple JVMs on single host - default impl needs some 'random' entropy > ------------------------------------------------------------------------------------------ > > Key: GERONIMO-4393 > URL: https://issues.apache.org/jira/browse/GERONIMO-4393 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: transaction manager > Affects Versions: 2.1.3 > Environment: multiple JVMs on single machine > Reporter: Gary Tully > Fix For: 2.1.4, 2.2 > > Attachments: GERONIMO-4393.patch > > > the default generation of baseId in XidFactoryImpl is not sufficient for multiple JVMs on a single node. There needs to be some entropy in the form of a few Random bytes to ensure that ids are different because given a duplication of code, the hashCode of the XidFactoryImpl will not be unique across the JVMs and given a single node, the IP addresss will be shared. > This emerged via https://issues.apache.org/activemq/browse/AMQ-1824 where the workaround was to pass in the baseId as a constructor arg via spring. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.