This article is designed to migrate your FileCatalyst Workflow instance which was installed using the executable installer. This installer includes an embedded Tomcat Web Server.
As of November 30, 2020, we will no longer be producing this installer.
This article will walk you through all the necessary steps needed to back up your Workflow deployment and migrate the application over to a stand-alone Tomcat Web Server install.
Article Quick Links
FileCatalyst Workflow v4.9.9 and newer.
Windows OS only.
Note: Do not skip any steps in this section or you may experience problems with your migration. Make sure your permissions are configured properly between the Tomcat install directory and Workflow configuration folder. Both locations require read and write permissions as they copy data between them.
- Backup configuration and settings:
- If you are using an Internal HSQL DB, this will be copied when backing up the Workflow Configuration files in the next step.
- If you utilize a MySQL DB, it is recommended that you use MySQL Workbench or a MySQL command line to take a full backup of the database.
- Workflow Configuration.
- Log into the FileCatalyst Workflow deployment as the Super Admin User.
- Click on About FileCatalyst on the top menu bar.
- The path listed under Configuration Path will be the location of your deployment. Copy this into a text editor and then browse to this location.
- Copy this folder and its contents to a new location, such as C:\workflow-config\. For the rest of this article, we will reference C:\workflow-config\.
- Web Server Settings
- Shut down the FileCatalyst Web Workflow service.
- Navigate to the installation folder and copy the \apache-tomcat\conf\ folder to your backup location. The default location for this installation is "C:\Program Files\FileCatalyst Web Workflow" or "C:\Program Files\FileCatalyst Workflow".
- Browse to \apache-tomcat\webappts\ROOT\ and copy this folder and its contents to your backup location. This folder will maintain your redirectors if they have been configured in the index.html file.
- SSL Certificate (optional)
- Backup your SSL Certificate Directory to your backup location.
- Open the \apache-tomcat\conf\server.xml file in a text editor.
- Search for the element in your SSL connector that has the following:
The path after the equal sign will point to the SSL directory. Backup your SSL certificates.
- Install Amazon Corretto Java JDK 8:
- Go to the Amazon Corretto Java JDK 8 page and download the MSI file.
- Install Amazon Corretto Java JDK 8 using the installation instructions provided by Amazon.
- As a quick test, open the command prompt and run java -version, if your output looks similar to the one below it is configured properly:
Note: You may need to set your JAVA_HOME directory.
- Install Tomcat 9.0:
- Go to the Apache Tomcat Download page and look for "32-bit/64-bit Windows Service Installer". Note: We do not support the use of Tomcat 9.5 or 10.0, or versions below 9.0.
- Install the application outside of the Program Files directory. For this article, we will use the path C:\Tomcat 9.0\.
- Do not start the Tomcat Server at this moment.
- Internal FileCatalyst Server Modifications (optional)
This step is only required if you are using the Internal FileCatalyst Server. If you are using your own custom SSL Certificates, instead of commenting out the parameters below ("#") specify the new path to each element.
- Navigate to the Workflow Config folder (C:\workflow-config\) and rename the backup folder to backup-old. (C:\workflow-config\backup-old\)
- Open the fcconf.conf file in a text editor.
- Search for FCServer.server.config.private.key and comment it out by adding a "#" in front of it. If you are using your own SSL Certificate point this parameter to your Private Key.
#FCServer.server.config.private.key=C:/FileCatalyst Web Workflow/apache-tomcat/fcservercert.pvk
- Search for FCServer.server.config.certificate.file and comment it out by adding a "#" in front of it. If you are using your own SSL Certificate point this parameter to your Certificate File.
#FCServer.server.config.certificate.file=C:/FileCatalyst Web Workflow/apache-tomcat/fcservercert.pem
- Search for FCServer.server.config.default.certificate.location and comment it out by adding a "#" in front of it. This parameter will the Internal FileCatalyst Server where to re-generate
#FCServer.server.config.default.certificate.location=C:/FileCatalyst Web Workflow/apache-tomcat
- Deploy FileCatalyst Workflow
- Download the FileCatalyst Workflow ZIP.
- You will need a Username and Password to access this file. Please contact your Account Executive to obtain access to this page.
- Unzip the file.
- Copy the WAR file contained in the zip file into the C:\Tomcat 9.0\webapps\ directory.
- Modify the Tomcat C:\Tomcat 9.0\conf\web.xml file using this guide to prevent JSP Servlet Errors.
- Start the Tomcat Web Server Service.
- Access FileCatalyst Workflow in your browser using http://127.0.0.1/workflow/ or http://127.0.0.1:<port>/workflow/. You should see a default demo landing page.
- Login using init and the password aaaaa.
- When prompted choose a Custom Directory to use an Existing Setup.
- Specify the path to the configuration folder that you created in step 1b. For example, C:\workflow-config\, and hit Change Folder and Restart.
- Once the service has restarted, log back in using your username and password.
- From the Modify Configuration menu, click on the Licenses link and provide your Sales Representative with the request string. Enter the License key here and hit Save.
- Under the System Restart, section hit the Restart System link. This will remove the Demo Banner.
- Stop the Tomcat Web Server.
- Replace the contents of C:\Tomcat 9.0\webapps\ROOT\ with the files from your backup. If you have had redirectors setup before they would be in your index.html file.
- Start the Tomcat Web Server.
Note: After completing step 4k, your older configurations, customizations, User DB and email preferences are restored.
- SSL Install (optional)
If you previously had an SSL Certificate installed on your Workflow and have backed up your Keystore you can use the following article to modify the connector in C:\Tomcat 9.0\conf\server.xml to enable SSL:
- Some other useful articles for your Tomcat Web Server:
Harden Tomcat: https://support.filecatalyst.com/index.php?/Knowledgebase/Article/View/333/0/how-to-harden-tomcat-web-server
Force SSL Redirection: http://support.filecatalyst.com/index.php?/Knowledgebase/Article/View/317/0/how-to-force-https-connections-in-workflow-or-webmail
Redirect HTTP Root to /workflow: