Our application has multiple WAR files. I've been following the documentation here to try and bundle them, however I'm using the pre-configured Docker + Glassfish template rather than Tomcat: https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/java-tomcat-multiple-war-files.html

My deployment scripts and everything work fine until it actually tries to deploy the WAR files, I get the following message in the GlassFish log:

Archive type of /var/app.zip was not recognized

My deployment zip file looks like:

├── appa.war
├── appb.war
└── .ebextensions

Has anyone tried to run this configuration before? Is it possible or should I take another route?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.