]
Mircea Markus updated ISPN-2123:
--------------------------------
Fix Version/s: 5.2.0.CR1
(was: 5.2.0.Beta1)
Infinispan GUI demo fails to start cache due to deprecated xml
config
---------------------------------------------------------------------
Key: ISPN-2123
URL:
https://issues.jboss.org/browse/ISPN-2123
Project: Infinispan
Issue Type: Feature Request
Components: Demos and Tutorials
Affects Versions: 5.1.5.FINAL
Reporter: Adrian Nistor
Assignee: Adrian Nistor
Fix For: 5.2.0.CR1, 5.2.0.Final
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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: