Installing GeoWebCache

Once the Java Servlet environment is in place, installing GeoWebCache is simple.

The latest Web ARchive (WAR) file can be downloaded from geowebcache.org.

Unpack the zip file and make sure to read the software License.

Option 1: Tomcat Administration Tool

  1. Navigate to http://localhost:8080 (or wherever your Tomcat instance resides) and click the Tomcat Manager on the left hand side.
  2. Find the section WAR file to deploy, and upload geowebcache.war you unpacked from the zip file.
  3. After the upload is complete, look for geowebcache in the Applications table.
  4. GeoWebCache should be installed at http://localhost:8080/geowebcache.

Option 2: Manual Installation

The file geowebcache.war is just a zip file. The Tomcat Administration Tool unpacks this file to a folder inside the Tomcat webapps directory called <tomcat dir>/webapps/geowebcache. If you wish, you can unpack this archive manually in this location. You can also make configuration changes before copying to the webapps directory.

Note

Tomcat will need to be stopped before making any changes to the webapps directory. Ensure that the Tomcat process is stopped before proceeding, as the JVM does not always release file handles immediately.

After restarting Tomcat, GeoWebCache should be installed at http://localhost:8080/geowebcache.