I want to cache a layer from Geoserver. I use Geoserver 2.5.1 on Ubuntu 13.10.
- In the
web.xml
file undertomcat7/webapps/geoserver/WEB-INF
I added the following part:<context-param> <param-name>GEOWEBCACHE_CACHE_DIR</param-name> <param-value>/opt/gwc</param-value> </context-param>
- I enabled
Enable direct integration with GeoServer WMS
under Caching defaults. - I use the sample data
tiger:giant_polygon
whereCreate a cached layer for this layer
is enabled
After opening the tile preview with EPSG:4326 /jpeg
for the layer, the folder where my tiles are supposed to be saved is still empty. Also the DISK USED
colum shows N/A
.
What is missing?
chown: invalid user: ‘Tomcat7’