When i try to upload the geoserver.war file through apache tomcat and then deploying by clicking on Deploy .....deployment failed
-
error :This site can't be reached– Vikas ShahAug 2, 2016 at 18:29
-
look in the log file to see why?– Ian Turton ♦Aug 2, 2016 at 18:36
-
and where i can find log file??– Vikas ShahAug 2, 2016 at 18:37
-
/var/log/tomcat7/catalina.out– Ian Turton ♦Aug 2, 2016 at 18:38
-
1Welcome to GIS SE! As a new user be sure to take the Tour to learn about our focussed Q&A format. I recommend not thinking about GIS SE as being some sort of online GIS tutor. Also be aware that "We are not a GIS Software Support Site. We encourage you to seek official routes for support for specific issues you may have."– PolyGeo ♦Aug 10, 2016 at 6:57
1 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...