Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GeoWebCache not shown under Tile Caching or anywhere from GeoServer Admin UI #1372

Closed
idoor88 opened this issue Feb 17, 2025 · 2 comments
Closed

Comments

@idoor88
Copy link

idoor88 commented Feb 17, 2025

I installed the 1.24.0 version of geowebcache war unzipped in parallel with geoserver 2.24.0:

Root is jetty_root with data_dir, and
jetty_root/webapps/
geoserver
geowebcache

geowebcache.xml is from the 1.24.0 version of this github site, and is under webapps/geowebcache/WEB-INF/classes/
all other geowebcache-XXXXX.xml files under webapps/geowebcache/WEB-INF/

After started, the geoserver log file shows geowebcache started correctly, when I access the geoserver admin UI, it shows the nice blue texted page, but under the left side menu section, there is a Tile Caching, which has Tile Layers, Caching Defaults, Gridsets, DiskQuota, BlobStores, but there is no GeoWebCache, and when I clicked on the Layers from Data area, it is showing 27 items, but nothing is from the layers configured in the geowebcache.xml, when I accessed the /geowebcache/rest/layers/, it is a blank page.

Question:
It seems the GeoServer does not see GeoWebCache, so where do I need to configure to make the GeoWebCache available for GeoServer?
There is no reference to the GeoWebCache in the GeoServer's web.xml either.
My geowebcache.xml is from here, which has multiple layers configured:
https://github.com/GeoWebCache/geowebcache/blob/1.24.x/geowebcache/core/src/main/resources/geowebcache.xml

Thanks
Dave

@petersmythe
Copy link
Contributor

Hi Dave

GeoServer embeds the correct version of GeoWebCache inside it, so I am not sure why you are trying to "unzip it in parallel" - that is unnecessary, unless you have a very particular need (please expand on it).

Please try again without installing GWC separately. And note that if GWC is installed separately from GeoServer, GeoServer will have no knowledge of it - like you are observing.

Peter
GeoServer PSC

@idoor88
Copy link
Author

idoor88 commented Feb 18, 2025

Hi Peter, thanks for your response, I got it resolved by putting the geowebcache.xml in the data/gwc folder.
Thanks

@idoor88 idoor88 closed this as completed Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants