Example 2: Overriding a property from the dbclassCache.properties file

Example 2 shows how to override a property from the dbclassCache.properties file.

Procedure

  1. Check servers.properties to find the PROPERTY_FILE_NAME_PREFIX. In server.properties, the line for dbclassCache.properties says:

    dbclassCache=<INSTALL_DIR>/properties/dbclassCache.properties

    dbclassCache is the PROPERTY_FILE_NAME_PREFIX.

  2. The dbclassCache.properties file contains a property called sci.globalcache.object.size. For an override entry, the PROPERTY_NAME value would be sci.globalcache.object.size. So far, the entry for customer_overrides.properties so far would be:
    
    dbclassCache.sci.globalcache.object.size
    
  3. The default value for sci.globalcache.object.size is 10000. To override this default, you would add the new value (in this example, 15000) to the entry. The completed override entry for the example is shown below.
    
    dbclassCache.sci.globalcache.object.size=15000