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

Most CacheStore configuration examples in the documentation are wrong (outdated)

    XMLWordPrintable

Details

    Description

      I've been trying half a dozen configuration snippets from the documentation, I couldn't get any CacheStore to work. All I get from the configuration parser is an unhelpfull stack trace:

      Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[50,63]
      Message: Unexpected element '

      Unknown macro: {urn}

      loaders' encountered
      at org.infinispan.configuration.parsing.ParseUtils.unexpectedElement(ParseUtils.java:35)
      at org.infinispan.configuration.parsing.Parser60.parseCache(Parser60.java:178)
      at org.infinispan.configuration.parsing.Parser60.parseNamedCache(Parser60.java:109)
      at org.infinispan.configuration.parsing.Parser60.readElement(Parser60.java:76)
      at org.infinispan.configuration.parsing.ParserRegistry.parseElement(ParserRegistry.java:130)
      at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:112)
      at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:99)
      at org.infinispan.configuration.parsing.ParserRegistry.parse(ParserRegistry.java:86)
      ... 47 more

      One might think that something (what?) is wrong at [row,col]:[50,63] but I'm copy pasting the documentation.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sgrinove Sanne Grinovero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: