When i try to upload the geoserver.war file through apache tomcat and then deploying by clicking on Deploy .....deployment failed

Screenshotapache homepage


1 Answer 1


I believe that is a problem of the filesize of the WAR file of geoserver.

At default tomcat only accepts 50MB in the WAR files to upload, open with notepad the file: C:\Program Files (x86)\Apache Software Foundation\Tomcat 9.0\webapps\manager\WEB-INF\web.xml

and find the lines with the text: <max-file-size> and <max-request-size>.

Increase that value, for example:


Restart tomcat and try again.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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