Change the location of temporary workspace files

The administrative console workspace allows client applications to navigate the configuration. Each workspace has its own repository location defined either in the system property or the property passed to a workspace manager when creating the workspace: workspace.user.root or workspace.root, which is calculated as %workspace.root%/user_ID/workspace/wstemp.

The default workspace root is calculated based on the user installation root: %user.install.root%/wstemp. One can change the default location of temporary workspace files by doing either of the following:

  • Change the setting for the system variable workspace.user.root or workspace.root so its value is no longer set to the default location. Set the system variable when launching a Java process using the -D option. For example, to set the default location the full path of the root of all users' directories, use the following option:

    -Dworkspace.user.root=full_path_for_root_of_all_user_directories
    

  • Change the setting it at the user level with the programming APIs. When you create the workspace, set the WorkSpaceManager.WORKSPACE_USER_ROOT property on the API.


Working with server configuration files

 

IBM is a trademark of the IBM Corporation in the United States, other countries, or both.