How to deploy Corticon on Docker
- Last Updated: July 16, 2025
- 4 minute read
- Corticon
- Version 6.3
- Documentation
- Docker containers are faster to create and quicker to start.
- Docker scales efficiently when demand for your application grows.
- Corticon Server deployed to Docker as a web application can be accessed as a REST or a SOAP service.
Download the Corticon Docker package
Each release of Corticon provides a Docker bundle with the Dockerfile configuration file and the .war files for Corticon Server and Corticon Web Console.
Download the package, and then unzip it on your target machine, typically at root level.
For example, C:\PROGRESS_CORTICON_X.x_DOCKER
For download information, see Download the latest Corticon installer packages.
Edit the Dockerfile with the Corticon configuration
The Dockerfile in the package is preconfigured to deploy Corticon Server to a base Tomcat 9.0 image. You can adjust and add to the configuration to suit your installation.
|
FROMstatement to specify the base image to be used for this container. The docker file bundled uses a publictomcat-9jre8image from Dockerhub. You can choose any other supported image from docker hub or build your own. For example, to usetomcat9.0.53with JRE 11, change theFromstatement to:FROM tomcat:9.0.53-jre11USERis set torootto ensure that the container has full control of the host system.EXPOSElets you specify the network port on which Docker will listen at runtime.COPYThe next steps copyaxis.warandcorticon.warto theweb-appsdirectory, in this example,tomcat.RUN mkdirsets up the required directories.#ADD Orderinstalls the Decision Service file and the corresponding CDD. Remove the # tag to enable the actions.
Setting Corticon Home and Work Directory
- Add the lines:
RUN mkdir /usr/local/tomcat/CORTICONWORK ENV CATALINA_OPTS="$CATALINA_OPTS -DCORTICON_HOME=/usr/local/tomcat/CORTICONWORK/" ENV CATALINA_OPTS="$CATALINA_OPTS -DCORTICON_WORK_DIR=/usr/local/tomcat/CORTICONWORK/" - Adjust the
ADDto ensure that preferences for the Corticon server set in abrms.propertiesfile are copied to the Corticon Work Directory.
Update the Corticon license
You need to copy the license to the container and then update the environment variable.
To add or update the license:
- Locate your valid Corticon license for the Server version.
- Add the lines:
After the configuration is complete, you need to provide the files you specified, and then build the docker image.RUN mkdir /usr/local/tomcat/LicenseCorticon COPY CcLicense.jar /usr/local/tomcat/LicenseCorticon ENV CATALINA_OPTS="$CATALINA_OPTS -DCORTICON_LICENSE=/usr/local/tomcat/LicenseCorticon/CcLicense.jar"
Provide specified files
After the preceding steps, you need to copy the specified files into the
Docker folder, PROGRESS_CORTICON_X.x_DOCKER:
CcLicense.jarfromC:\Progress\Corticon X.x\Server\libbrms.propertiesfromC:\Users\user\Progress\CorticonWork_X.xProcessOrder.edsandOrderProcessing.cddfromC:\Users\user\Progress\CorticonWork_X.x\Samples\Rule Projects\OrderProcessing
Build the Docker container image from the Dockerfile
- Open a Command Prompt window as administrator to the root of the Docker installation.
- If you are replacing an existing image, type:
and then typedocker container pruneyto complete the deletion. - Then, for the new image where
corticondemois your preferred name, type:docker ps -a docker build -t corticondemo .
For more Docker documentation and options supported with the Docker build command, reference the docker documentation at https://docs.docker.com/.
Run the Docker container
- Open a Command Prompt window as administrator to the root of the Docker installation.
- Type:
docker run -p 8080:8080 corticondemo
run. See https://docs.docker.com/engine/reference/commandline/run/.The Tomcat console output shows the server startup log lines.
Confirm the Server operation
Check the Corticon server by accessing the Corticon ping REST end point on the browser:
|
When the server is running, the REST/GET request returns JSON with the uptime as:
{"uptime" : <time in milliseconds>}
To check that the license has been updated properly, you can check the server properties using the REST end point
http://localhost:8080/axis/corticon/server/getProperties
The REST response returns JSON with the Server properties. When the
license has been updated, the licenseFilePath
attribute in the JSON has the updated path:
"licenseFilePath":"/usr/local/tomcat/LicenseCorticon/CcLicense.jar",
In the Web Console, connect to the running server in this example as:
The Server Details view shows the license and the properties.
Other platforms
The steps needed to successfully deploy docker to a Tomcat server image can be transformed to other supported application servers listed in the Corticon Supported Platforms Matrix . To deploy Corticon to the different application servers, refer to the Corticon Knowledge Base entry Corticon Server X.x sample WAR installation for different Application Servers for settings on specific application servers.
The configurations specific to deploying a web-app to a different image
can differ based on the requirements of the image. However, the Corticon-specific
configurations like setting the CORTICON_HOME and
CORTICON_WORK_DIR or updating the license stay the
same. You still must pass the environment variables like -DCORTICON_LICENSE to update the license or -DCORTICON_HOME to use a different location for Corticon home.
The Dockerfile can be customized to fit your business needs on any supported OS/application server Docker image.