This topic lists VMware Tanzu GemFire default file specifications and search locations.

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.

Note

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
gemfire.properties
  1. current directory
  2. home directory
  3. class loader
As a Java system property, use gemfirePropertyFile
cache.xml
  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 Tanzu GemFire system member from /testDir in a Unix file system, Tanzu 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