Use the cache configuration deployment descriptor to specify the various types of caches which can be used within a cluster. For information on configuring cluster communication, and services see the operational descriptor section.
The name and location of the descriptor is specified in the operational deployment descriptor and defaults to coherence-cache-config.xml. The default configuration descriptor (packaged in coherence.jar) will be used unless a custom one is found within the application's classpath. It is recommended that all nodes within a cluster use identical cache configuration descriptors.
The root element of the configuration descriptor is cache-config. This is where you may begin configuring your caches.
The Cache Configuration descriptor should begin with the following DOCTYPE declaration:
Note: When deploying Coherence into environments where the default character set is EBCDIC rather than ASCII, make sure that this descriptor file is in ASCII format and is deployed into its runtime environment in the binary format.
Command Line Override
Oracle Coherence provides a powerful Command Line Setting Override Feature, which allows any element defined in this descriptor to be overridden from the Java command line if it has a system-property attribute defined in the descriptor.
See the sample cache configurations for usage examples.
The following table lists all non-terminal elements which may be used from within a cache configuration.