Installing GeoWebCache¶
Once the Java Servlet environment is in place:
The
geowebcache-war.zipWeb ARchive (WAR) file can be downloaded from GeoWebCache.osgeo.org.Unpack the zip file and make sure to read the software License, and locate the
geowebcache.warfor deployment.
Option 1: Tomcat Administration Tool¶
Navigate to http://localhost:8080 (or wherever your Tomcat instance resides) and click the Tomcat Manager on the left hand side.
Find the section WAR file to deploy, and upload
geowebcache.waryou unpacked from the zip file.After the upload is complete, look for geowebcache in the Applications table.
Once the application is started, GeoWebCache is available
http://localhost:8080/geowebcache.
Option 2: Manual Installation¶
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.
To manually deploy:
Copy the file
geowebcache.warto<tomcat dir>/webapps.On startup Tomcat will deploy the application to the folder
<tomcat dir>/webapps/geowebcacheIf you wish, you can unpack this archive manually in this location. The
geowebcache.warmay be treated as a zip file and be unpacked to<tomcat dir>/webapps/geowebcache.
This approach allows you to make configuration changes before restartig Tomcat.
After restarting Tomcat, GeoWebCache is available
http://localhost:8080/geowebcache.