Changing the File Specifications

You can change all file specifications in the file and at the command line.

Note: GemFire applications can use the API to pass java.lang.System properties to the distributed system connection. This changes file specifications made at the command line and in the You can verify an application’s property settings in the configuration information logged at application startup. The configuration is listed when the log-level is set to config or lower.
This invocation of the application, testApplication.TestApp1, provides non-default specifications for both the cache.xml and
java -Dgemfire.cache-xml-file=
The gfsh start server command can use the same specifications:
gfsh>server start 

You can also change the specifications for the cache.xml file inside the file.

Note: Specifications in files cannot use environment variables.
Example file with non-default cache.xml specification:
#Tue May 09 17:53:54 PDT 2006