Setting environment variables

Set environment variables in the setenv file to upgrade the Unica Interact design time and runtime environment.

About this task

Edit the setenv file to set the environment variables that are required by the Unica Interact upgrade tools.

For the Unica Interact design time environment, the file is in the Interact_Design_Environment_Install_Directory/interactDT/tools/upgrade directory under the Unica Interact design time environment installation. For the Unica Interact runtime environment, the file is in the Interact_Runtime_Environment_Install_Directory/tools/upgrade directory under the Unica Interact runtime environment installation.

For more information, read the comments in the setenv file.

The following table describes the environment variables that you must set for the Unica Interact design time upgrade tools in the setenv file:

Table 1. Environment variables for the Unica Interact design time environment

This two-columned table provides information about the names of the environment variables in one column, and the description of the environment variables in the second column.

Variable Description
JAVA_HOME

The root directory of the JDK used by your new Unica Campaign installation.

For example, <Installation_HOME>/jre

JDBCDRIVER_CP

The path to the directory that contains the JDBC driver. JDBCDRIVER_CP is the default path to the JDBC driver; you can override the path when you run the upgrade tool.

Specify the same JDBC driver that was used while installing Unica Platform.

JDBCDRIVER_CLASS

The class for the JDBC driver. JDBCDRIVER_CLASS is the default class to the JDBC driver; you can override the class when you run the upgrade tool.

JDBCDRIVER_URL

The URL for the JDBC driver. JDBCDRIVER_URL is the default URL for the JDBC driver; you can override the URL when you run the upgrade tool.

ERROR_MSG_LEVEL

The desired logging level that has the following valid values, which are listed from most to least verbose:

  • DEBUG
  • INFO
  • ERROR
  • FATAL
LOG_TEMP_DIR

The directory where you want the migration tool to create the log files.

LOG_FILE_NAME

The name of the log file for the upgrade tool.

The following table describes the environment variables that you must set for the Unica Interact runtime upgrade tools in the setenv file:

Table 2. Environment variables for the Unica Interact runtime environment

This two-columned table provides information about the names of the environment variables in one column, and the description of the environment variables in the second column.

Variable Description
JAVA_HOME

The root directory of the JDK used by your new Unica Interact installation.

JDBCDRIVER_CP

The path to the directory that contains the JDBC driver. JDBCDRIVER_CP is the default path to the JDBC driver; you can override the path when you run the upgrade tool.

JDBCDRIVER_CLASS

The class for the JDBC driver. JDBCDRIVER_CLASS is the default class to the JDBC driver; you can override the class when you run the upgrade tool.

JDBCDRIVER_URL

The URL for the JDBC driver. JDBCDRIVER_URL is the default URL for the JDBC driver; you can override the URL when you run the upgrade tool.

ERROR_MSG_LEVEL

The desired logging level that has the following valid values, which are listed from most to least verbose:

  • DEBUG
  • INFO
  • ERROR
  • FATAL
LOG_TEMP_DIR

The directory where you want the migration tool to create the log files.

LOG_FILE_NAME

The name of the log file for the upgrade tool.

The environment variables for SSL upgrade are required for both the Unica Interact design time and runtime environments.

The following table describes the environment variables that you must set to support SSL upgrade for the design time and runtime environment: