skip to main content
Corticon Server: Deploying Web Services with Java : Corticon Java Server files and API tools : The Corticon home and work directories
 

Try Corticon Now

The Corticon home and work directories

As a Corticon installation completes, it tailors two properties that define its global environment. These variables are used throughout the product to determine the relative location of other files.

Corticon environment

The installer establishes a common environment configuration file, \bin\corticon_env.bat, at the program installation location. That file defines the Progress Corticon runtime environment so that most scripts simply call it to set common global environment settings, such as CORTICON_HOME and CORTICON_WORK_DIR (and in some cases simply CORTICON_WORK.)

CORTICON_HOME

The installation directory -- either the default location, C:\Program Files\Progress\Corticon 5.7, or the preferred location you specified -- is assigned to [CORTICON_HOME].

CORTICON_WORK_DIR

The work directory -- either the default location, C:\Users\{username}\Progress\CorticonWork 5.7, or the preferred location you specified -- is assigned to [CORTICON_WORK_DIR].

It is a good practice to use global environment settings

Many file paths and locations are determined by the CORTICON_HOME and CORTICON_WORK_DIR variables. Be sure to call corticon_env.bat, and then use these variables in your scripts and wrapper classes so that they are portable to deployments that might have different install paths.
Note: While you could change these locations with the assurance that well-behaved scripts will follow your renamed path or location, you might also encounter unexpected behaviors from any that do not. Also, issues might arise when running update, upgrade, and uninstall utilities.