Home

 

Checking out the Activities configuration files

You can edit the Activities configuration files in two ways: by using wsadmin or by editing the configuration XML files directly. In both cases, first check out the configuration files and later check them back in using wsadmin.

To edit configuration files, use wsadmin. See Start the wsadmin client for information about how to start the wsadmin command line tool.


To check out a configuration file...

  1. Access and check out the Activities configuration files.

    1. Access the Activities configuration file:

    2. Network deployment:

        execfile("profile_root/config/bin_lc_admin/activitiesAdmin.py")
        

      If prompted to specify which server to connect to, type 1.

      The information about which server to connect to is only used by wsadmin when you are running administrative commands to collect statistics.

    3. Check out the Activities configuration files...

        ActivitiesConfigService.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: From wsadmin...

          print AdminControl.getCell()
          

      For example:

      • AIX/Linux:

          ActivitiesConfigService.checkOutConfig("/opt/act/temp","foo01Cell01")
          

    4. Microsoft Windows:

        ActivitiesConfigService.checkOutConfig("c:/act/temp","foo01Cell01")
        

  2. Optional: To find out the current value of a property, you can list the current configuration settings and values...

      ActivitiesConfigService.showConfig()
      

  3. Some properties must be edited using wsadmin; others can only be edited by editing the configuration XML file directly. To change an Activities configuration setting, do one of the following command:

    • To edit a property using wsadmin...

        ActivitiesConfigService.updateConfig("<property>",
        "<value>")
        

    where <property> is one of the editable Activities configuration properties and <value> is the new value with which you want to set that property. See Activities configuration properties for a complete list of editable properties. For example:

      ActivitiesConfigService.updateConfig("activeContentFilter.enabled", "true")
      

  4. 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.


After making changes, check the configuration files back in and do so during the same wsadmin session in which you checked them out for the changes to take effect. See Applying property changes for details.


Change configuration property values


Next topic:

Activities configuration properties

+

Search Tips   |   Advanced Search