Corticon Server provides many configuration options. These are described in detail in the Corticon Server guide. It’s recommended that you read this guide to better understand the operation of Corticon Server. When using an embedded Corticon Server the following must be configured.

Environment Settings

CORTICON_HOME and CORTICON_WORK need to be set for both JAVA and .NET. Setting the CORTICON_WORK when using .NET in-process is required. For a specific example, see the .NET in-process sample's App.config at <CORTICON_WORK>\Samples\Clients\In Process\C-sharp.

Server Properties

At startup, Corticon Server will read Server configuration properties from the brms.properties in the Corticon work directory identified by CORTICON_WORK_DIR. After you have the Server instance, you can set additional properties on it by calling setCcPropertyValue on the instance.

Server Sandbox

When Corticon Server starts up, it checks for the existence of a sandbox directory. The Sandbox is the directory used by Corticon Server to manage its state and deployed Decision services. The location of the Sandbox is controlled by com.corticon.ccserver.sandboxDir settings in your brms.properties file.

Note: If the location specified by com.corticon.ccserver.sandboxDir cannot be found or is not available, the Sandbox location defaults to the current working directory as it is typically the location that initiated the call.
Server Instances

Only one instance of the Corticon Server is allowed per application. The first call to CcServerFactory.getCcServer instantiates the Corticon Server and returns it. All subsequent calls will return the same instance.