[
https://issues.jboss.org/browse/JBTM-3170?page=com.atlassian.jira.plugin....
]
Ondrej Chaloupka updated JBTM-3170:
-----------------------------------
Description:
The procedure initialise of BasicXARecovery incorrectly calculates the name of the XA
recovery properties file if a number of connections is included
The current code is
fileName = parameter.substring(0, breakPosition - 1);
The correct code should be
fileName = parameter.substring(0, breakPosition);
was:
The procedure initialise of BasicXARecovery incorrectly calculates the name of the XA
recovery properties file if a number of connections is included
The current code is
fileName = parameter.substring(0, breakPosition - 1);
The correct code should be
fileName = parameter.substring(0, breakPosition);
Git Pull Request:
https://github.com/jbosstm/narayana/pull/1480
Steps to Reproduce:
Include a number of connections in the com.arjuna.ats.jta.recovery.XAResourceRecovery1
property value e.g.
-Dcom.arjuna.ats.jta.recovery.XAResourceRecovery1=com.arjuna.ats.internal.jdbc.recovery.BasicXARecovery;abs://%CATALINA_HOME%/conf/xa-recovery-properties.xml;1
was:
Include a number of connections in the com.arjuna.ats.jta.recovery.XAResourceRecovery1
property value e.g.
-Dcom.arjuna.ats.jta.recovery.XAResourceRecovery1=com.arjuna.ats.internal.jdbc.recovery.BasicXARecovery;abs://%CATALINA_HOME%/conf/xa-recovery-properties.xml;1
BasicXARecovery class calculates the name of the XA recovery
properties file incorrectly if a number of connections is included
-------------------------------------------------------------------------------------------------------------------------------
Key: JBTM-3170
URL:
https://issues.jboss.org/browse/JBTM-3170
Project: JBoss Transaction Manager
Issue Type: Bug
Reporter: Simon Dallaway
Assignee: Ondrej Chaloupka
Priority: Trivial
The procedure initialise of BasicXARecovery incorrectly calculates the name of the XA
recovery properties file if a number of connections is included
The current code is
fileName = parameter.substring(0, breakPosition - 1);
The correct code should be
fileName = parameter.substring(0, breakPosition);
--
This message was sent by Atlassian Jira
(v7.12.1#712002)