I'm trying to deploy geoserver.war on tomcat7 but a message error is shown:
FAIL - Tried to use command /upload via a GET request but POST is required
What should I do?
This problem occurs when your .war is bigger than the value in config file of the tomcat manager.
You need to set the config in web.xml from the tomcat manager.
The file will normally be in
<multipart-config> <!-- 50MB max --> <max-file-size>52428800</max-file-size> <max-request-size>52428800</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config>
and change the values.
In addition to Samuel's answer, I searched for a good while until I found it in:
A bit different path, might help.