Utilizing the Cache Setting Document System Property
Playing with a standard Cache Configuration File
Coherence is actually configured away-of-package to use the original coherence-cache-config.xml file that’s found on the classpath. To utilize a great coherence-cache-config.xml file, the newest file should be on the classpath and really should predate brand new coherence.container library; if not, the brand new try coherence-cache-config.xml document that is found in the coherence.jar would be used.
Create a duplicate of the shot coherence-cache-config.xml document that is found in the coherence.jar and you may save they to another area. The latest cache significance that are as part of the attempt file was for demo purposes and really should be used while the a starting point to have creating provider-specific cache setup.
Make certain the location where the coherence-cache-config.xml document try spared is within the classpath at runtime and you will the venue precedes the fresh new coherence.container file on the classpath.
Another example demonstrates carrying out an excellent cache servers that utilizes a great coherence-cache-config.xml cache arrangement file which is based in COHERENCE_Domestic . (more…)
Read More