Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-1657

transaction's use1PcForAutoCommitTransactions property not parsed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 5.1.0.CR3
    • 5.1.0.CR2
    • Transactions
    • None

      Throws:

      org.infinispan.config.ConfigurationException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[87,7]
      Message: Unexpected attribute 'use1PcForAutoCommitTransactions' encountered
      at org.infinispan.configuration.parsing.Parser.parse(Parser.java:103)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:365)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:349)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:336)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager.java:323)
      at org.infinispan.test.fwk.TestCacheManagerFactory.fromXml(TestCacheManagerFactory.java:89)
      at org.infinispan.manager.CacheManagerXmlConfigurationTest.testNamedCacheXML(CacheManagerXmlConfigurationTest.java:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:644)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:546)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:700)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1002)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:137)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:121)
      at org.testng.TestRunner.runWorkers(TestRunner.java:909)
      at org.testng.TestRunner.privateRun(TestRunner.java:618)
      at org.testng.TestRunner.run(TestRunner.java:499)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
      at org.testng.SuiteRunner.run(SuiteRunner.java:204)
      at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:915)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:879)
      at org.testng.TestNG.run(TestNG.java:787)
      at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73)
      at org.testng.RemoteTestNGStarter.main(RemoteTestNGStarter.java:101)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[87,7]
      Message: Unexpected attribute 'use1PcForAutoCommitTransactions' encountered
      at org.infinispan.configuration.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:80)
      at org.infinispan.configuration.parsing.Parser.parseTransaction(Parser.java:262)
      at org.infinispan.configuration.parsing.Parser.parseCache(Parser.java:210)
      at org.infinispan.configuration.parsing.Parser.parseNamedCache(Parser.java:159)
      at org.infinispan.configuration.parsing.Parser.doParse(Parser.java:129)
      at org.infinispan.configuration.parsing.Parser.parse(Parser.java:92)
      ... 33 more

      Process finished with exit code 0

              manik_jira Manik Surtani (Inactive)
              rh-ee-galder Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: