Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
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?
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.
To deploy you can copy the war file in /var/lib/tomcat7/webapps
Required, but never shown