GWC is not really aware of workspaces. It considers the whole prefixed
name to be the name of the layer without any idea that it has two parts.
There is presently no counterpart to GeoServer's virtual services in
GeoWebCache. So when using GWC you always have to give the full name of
the layer.
On 18 February 2015 at 04:42, Sergey Kolosov <[email protected]>
wrote:
> Hello!
>
> I've discovered strange behavior in GWC. If layer's workspace is not
> provided in LAYERS param, the cache is not generated. Though tiles are
> coming on the client side. URLs to make it clear:
>
> Tiles are coming, cache is not generated:
>
> http://localhost:8080/geoserver/topp/gwc/service/wms?LAYERS=states&FORMAT=image/png&TILED=true&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3857&BBOX=-10331840.237812,4696291.0171875,-10018754.17,5009377.085&WIDTH=256&HEIGHT=256
>
> Tiles are coming and cache is generated:
>
> http://localhost:8080/geoserver/gwc/service/wms?LAYERS=topp:states&FORMAT=image/png&TILED=true&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&SRS=EPSG:3857&BBOX=-10331840.237812,4696291.0171875,-10018754.17,5009377.085&WIDTH=256&HEIGHT=256
>
> So cache generation is depending on where workspace is specified. It is
> the second problem I ran into when workspace is in the address rather than
> in the param (the first problem was about styles).
>
>
> ------------------------------------------------------------------------------
> Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
> from Actuate! Instantly Supercharge Your Business Reports and Dashboards
> with Interactivity, Sharing, Native Excel Exports, App Integration & more
> Get technology previously reserved for billion-dollar corporations, FREE
>
> http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
>
--
Kevin Smith
Software Engineer | Boundless <http://boundlessgeo.com/>
[email protected]
+1-778-785-7459
@boundlessgeo <http://twitter.com/boundlessgeo/>
<http://twitter.com/boundlessgeo/>
[image: http://boundlessgeo.com/]
<http://boundlessgeo.com/>
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=190641631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users