Configuring the Profiles object cache
You can modify settings in the profiles-config.xml file to specify when the Profiles object cache is refreshed, and to define the refresh interval and start delay.
Before you begin
To edit configuration files, you must use the IBM® WebSphere® Application Server wsadmin client. See Starting the wsadmin client for information about how to start the wsadmin command-line tool.
About this task
By default, the data is refreshed every 15 minutes to ensure that, whenever data is updated, there is a relatively short delay from when the data is changed and when the changes are reflected in the user interface.
Procedure
To configure the Profiles object cache, complete the
following steps.
- Start the wsadmin client from the following
directory of the system on which you installed the Deployment Manager:
where app_server_root is the WebSphere® Application Server installation directory and dm_profile_root is the Deployment Manager profile directory, typically dmgr01.app_server_root\profiles\dm_profile_root\bin
You must start the client from this directory or subsequent commands that you enter do not execute correctly. For more information, see Starting the wsadmin client.
- Start the Profiles Jython script interpreter.
- Open the profiles-config.xml file in a text editor.
- Look for the
<profileObjectCache>
element, and then modify the following lines of code as needed:
where:<profileObjectCache> <refreshTime>22:30</refreshTime> <!-- 24 hour time --> <refreshInterval>15</refreshInterval> <!-- minutes --> <startDelay>10</startDelay> <!-- minutes --> </profileObjectCache>
- <refreshTime> is the scheduled refresh time in HH:MM format.
- <refreshInterval> is the refresh interval in minutes.
- <startDelay> is the specified start delay in minutes.
- Save your changes and close the configuration file.
- After making changes, you must check the configuration files back in, and you must do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes in Profiles for information about how to save and apply your changes.