Deploying to Payara
Blog post from Octopus Deploy
Shawn Sesna's post from March 31, 2021, provides a detailed guide on deploying the Java application PetClinic to a Payara web server using Octopus Deploy, which supports various web servers including Tomcat and Wildfly. The deployment process involves setting up infrastructure with a MySQL PaaS server on Azure and an Ubuntu VM for Payara, automated through a runbook. The article describes the necessary steps for configuring the Azure Resource Manager template and Bash script to install the Octopus Tentacle and Payara server, and addresses potential issues with MySQL PaaS, such as firewall configurations and permissions for stored procedures. It also highlights Payara's autodeploy feature, which simplifies deployment by allowing the .war file to be placed in a specific folder for automatic deployment. Additionally, the post covers the use of Octopus Deploy's Structured Configuration Variables to update database connection information and concludes by emphasizing that, despite the absence of a specific template for Payara, Octopus Deploy effectively supports deploying applications to it.