Configuring the Client
You can configure clients through files and API calls.
-
You configure the client in two files:
geode.properties
for system-level configuration andcache.xml
for cache-level configuration. -
The servers are configured through command-line input and configuration files.
-
You can specify attributes in different ways, which can cause conflicting definitions. Applications can be configured programmatically, and that has priority over other settings.
Search Path for Multiple Properties Files
The client processes first look for their properties file in the
product-dir/defaultSystem
directory, then in the working directory.Overriding Properties File Settings
Application developers have the option of configuring system attributes programmatically, rather than using the
geode.properties
file.Defining Properties Programmatically
You can pass in specific properties programmatically by using a
Properties
object to define the non-default properties.