I am currently working on a little GIS web app. I have deployed Apache Tomcat on Google Cloud Platform

enter image description here

and I want to install GeoServer on it. I have downloaded the web archive of GeoServer 2.16 but when I want to deploy it on Tomcat, I have an error as you can see below

enter image description here

From this question, it seems to be a file size error, as said "default tomcat only accepts 50MB in the WAR files to upload, and the web archive of GeoServer is 98.1 MB. So I need to change this"

Since my Tomcat is on the cloud, please how to change this constrains?

1 Answer 1


Edit the Tomcat webapps/manager/WEB-INF/web.xml file, change the section like


Updating the <max-file-size> and <max-request-size> sections to a value in the region of 104857600 bytes.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.