Home

 

Increment the version stamp


Overview

Edit a configuration property to make sure that your users will see the changes you have made to the product the next time they log in without having to clear the cache of their Web browser.

Only perform this procedure if you have installed an interim fix or made customization changes to the product user interface.

To edit configuration files, use the wsadmin client. See Start the wsadmin client for details.

Each product Web page downloads static script and stylesheets that do not change often. To optimize performance, it is recommended that these pages are cached for extended periods of time so that end users only need to download them once per product upgrade. After you make customizations or install an interim fix, you can instruct the server to ensure that all Web browsers download new copies of these files. To force Web browsers to refresh all cached content on the next visit, run the following command to update the product version stamp. The version stamp is automatically updated when you install any major product version upgrades. See Instructing Web browsers to cache content for more information about caching static page content.


Increment the version stamp

  1. Use the wsadmin client to access and check out the Lotus Connections configuration files.

    1. Access the Lotus Connections configuration file:

      • Stand-alone deployment: execfile("connectionsConfig.py")

      • Network deployment: execfile("WAS_HOME/profiles/Dmgr01/config/bin_lc_admin/connectionsConfig.py")If you are prompted to specify which server to connect to, type 1.

        This information is not used by the wsadmin client when you are making configuration changes.

    2. Check out the Lotus Connections configuration files...

      LCConfigService.checkOutConfig("<working_directory>","cell_name") where:

      • <working_directory> is the temporary working directory to which the configuration XML and XSD files are copied and are stored while you make changes to them. Use forward slashes to separate directories in the file path, even if you are using the Microsoft Windows operating system.

      • cell_name is the name of the WebSphere Application Server cell hosting the Lotus Connections feature. This argument is required even in stand-alone deployments. This argument is also case-sensitive, so type it with care. If you do not know the cell name, do one of the following to determine it:

        • Stand-alone deployment: From 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:

      • AIX/Linux:

          LCConfigService.checkOutConfig("/opt/temp","foo01Cell01")

      • Microsoft Windows:

          LCConfigService.checkOutConfig("c:/temp","foo01Cell01")

  2. Increment the value of the versionStamp property:

      LCConfigService.updateConfig("versionStamp","<gmt_timestamp>")

    where <gmt_timestamp> is the GMT time. You can specify an empty string for the time stamp or provide a GMT value string. When you specify an empty string, the client calculates the current GMT time and updates the version stamp with that value. If you choose to provide the time, specify it using the following format: yyyyMMdd.HHmmss and specify the time in GMT. It is strongly recommended that you provide an empty string and let the client format the time stamp. For example:

      LCConfigService.updateConfig("versionStamp","")

  3. After making changes, check the configuration files back in

 

Related tasks

Designing
Apply common configuration property changes
Instructing Web browsers to cache content

+

Search Tips   |   Advanced Search