geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrei Biketov (JIRA)" <>
Subject [jira] [Created] (GEODE-2731) Specifying <entry-time-to-live> in cache.xml file causing server error on start up.
Date Thu, 30 Mar 2017 14:45:42 GMT
Andrei Biketov created GEODE-2731:

             Summary: Specifying  <entry-time-to-live> in cache.xml file causing server
error on start up. 
                 Key: GEODE-2731
             Project: Geode
          Issue Type: Bug
          Components: client/server
            Reporter: Andrei Biketov

Configure region as following:
<region name="customer">
		   data-policy="partition" statistics-enabled="true">
		   <partition-attributes redundant-copies="2" total-num-buckets="12"/>
		   <expiration-attributes  timeout="300" action="destroy"/>
Run server:
gfsh>start server --name=s1 --cache-xml-file=site_a.xml
Starting a Geode Server in C:\sandbox\pivotal-gemfire-9.0.1\bin\s1...
The Cache Server process terminated unexpectedly with exit status 1. Please refer to the log
file in C:\sandbox\pivotal-gemfire-9.0.1\bin\s1 for full details.

Exception in thread "main" org.apache.geode.cache.CacheXmlException: While reading Cache XML
file:/C:/sandbox/pivotal-gemfire-9.0.1/bin/site_a.xml. Error while parsing XML, caused by
org.xml.sax.SAXParseException; lineNumber: 61; columnNumber: 26; cvc-complex-type.2.4.d: Invalid
content was found starting with element 'entry-time-to-live'. No child element is expected
at this point.
    at org.apache.geode.internal.cache.xmlcache.CacheXml.error(
    at org.apache.geode.internal.cache.xmlcache.CacheXmlParser$DefaultHandlerDelegate.error(

This message was sent by Atlassian JIRA

View raw message