This guide explains how to install and configure multiple Tomcat instances for Quilliup on a Windows server.
Multi-instance setup uses the standard Quilliup installation for the first Tomcat instance. All additional instances must be configured manually.
⚠️ Recommendation: Before starting, create a system snapshot to ensure you can restore the environment if required.
1. Standard Installation
Perform a standard Quilliup installation, either:
Manually
By following the installation guide: Quilliup Windows Installation Guide
2. Tomcat service
During installation, a Tomcat service is registered in Windows Services.
The service name format is:
Apache Tomcat X quilliup(where X = Tomcat version number) .- Service Management:
Stop the service before making any configuration changes.
Restart the service once changes are complete.
Destination folder: <Application Folder>\quilliup\bin
Open CMD and run:
- Stop quilliup service:
net stop quilliup - Start quilliup service:
net start quilliup
Executions: Delete all contents under:
quilliup\AppData\executionsLogs: Delete all log files under:
quilliup\logs
4. Define New Tomcat Instance Ports
Each Tomcat instance requires unique port numbers. Update the configuration as follows:
Open the file:
..\quilliup_prod\conf\server.xmlReplace all occurrences of the default HTTP port (8080) with a new port, e.g., 7070.

-
Update the following additional ports:
Shutdown port: change from
8005→8006
AJP port: change from
8009→8008
5. Define New Tomcat Instance Properties
Open the file:
..\quilliup_prod\webapps\ROOT\WEB-INF\classes\config.properties-
Update the following parameters:
Change the port from 8080 to 7070 (or the port defined in Step 4).
Update all file system paths from:
..\quilliupto..\quilliup_prod
This ensures the new instance references the correct installation folder.
6. Define New Tomcat Instance Repository Database
Starting from Quilliup version 2.6.1.9.2 and above, repository DB connection details are managed in the connection.properties file.
Open the file:
..\quilliup_prod\webapps\ROOT\WEB-INF\classes\connection.properties-
Configure the repository:
Uncomment the relevant DB details (remove
#from the beginning of required rows).Comment out all unused repositories (add
#to irrelevant rows).Enter correct connection details for your repository DB.
For example - MySQL DB repository details:
⚠️ Password Encryption (Recommended):
If encrypting the DB password, first back it up in a secure password manager.
Run the utility:
..\quilliup_prod\webapps\ROOT\utils\quilliup Encrypt AES.jarCopy the encrypted string from the Result field and paste it into the
db.passwordfield inconnection.properties.Save changes.
7. Create Windows Service for the New Instance
To run the new Quilliup instance as a Windows service:
Open Command Prompt as Administrator.
Navigate to the
bindirectory of the new instance:cd "C:\Program Files\quilliup_prod\bin"Install the service by running:
service.bat install quilliup_prod
-
Open Windows services, edit the startup type to Automatic and start the service

Important: Ensure you are logged in with a Windows user account that has READ + WRITE permissions for all Quilliup directories. For example:
That's it!

Comments
0 comments
Please sign in to leave a comment.