Home / Companies / Octopus Deploy / Blog / Post Details
Content Deep Dive

The ultimate guide to Tomcat deployments

Blog post from Octopus Deploy

Post Details
Company
Date Published
Author
Matthew Casperson
Word Count
8,321
Language
English
Hacker News Points
-
Summary

Matthew Casperson's article delves into the intricacies of creating a robust CI/CD pipeline for deploying Java applications to Tomcat, focusing on aspects such as high availability and zero downtime deployments. It outlines a comprehensive setup involving Apache web servers for load balancing, PostgreSQL for session replication, and Keepalived for managing load balancers' high availability. The article also discusses implementing Tomcat's parallel deployments to facilitate zero downtime, ensuring database changes are backward and forward compatible with tools like Flyway, and handling session persistence through PostgreSQL. Additionally, it touches on deploying feature branches with Octopus channels, addressing Maven's versioning limitations, and securing deployments with HTTPS certificates. By meticulously detailing each component of the infrastructure and deployment process, Casperson provides a guide for achieving a seamless and resilient deployment pipeline.