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

Infinispan GUI demo fails to start cache due to deprecated xml config

    XMLWordPrintable

Details

    Description

      Running bin\runGuiDemo.bat and trying to start a cache will throw this exception which indicates the xml config references deprecated attributes.

      C:\work\infinispan-5.2.0-SNAPSHOT-bin\bin>runGuiDemo.bat
      log4j:WARN No appenders could be found for logger (org.jboss.logging).
      log4j:WARN Please initialize the log4j system properly.
      log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more in
      fo.
      Exception in thread "pool-1-thread-1" java.lang.RuntimeException: org.infinispan
      .config.ConfigurationException: javax.xml.stream.XMLStreamException: ParseError
      at [row,col]:[38,10]
      Message: Unexpected attribute 'rehashRpcTimeout' encountered
      at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:416)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
      )
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: org.infinispan.config.ConfigurationException: javax.xml.stream.XMLStr
      eamException: ParseError at [row,col]:[38,10]
      Message: Unexpected attribute 'rehashRpcTimeout' encountered
      at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegis
      try.java:84)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager
      .java:358)
      at org.infinispan.manager.DefaultCacheManager.<init>(DefaultCacheManager
      .java:344)
      at org.infinispan.demo.InfinispanDemo$10.run(InfinispanDemo.java:377)
      ... 3 more
      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[38,10]
      Message: Unexpected attribute 'rehashRpcTimeout' encountered
      at org.infinispan.configuration.parsing.ParseUtils.unexpectedAttribute(P
      arseUtils.java:76)
      at org.infinispan.configuration.parsing.Parser52.parseHash(Parser52.java
      :985)
      at org.infinispan.configuration.parsing.Parser52.parseClustering(Parser5
      2.java:827)
      at org.infinispan.configuration.parsing.Parser52.parseCache(Parser52.jav
      a:157)
      at org.infinispan.configuration.parsing.Parser52.parseDefaultCache(Parse
      r52.java:149)
      at org.infinispan.configuration.parsing.Parser52.readElement(Parser52.ja
      va:102)
      at org.infinispan.configuration.parsing.Parser52.readElement(Parser52.ja
      va:77)
      at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:1
      10)
      at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:6
      9)
      at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegis
      try.java:78)
      ... 6 more

      Attachments

        Issue Links

          Activity

            People

              anistor Adrian Nistor
              anistor Adrian Nistor
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: