Customizing Java Virtual Machine system properties and files
You can specify Java Virtual Machine system properties and files for saving the QMF for Workstation/WebSphere system properties and files, especially when you configure a cluster to share application settings and other folders among cluster nodes and to set a timeout for a user session.
About this task
By default, all QMF for Workstation/WebSphere
system properties and files are stored in the user home directory, the path to which is in the
user.home Java Virtual Machine system property. But you can use
.instance.area Java Virtual Machine system properties to customize the
directories for storing files.
If you want to specify a timeout for a user session to close the session when the user does not
work with application, use the
VirtualDataSource.dir parameter for QMF for WebSphere® to avoid possible errors when working
with virtual data sources in cluster mode.
You can configure the number of files to be imported by configuring
qmf.websecurity.fileupload.restriction parameter for QMF for WebSphere
You can allow loading of QMF for WebSphere or
QMF Server inside an iFrame by
||This property is responsible for the folder that is distributed among several
cluster nodes. It is used to store server configuration files, scheduled tasks, and personal
repositories. If this parameter is not set, the settings from the
||This property is responsible for the application folder that is shared among
several cluster nodes. If this parameter is not set, the settings from the
||This property is responsible for storing temporary files. If this parameter is
not set, the settings from the
Note: In the cluster mode, to ensure the correct work of QMF Server features that require access to the file system, such as scheduled tasks, make sure that every cluster node that has access to this folder has full read and write permissions for the files in this folder.
||This property is responsible for the timeout of a user session. If it is set to true, the user session is closed after the HTTP session timeout that is specified on the server. If this parameter is set to false or not defined, the session is active until the user closes the application.||-|
||Specifies the name of a subfolder with a virtual data source cache. For each cluster node, an individual subfolder with respective files and directories, including the cache, is generated. The VirtualDataSource.dir property must specify a unique value for each of the cluster nodes.||-|
||Specifies limits for the file import.
||The default value of this parameter is "no". When you change it to "yes", the configuration allows you to load QMF for WebSphere inside iFrame.||-|
||The default value of this parameter is "no". When you change it to "yes", the configuration allows you to load WebLink inside iFrame.||-|
To specify particular paths for saving system properties and files:
- For QMF for Workstation
- In the application installation directory, open the eclipse.ini file.
- Add the parameters the value of that you want to customize with the -D prefix and
specify the path for the new storage. For example,
- Save the eclipse.ini file.
- For QMF for WebSphere:
- Start the WebSphere Administrative Console by opening a web browser on a client machine, and entering the appropriate URL.
- Navigate to the Process definition and, in the
Custom properties for Java Virtual Machine, add the required properties
.use.session.timeoutdepending on the parameters that you want to modify.
- Save the added parameters.