Running Business Processes and Composite Applications 10.4 | Running Business Processes and Composite Applications | Administering My webMethods Server | My webMethods Server Configuration | Configuring My webMethods Server Cache | Modifying Cache Settings with Custom Property Files
 
Modifying Cache Settings with Custom Property Files
You can create a .property file and configure cache setting individually for the OSGi components of each cache type that My webMethods Server supports. Settings, specified in a property file apply to a single cache type, and only on the current node. Settings, specified in the cache.xml file for My webMethods Server override individual cache configurations in .property files.
* To modify cache settings using property files
1. In a text editor, create a .properties file with the same name as the fully-qualified name of the cache class.
2. Add the required properties in key=value pairs, each pair on a separate row, without quotes and delimiters.
3. Save the properties file in the following location:
SoftwareAG_directory\profiles\MWS_instanceName\configuration\com.softwareag.platform.config.propsloader
Example
To configure the alias cache for My webMethods Server:
1. Create a file with name com.webmethods.portal.service.cache.impl.AliasCache.properties.
2. Set the maximum size of the of the alias cache to 1002222 entries by adding the following entry in the file: maxSize=1002222
3. Save the com.webmethods.portal.service.cache.impl.AliasCache.properties file in the \profiles\MWS_default\configuration\com.softwareag.platform.config.propsloader directory.

Copyright © 2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
Innovation Release