]
Mircea Markus updated ISPN-2811:
--------------------------------
Fix Version/s: 6.0.0.Final
cassandraStore xml configuration gives parser error on attributes
"username" and "password"
-------------------------------------------------------------------------------------------
Key: ISPN-2811
URL:
https://issues.jboss.org/browse/ISPN-2811
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 5.2.0.Final
Reporter: Giovanni Mels
Assignee: Mircea Markus
Fix For: 6.0.0.Final
This is because attributes "username" and "password" are in uppercase
in
[
org.infinispan.loaders.cassandra.configuration.Attribute|https://github.c...],
but in lowercase in the
[
schema|http://docs.jboss.org/infinispan/schemas/infinispan-cachestore-cas...].
{quote}
org.infinispan.config.ConfigurationException: javax.xml.stream.XMLStreamException:
ParseError at [row,col]:[37,142]
Message: Unexpected attribute 'password' encountered
at
org.infinispan.configuration.parsing.ParseUtils.unexpectedAttribute(ParseUtils.java:76)
at
org.infinispan.configuration.parsing.Parser52.parseCommonStoreAttributes(Parser52.java:696)
at
org.infinispan.loaders.cassandra.configuration.CassandraCacheStoreConfigurationParser52.parseCassandraStoreAttributes(CassandraCacheStoreConfigurationParser52.java:180)
at
org.infinispan.loaders.cassandra.configuration.CassandraCacheStoreConfigurationParser52.parseCassandraStore(CassandraCacheStoreConfigurationParser52.java:77)
at
org.infinispan.loaders.cassandra.configuration.CassandraCacheStoreConfigurationParser52.readElement(CassandraCacheStoreConfigurationParser52.java:65)
at
org.infinispan.loaders.cassandra.configuration.CassandraCacheStoreConfigurationParser52.readElement(CassandraCacheStoreConfigurationParser52.java:43)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
at
org.jboss.staxmapper.XMLExtendedStreamReaderImpl.handleAny(XMLExtendedStreamReaderImpl.java:69)
at org.infinispan.configuration.parsing.Parser52.parseLoaders(Parser52.java:588)
at org.infinispan.configuration.parsing.Parser52.parseCache(Parser52.java:180)
at org.infinispan.configuration.parsing.Parser52.parseDefaultCache(Parser52.java:145)
at org.infinispan.configuration.parsing.Parser52.readElement(Parser52.java:98)
at org.infinispan.configuration.parsing.Parser52.readElement(Parser52.java:75)
at org.jboss.staxmapper.XMLMapperImpl.processNested(XMLMapperImpl.java:110)
at org.jboss.staxmapper.XMLMapperImpl.parseDocument(XMLMapperImpl.java:69)
at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:77)
... 28 more
{quote}
--
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: