Location to Store User-Specific Data

When you install the CA TDM Portal, the installation creates a separate location to store user-specific data. This location is provided as a value to the environment variable CATDMWEB_APPDATA. The default value that is assigned to CATDMWEB_APPDATA is
CommonAppFolder
/CA/CA Test Data Manager (for example, C:/ProgramData/CA/CA Test Data Manager). This approach allows users to start the CA TDM Portal services even if they (users) do not have access to the files installed in the ..\Program Files\CA\CA Test Data Manager location. However, users must have write permission on the location that is provided in the CATDMWEB_APPDATA environment variable.
tdm481
When you install the CA TDM Portal, the installation creates a separate location to store user-specific data. This location is provided as a value to the environment variable
CATDMWEB_APPDATA
. The default value that is assigned to
CATDMWEB_APPDATA
is
CommonAppFolder
/CA/CA Test Data Manager
(for example,
C:/ProgramData/CA/CA Test Data Manager
). This approach allows users to start the CA TDM Portal services even if they (users) do not have access to the files installed in the
..\Program Files\CA\CA Test Data Manager
location. However, users must have write permission on the location that is provided in the
CATDMWEB_APPDATA
environment variable.
After successful installation, the following folders are created in the
CommonAppFolder
/CA/CA Test Data Manager
location by default:
  • logs
  • orientdb
  • tomcat
When you start using the CA TDM Portal, additional folders are created in the
CommonAppFolder/
CA/CA Test Data Manager
location; for example,
jobs
and
objects
.
An administrator can also change the default value of the environment variable. If you do so, ensure that you perform the following tasks so that all the required parameters point to the updated location:
Note:
A new property (
tdmweb.appdata.folder)
is available in the
..\Program Files\CA\CA Test Data Manager Portal\conf\application.properties
file. The value of this property is set to the environment variable as
tdmweb.appdata.folder=${CATDMWEB_APPDATA}
.
  • Change the path of the work directory and access logs in the
    ..\Program Files\CA\CA Test Data Manager\tomcat\conf\server.xml
    file by changing the default value:
    ... <Host name="localhost" appBase="webapps" unpackWARs="true" autoDeploy="true" workDir="
    C:\ProgramData\CA/CA Test Data Manager Portal/tomcat/work
    "> ... <Valve className="org.apache.catalina.valves.AccessLogValve" directory="
    C:\ProgramData\CA/CA Test Data Manager Portal/tomcat/logs
    " prefix="localhost_access_log" suffix=".txt" pattern="%h %l %u %t &quot;%r&quot; %s %b"/> ...
  • Change the path of the
    java.io.tmpdir
    property in the
    ..\Program Files\CA\CA Test Data Manager\service\conf\wrapper.conf
    file by changing the default value:
    ... wrapper.java.additional.4=-Djava.io.tmpdir="
    C:/ProgramData/CA/CA Test Data Manager Portal/tomcat/temp
    " ...
    Note:
    Use double quotes if your folder name includes spaces.
  • Change the OrientDB log location in the
    ..\Program Files\CA\CA Test Data Manager\orientdb\config\orientdb-server-log.properties
    file by changing the default value:
    ... java.util.logging.FileHandler.pattern=
    C:/ProgramData/CA/CA Test Data Manager Portal/orientdb/log/orient-server.log
    ...
  • In the new location, ensure that the
    logs
    folder and the
    orientdb\log
    folder are already present.
Note:
The location of the
jobs
,
logs
, and
objects
folders is automatically updated when the value of the environment variable is changed. No explicit action is required from your side.