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

Deploying to Wildfly from Octopus Deploy

Blog post from Octopus Deploy

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

Matthew Casperson's blog post from June 9, 2017, discusses deploying a WAR file to Wildfly 11 using Octopus Deploy, noting that the platform had yet to integrate native Wildfly support at that time. It explores two methods for deploying applications: directly uploading files via Wildfly's management interface, which has drawbacks like unoptimized file uploads and public IP exposure, and using Octopus Deploy's package step combined with local CLI tool execution on the Wildfly server, which reduces network traffic and deployment times by using delta copying. The post also details a Groovy script solution for idempotent deployments to Wildfly domains, highlighting its ability to create or update WAR file contents and assign them to server groups while leveraging the Spring retry framework for reliability. Casperson outlines prerequisites, such as installing Groovy and Mono, and provides steps for deploying to both Wildfly domain controllers and standalone instances. He concludes with a mention of ongoing efforts to enhance Octopus's support for Java and application servers like Wildfly, inviting feedback for future developments.