Each file has a default name, a set of file search locations, and a system property you can use to override the defaults.

To use the default specifications, place the file at the top level of its directory or jar file. The system properties are standard file specifications that can have absolute or relative pathnames and filenames.


If you do not specify an absolute file path and name, the search examines all search locations for the file.

Default File Specification Search Locations for Relative File Specifications Available Property for File Specification
  1. current directory
  2. home directory
  3. class loader
As a Java system property, use gemfirePropertyFile
  1. current directory
  2. class loader
In gemfire.properties, use the cache-xml-file property

Examples of valid gemfirePropertyFile specifications:

  • /zippy/users/jpearson/gemfiretest/gemfire.properties
  • c:\gemfiretest\gemfire.prp
  • myGF.properties
  • test1/gfprops

For the test1/gfprops specification, if you launch your GemFire system member from /testDir in a Unix file system, GemFire looks for the file in this order until it finds the file or exhausts all locations:

  1. /testDir/test1/gfprops
  2. <yourHomeDir>/test1/gfprops
  3. under every location in your class loader for test1/gfprops
check-circle-line exclamation-circle-line close-line
Scroll to top icon