1

can you help me please change caching directory of my geoserver instance? I've tried add to web.xml file in Geoserver\WEB-INF this :

  <!-- Setting GeoWebCache folder -->
  <context-param>
    <param-name>GEOWEBCACHE_CACHE_DIR</param-name>
    <param-value>\data\gwc</param-value>
  </context-param>
  <context-param>

But does not work ... When I open Tile Layers page in Geoserver Web UI, there are still marked as N/A and when I look at GeoWebCache embedded page I saw my local storage is:

C:\Users\Denis\AppData\Local\Temp\geowebcache

but in this folder Geoserver does not has permission to read or write, bacause I need my cache folder in geoserver installation folder.

I am using Tomcat 8.5 and Geoserver 2.10 on windows 10. Any ideas?

1 Answer 1

2

This is a known bug in 2.10.1.

4
  • So I can only wait or downgrade? Commented Feb 25, 2017 at 14:55
  • or help fix it if you want
    – Ian Turton
    Commented Feb 25, 2017 at 15:18
  • Does the comment by Kevin Smith in thread osgeo-org.1560.x6.nabble.com/… mean that users could use GEOWEBCACHE_CONFIG_DIR instead?
    – user30184
    Commented Feb 25, 2017 at 16:36
  • I've no idea, what happens if you try it?
    – Ian Turton
    Commented Feb 25, 2017 at 16:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.