Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-3170

BasicXARecovery class calculates the name of the XA recovery properties file incorrectly if a number of connections is included

XMLWordPrintable

    • Hide

      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

      Show
      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

      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);

              ochaloup@redhat.com Ondrej Chaloupka (Inactive)
              simonda Simon Dallaway (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: