Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-355

Conf. Conversion Tool: transaction tag is not converted properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • JDG 7.0.0 ER6
    • JDG 7.0.0 ER5
    • Core
    • None

      While parsing the 6.0 infinispan xml configuration with configuration tool, some attributes/elements are not parsed.
      Specifically, the transactionManagerLookupClass attribute is not parsed and is missing in the new xml. The recovery child element is not parsed as well, i.e. the recoverInfoCacheName is not picked and set to recovery-cache attribute, but based on that whether the recovery is enabled or not the transaction mode in generated xml is either FULL_XA or NON_DURABLE_XA.

      The following xml:

      <infinispan>
          <namedCache name="transactional2">
              <transaction transactionManagerLookupClass="org.infinispan.test.tx.TestLookup" cacheStopTimeout="10000"
                           completedTxTimeout="5000" reaperWakeUpInterval="6565" transactionProtocol="DEFAULT" transactionMode="TRANSACTIONAL"
                           autoCommit="false">
                      <recovery enabled="true" recoveryInfoCacheName="test"/>
                      </transaction>
          </namedCache>
      </infinispan>
      

      is parsed to the following xml:

      <infinispan>
          <threads/>
          <cache-container name="DefaultCacheManager">
              <jmx/>
              <local-cache name="transactional2">
                  <transaction mode="FULL_XA" auto-commit="false" stop-timeout="10000" complete-timeout="5000" reaper-interval="6565" protocol="DEFAULT"/>
              </local-cache>
          </cache-container>
      </infinispan>
      

              ttarrant@redhat.com Tristan Tarrant
              amanukya@redhat.com Anna Manukyan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: