[Geoserver-users] GeoWebCache seed fails to generate data on disk

Hey all,

I’ve come across the following issue when trying to seed some data through GeoServer’s integrated version of GeoWebCache. When attempting to seed some raster layers (which use the EPSG:3857 projection), no folders are generated for the layers in the data_dir/gwc/ directory. Attempting to seed a single layer via curl results in an http 200 (OK) from the server.

The GeoServer documentation gives the following example:

curl -v -u admin:geoserver -XPOST -H “Content-type: text/xml” -d “nurc:Arc_Sample4326112image/pngtruncate2” “http://localhost:8080/geoserver/gwc/rest/seed/nurc:Arc_Sample.xml

On the particular GeoServer instance that I’m working on, I don’t have the default data. I’ve substituted the appropriate workspace and layer name in to my own call, so that it looks something like the following:

curl -v -u admin:geoserver -XPOST -H “Content-type: text/xml” -d “ws:layer_name3857514image/pngtruncate1” “http://localhost:8080/geoserver/gwc/rest/seed/ws:layer_namexml

As mentioned, this is returning an HTTP 200 (OK from GeoServer), but is failing to actually generate any data on disk. When I look in the server log, there is no indication of anything failing at all, and no data is generated for the layer in GeoServer’s data_dir/gwc/ directory. This happens both on GeoServer 2.6.1 and GeoServer 2.3.2.

Can anyone shed some light on why this might be happening, or at least point me in the right direction for debugging this?

  • Joel