Uploaded image for project: 'Spring Data GemFire'
  1. Spring Data GemFire
  2. SGF-44

The persistent attribute of the <gfe:replicated-region> element does not accept a variable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.0.1
    • Labels:
      None

      Description

      The 'persistent' attribute of the replicated-region definition does not allow a property variable, it only accepts a boolean.

      <gemfire:replicated-region id="someRegionBean"
      name="someRegion" persistent="${persistence.enabled}" cache-ref="gemfireCache">
      ...

      2011-04-21 14:07:34,091 ERROR [main] - Context initialization failed
      org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException: Line 40 in XML document from ServletContext resource [/WEB-INF/spring/test-data-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-datatype-valid.1.2.1: '${persistence.enabled}' is not a valid value for 'boolean'.

      I would like to control the caches persistent state from an external property file.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              costin Costin Leau
              Reporter:
              swilliams Stuart Williams
              Last updater:
              John Blum John Blum
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: