Home
Change configuration property values
Configuration properties control how and when various Files operations take place. You can edit the properties to change the ways that Files operates.
Configure Files using scripts accessed with the wsadmin client. These scripts use the AdminConfig object available in IBM WebSphere Application Server wsadmin client to interact with the Files configuration file. Changes to Files configuration settings require node synchronization and a restart of the Files server before they take effect.
To edit Files configuration properties...
- Start the wsadmin client.
- Access the Files configuration files...
- Stand-alone deployment:
execfile("filesAdmin.py")
- Network deployment:
execfile("profile_root/config/bin_lc_admin/filesAdmin.py")
If you are asked to select a server, you can select any server.
- Check out the Files configuration files...
FilesConfigService.checkOutConfig("<working_directory>", "cell_name")where:
- <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied. The files are kept in this working while you change them.
- cell_name is the name of the IBM WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. If you do not know the cell name, do one of the following to determine it:
- Stand-alone deployment: Look at the name after the following in the file system:
WAS_HOME\profiles\profile_name\config\cells\
- Network deployment: Type the following command while in the wsadmin command processor:
print AdminControl.getCell()
For example:
FilesConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell")
To check out e-mail templates with the configuration files you can add the parameter includeEmailTemplates, and set it to "true". For example:
FilesConfigService.checkOutConfig("/opt/my_temp_dir", "CommServerNode01Cell", includeEmailTemplates = "true")
For information on e-mail templates, see the topic Customizing e-mail templates.
- Optional: To view a list of the valid Files configuration settings and their current values...
FilesConfigService.showConfig()Here is some sample output from the
FilesConfigService.showConfig()command:
Files configuration properties: security.logout.href = /files/ibm_security_logout activeContentFilter.enabled = true cache.user.timeout = 43200000 cache.http.publicContentMaxAgeInSecs = 604800 db.dialect = DB2
- Some properties must be edited using the wsadmin client; others can only be edited by editing the configuration XML file directly. To change a Files configuration setting, do one of the following:
- To edit a property using the wsadmin client...
FilesConfigService.updateConfig("<property>", "<value>")where <property> is one of the editable Files configuration properties and <value> is the new value with which you want to set that property. See Files configuration properties for a complete list of editable properties. For example:
FilesConfigService.updateConfig("descriptionSummary.size", "500")
- To edit the value of a property in a configuration file directly, from the temporary to which you checked it out, open the file in a text editor, and then make your changes.
- Optional: Repeat step 5 for each single-value property setting that you want to change.
- Optional: After updating the Files properties with new values, use the FilesConfigService.showConfig() command to display the list of properties and their updated values. These are the values that will be checked in with the FilesConfigService.checkInConfig() command.
Check the configuration files back in after making changes, and they must be checked in during the same wsadmin session in which they were checked out for the changes to take effect. See the topic Applying property changes for details.
- Files configuration properties
Configuration properties control how and when various Files operations take place, and also help in the optimization of server performance. They require a Files server restart to take effect.- Configure MIME types
You can assign Multipurpose Internet Mail Extensions (MIME) types to file extensions, and assign icons to MIME types.- Apply property changes
After you have edited the Files configuration properties, check the changed configuration file in, and restart the servers to apply the changes.
Related tasks
Configure Files and Wikis downloading for production deployments