Accessing the News configuration file
To make configuration changes to the News component in HCL Connections, you must first access the News configuration file.
Before you begin
Procedure
- 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.
- Start the News Jython script interpreter.
- Navigate to the temporary directory in which you saved
the news-config.xml file, and then open the file
in a text editor and update the following parameters as required.
Table 1. News configuration parameters Parameter Description databaseCleanup storyLifetimeInDays Specifies the interval at which news stories are deleted from the News repository. For more information, see Configuring database clean-up for the News repository. dataSynchronization frequencyInHours Specifies the interval at which networking data is synchronized between the News repository and the Profiles application. For more information, see Synchronizing News data with other applications. NewsDataCleanup task Defines the interval at which the databaseCleanup task runs. There is also a configuration parameter to enable or disable this task from running. Do not disable this setting. If you disable it, you run the risk of rapidly reaching your file system storage limit as the database increases in size. Disabling this setting can also result in poor data access performance.
For more information about this task, see Configuring database clean-up for the News repository.Note: The following parameters are also present in the news-config.xml file, but their default settings must not be changed.Table 2. Additional parameters Parameter Description EmailDigestDelivery A batch job that runs each hour to collect and post the news as daily and weekly emails. This setting must not be changed. Depending on their email notification settings, a daily or weekly email digest is posted to HCL Connections users with the most relevant news. The emails are sent instantly when they are posted as notifications in HCL Connections.
MetricsCollector Used to update the statistics and metrics that are displayed for the Home page and News applications. The metrics collector is a batch process that runs every night. NewsCheckUpdatedPersons Used internally to discover how often a person status changes in the system, for example, when a user is marked as active or inactive. PersonSpreadTranche A scheduled task that load balances the users in the existing tranches that are used by the email digest so that users are spread in a uniform way according to their mail domain. You can run this task manually using the NewsEmailDigestService.loadBalanceEmailDigest() command. For more information, see Reallocating and load balancing users according to mail domain.
- You must check the configuration file back in after making changes, and it must be checked in during the same wsadmin session in which it was checked out for the changes to take effect. See Applying property changes in the News repository for details.