[ https://issues.apache.org/jira/browse/GERONIMO-4393?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jarek Gawor resolved GERONIMO-4393. ----------------------------------- Resolution: Fixed Assignee: Jarek Gawor > 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 > Assignee: Jarek Gawor > 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.