[GIS] The connection was reset deploying geoserver.war in ubuntu

deploymentgeoservertomcatUbuntu

I have installed Tomcat 7 in Ubuntu and when I try to deploy geoserver.war I receive the error "The connection was reset" in Firefox and "402 Access Denied" in Chromium.

How do I deploy geoserver.war?

Best Answer

The real cause of the issue is the max-file-size limit in WEB-INF/web.xml. It is set for 50MB while the geoserver.war (version 2.9.0) is over 65MB.

Open the file below for tomcat7: sudo nano /usr/share/tomcat7-admin/manager/WEB-INF/web.xml

Locate multipart-config tag and turn 50MB to 500MB.

Related Question