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?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
Sign up to join this communityI 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