Home

 

Configure the full reports-to cache

The full reports-to cache is one of the two in-memory caches used by Profiles to support the organizational structure views.

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


The full reports-to cache is used to populate the full reports-to chain view available under the business card in a profile. The cache contains the specified number of top employees in the organizational pyramid. It is not intended to store an entry for each profile; it stores the profiles of those people at the top of the chain who are included in many full report-to chain views.

To manage the display of report-chain information using the full reports-to cache...

  1. Use wsadmin to access and check out the Profiles configuration files.

    1. Access the Profiles configuration files:

    2. Check out the Profiles configuration files...

      ProfilesConfigService.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 Profiles feature. This argument is required even in stand-alone deployments. This argument is 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: See:

          WAS_HOME\profiles\profile_name\config\cells\

        • Network deployment: From wsadmin...

          print AdminControl.getCell()

      For example:

      • AIX/Linux:

          ProfilesConfigService.checkOutConfig("/opt/prof/temp","foo01Cell01")
          

    3. Microsoft Windows:

        ProfilesConfigService.checkOutConfig("c:/prof/temp","foo01Cell01")
        

  2. To configure the full reports-to cache...

    ProfilesConfigService.updateConfig(<property>, <value>)

    where

    • <property> is one of the editable Profiles configuration properties.

    • <value> is the new value with which you want to set that property.

    The following table displays information regarding the properties that you can configure for the full reports-to chain cache, and the type of data that you can enter for them.


    Full reports-to chain cache properties

    Option Description
    fullReportsToChainCache.enabled Enables or disables the full reports-to cache.

    This property takes a Boolean value: true or false. The value must be formatted in lowercase.

    fullReportsToChainCache.ceouid The corporate user ID of the person who will appear at the top of the organizational structure.

    This property takes a UID value.

    fullReportsToChainCache.size The number of employee entries that should be loaded into the cache.

    This property takes an integer value.

    fullReportsToChainCache.refreshTime Determines the time of day in 24-hour time format that Profiles performs the first scheduled reloading of the cache.

    The property value must be expressed in hours and minutes using this formatting: HH:MM.

    fullReportsToChainCache.refreshInterval The time in minutes between cache reload operations.

    This property takes an integer value.

    fullReportsToChainCache.startDelay The time in minutes that Profiles should wait after starting before loading the cache for the first time.

    This property takes an integer value.

    For example, to disable the cache, enter:

      ProfilesConfigService.updateConfig("fullReportsToChainCache.enabled","false")
      

    Apply property changes


Administer cache

 

Related tasks

Apply property changes


+

Search Tips   |   Advanced Search