[
https://issues.jboss.org/browse/ISPN-6386?page=com.atlassian.jira.plugin....
]
sw0x2A sw0x2A commented on ISPN-6386:
-------------------------------------
This also applies for ISPN 8.2.1. max-entries is mentioned in
[
docs|http://infinispan.org/docs/8.2.x/user_guide/user_guide.html] but ISPN throws
exception when max-entries is used in config:
{code}
16:09:28,709 ERROR [org.jboss.as.server] (Controller Boot Thread) WFLYSRV0055: Caught
exception during boot:
org.jboss.as.controller.persistence.ConfigurationPersistenceException: WFLYCTL0085:
Failed
to parse configuration
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:131)
[wildfly-controller-2.0.10.Final.jar:2.0.10.Final]
at org.jboss.as.server.ServerService.boot(ServerService.java:356)
[wildfly-server-2.0.10.Final.jar:2.0.10.Final]
at
org.jboss.as.controller.AbstractControllerService$1.run(AbstractControllerService.java:299)
[wildfly-controller-2.0.10.Final.jar:2.0.10.Final]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_111]
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[144,21]
Message: WFLYCTL0197: Unexpected attribute 'max-entries' encountered
at
org.jboss.as.controller.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:117)
[wildfly-controller-2.0.10.Final.jar:2.0.10.Final]
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseEviction(InfinispanSubsystemXMLReader.java:1108)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseCacheElement(InfinispanSubsystemXMLReader.java:932)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseDistributedCache(InfinispanSubsystemXMLReader.java:804)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.parseContainer(InfinispanSubsystemXMLReader.java:281)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.readElement(InfinispanSubsystemXMLReader.java:95)
at
org.jboss.as.clustering.infinispan.subsystem.InfinispanSubsystemXMLReader.readElement(InfinispanSubsystemXMLReader.java:68)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.2.0.Final.jar:1.2.0.Final]
at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
[staxmapper-1.2.0.Final.jar:1.2.0.Final]
at
org.jboss.as.server.parsing.StandaloneXml_4.parseServerProfile(StandaloneXml_4.java:546)
[wildfly-server-2.0.10.Final.jar:2.0.10.Final]
at
org.jboss.as.server.parsing.StandaloneXml_4.readServerElement(StandaloneXml_4.java:242)
[wildfly-server-2.0.10.Final.jar:2.0.10.Final]
at
org.jboss.as.server.parsing.StandaloneXml_4.readElement(StandaloneXml_4.java:141)
[wildfly-server-2.0.10.Final.jar:2.0.10.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:103)
[wildfly-server-2.0.10.Final.jar:2.0.10.Final]
at org.jboss.as.server.parsing.StandaloneXml.readElement(StandaloneXml.java:49)
[wildfly-server-2.0.10.Final.jar:2.0.10.Final]
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
[staxmapper-1.2.0.Final.jar:1.2.0.Final]
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
[staxmapper-1.2.0.Final.jar:1.2.0.Final]
at
org.jboss.as.controller.persistence.XmlConfigurationPersister.load(XmlConfigurationPersister.java:123)
[wildfly-controller-2.0.10.Final.jar:2.0.10.Final]
... 3 more
{code}
Works if I replace max-entries attribute with size.
Remove max-entries from the documentation
-----------------------------------------
Key: ISPN-6386
URL:
https://issues.jboss.org/browse/ISPN-6386
Project: Infinispan
Issue Type: Task
Components: Documentation-Core
Reporter: Sebastian Ćaskawiec
Assignee: Adrian Nistor
Fix For: 9.0.0.CR1
In ISPN 9 we use size instead.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)