Hi,

You can use geowebcache in addition to integrated layers.
Edit file
/webapps/geoserver/WEB-INF/web.xml

Add section like

<context-param>
        <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
        <param-value>/users/geoserver/data/gwc</param-value>
    </context-param>

Now write geowebcache.xml, save it into the GEOWEBCACHE_CACHE_DIR and restart 
the server. Work at least for me. After doing this the integrated GWC has the 
layers from Geoserver plus layers defined in geowebcache.xml.

-Jukka Rahkonen-

Stefan wrote:

Andrea
Thanks for your quick reply,  yes I knew that was available
??Doesn't the integrated Geowebcache show the tiled layers by retrieving the 
GeoServer GetCapabilities - So there isn't a specific geowebcache.xml I can 
look at

I need to build as separate servers to investigate some service configuration & 
scaling options that we are thinking about
So I need to figure out what should be in my geowebcache.xml


From: andrea.a...@gmail.com<mailto:andrea.a...@gmail.com> 
[mailto:andrea.a...@gmail.com] On Behalf Of Andrea Aime
Sent: 08 April 2014 20:00
To: Stefan
Cc: GeoServer Mailing List List
Subject: Re: [Geoserver-users] Very basic question - Geowebcache <> Geoserver

On Tue, Apr 8, 2014 at 8:53 PM, Stefan 
<sma...@hotmail.co.uk<mailto:sma...@hotmail.co.uk>> wrote:
I have got my GeoServer configured with some vector data sets in several 
postGIS DBs
I have configured GeoServer layers & can see these via the view Layers page

I can't seem to figure out how to configure Geowebcache to reference the Layers 
in Geoserver

Note I have Geowebcache and Geoserver deployed to separate WebApp servers


Hope someone can share a geowebcache.xml and the equivalent GeoServer Layer 
configurations

GeoServer ships with GeoWebCache integrated into it, no need to deploy it as a 
separate applications.
Unless you changed the default, all your layers are also already published as 
tile caches too

Cheers
Andrea

--
==
Meet us at GEO Business 2014! in London! Visit http://goo.gl/fES3aK
for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to