GeoServer – Deploying geoserver.war through Apache Tomcat

deploymentgeoservertomcat

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

Screenshotapache homepage

Best Answer

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:

<max-file-size>92428800</max-file-size>
<max-request-size>92428800</max-request-size>

Restart tomcat and try again.

Regards...

Related Question