We're deploying an app to several Jelastic Tomcat environments using Maven on a TeamCity build server. This works well and has done so for quite some time.
Now, we want to move closer to zero-downtime deploy and would like to find a simple way to minimize or eliminate down-time. Tomcat's Parallel Deploy functionality seems like a good fit.
However, it seems like the Jelastic Maven plug-in doesn't handle parallel deploys or non-standard (i.e. <artifact-name>##<artifact-version>.war
) archive names. The tomcat-maven-plugin doesn't play well with our Nginx proxy/load balancer claiming that the request (a PUT) is too big. 100 MB shouldn't be an issue, right...? :)
When I try to deploy using Postman I also get an error saying that the context /
is already used. Exactly, that's why I want a parallel deployment...
I've tried it all locally and it works like a charm but remote is another issue, has anybody been successful in this kind of setup or am I missing something?