[GIS] Installation and configuration of stand-alone GeoWebCache

geowebcache

I recently installed the stand-alone version of GeoWebCache 1.6.0 and deployed it on a Tomcat 7.0 container.

The official documentation tells to modify "geowebcache.xml" in the following location ..

The main configuration file for GeoWebCache is geowebcache.xml. 
It is located inside the the main GeoWebCache application directory at 
WEB-INF/classes/geowebcache.xml.

But I couldn't find it anywhere in the "…\Tomcat7.0\webapps\geowebcache\" at all!

Also, I have an empty list of layers on the "demo" page on the geowebcache web admin.
When I hit "Reload Configuration" button, it popped up a login box. I looked for username and password in "user.properties" file following the instruction. But it only contains "geowebcache=secured,ROLE_ADMINISTRATOR".

What are the username and password should I use?

It just has a so bad documentation… …

p.s. I don't have GeoServer installed yet. Does GeoWebCache mean to work in stand-alone? I just want to cache an external WMS. Where do I find "GeoWebCache.xml" and where are all cached files stored in Tomcat?

Best Answer

As Mark said, standalone GWC will not work without Geoserver (that means web map server). By default, GWC (GeoWebCache) comes as integrated plug in with Geoserver installation files. Stand alone GWC means you can also set up GWC separately and configure to work in sync with installed Geoserver based on your requirements for clustering or so.

Install Geoserver and then configure GeoWebCache to serve wms maps faster. GeoWebCache is a tile caching plugin, which has dependancy to have Geoserver installed to to serve maps through GWC.

Related Question