Configuration changes are stored in temporary workspace files until the changes are merged with the master configuration repository. This topic discusses how to change the location of the temporary workspace files. You must first install WebSphere Application Server before you change the location of temporary workspace files.
You might want to change the location of temporary workspace files if you want to keep them in a separate place from the product installation. The product determines the location of the workspace in the following order by using the first Java Virtual Machine (JVM) property in the list that is set. If no JVM property is set, the product uses the default workspace location.
JVM Property | Location | Comments |
---|---|---|
workspace.root | value of the workspace.root JVM property, irrespective of the user ID | Do not set this property as it is meant for a single user environment. |
workspace.user.root | value of the workspace.user.root JVM property/user_id/workspace |
Set the system property for the deployment manager to change the respective workspace locations. |
websphere.workspace.root | value of the websphere.workspace.root JVM property/user_id/workspace |
Set the system property for the deployment manager to change the respective workspace locations. |
None of the workspace properties is set. | The default workspace location is value of the user.install.root JVM property/wstemp/user_id/workspace. |
This method of changing the workspace location is only needed when you run a standalone administrative program in local mode. For example, use the following option:
-Dworkspace.user.root=the location of the new workspace directory
Click Deployment Manager > Java and Process Management > Process Definition > Java Virtual Machine > Custom Properties.
Specify workspace.user.root as the name.
Specify the location of the new workspace directory as the value.
  Â