Description

This article describes the default configuration a G-Map Server will initially create and store within the .genrocket subdirectory within the local machine from which it is launched. For most testing scenarios, the default configuration should suffice. Only modify the configuration parameters if it is absolutely necessary.


Important: The values in bold are values that should be modified. The other values should not be modified.


Default Cache Region

The default section defines default values for the volatile in-memory cache of the configuration. A given G-Map Server, operating on a given port, only allows a single region configuration. For detailed information on configuration parameters see Cache Region Configuration.


ParameterDefault
jcs.defaultDC
jcs.default.cacheattributesorg.apache.commons.jcs3.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects100000
jcs.default.cacheattributes.MemoryCacheNameorg.apache.commons.jcs3.engine.memory.lru.LRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinkertrue
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds60
jcs.default.cacheattributes.DiskUsagePatternNameUPDATE
jcs.default.elementattributesorg.apache.commons.jcs3.engine.ElementAttributes
cs.default.elementattributes.IsEternalfalse
jcs.default.elementattributes.MaxLife21600
jcs.default.elementattributes.IdleTime1800
jcs.default.elementattributes.IsSpooltrue
jcs.default.elementattributes.IsRemotetrue
jcs.default.elementattributes.IsLateraltrue



Available Auxilary Caches

The auxiliary section defines default values for the persistent cache of the configuration. For detailed information on configuration parameters see Indexed Disk Auxiliary Cache Configuration.


ParameterDefault
jcs.auxiliary.DCorg.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributesorg.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath/Users/{user}/.genrocket/gmap_cache_{port}
jcs.auxiliary.DC.attributes.MaxPurgatorySize10000000
jcs.auxiliary.DC.attributes.MaxKeySize1000000
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount300000
jcs.auxiliary.DC.attributes.ShutdownSpoolTimeLimit60


Default Settings

The text below shows the concrete default configuration of the gmap-cache_{port} config file.

  

# DEFAULT CACHE REGION
jcs.default=DC
jcs.default.cacheattributes=org.apache.commons.jcs3.engine.CompositeCacheAttributes
jcs.default.cacheattributes.MaxObjects=100000
jcs.default.cacheattributes.MemoryCacheName=org.apache.commons.jcs3.engine.memory.lru.LRUMemoryCache
jcs.default.cacheattributes.UseMemoryShrinker=true
jcs.default.cacheattributes.MaxMemoryIdleTimeSeconds=3600
jcs.default.cacheattributes.ShrinkerIntervalSeconds=60     
jcs.default.cacheattributes.DiskUsagePatternName=UPDATE
jcs.default.elementattributes=org.apache.commons.jcs3.engine.ElementAttributes
jcs.default.elementattributes.IsEternal=false
jcs.default.elementattributes.MaxLife=21600
jcs.default.elementattributes.IdleTime=1800
jcs.default.elementattributes.IsSpool=true
jcs.default.elementattributes.IsRemote=true
jcs.default.elementattributes.IsLateral=true

# AVAILABLE AUXILIARY CACHES
jcs.auxiliary.DC=org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCacheFactory
jcs.auxiliary.DC.attributes=org.apache.commons.jcs3.auxiliary.disk.indexed.IndexedDiskCacheAttributes
jcs.auxiliary.DC.attributes.DiskPath=/Users/htaylor/.genrocket/gmap_cache_8500
jcs.auxiliary.DC.attributes.MaxPurgatorySize=10000000
jcs.auxiliary.DC.attributes.MaxKeySize=1000000
jcs.auxiliary.DC.attributes.OptimizeAtRemoveCount=300000
jcs.auxiliary.DC.attributes.ShutdownSpoolTimeLimit=60