Ah, I am not sure about Jetty but for Tomcat, it does not matter if the data 
folder is 777/rwxrwxrwx, if it is not listed in the tomcat.service file, it 
can't be written to, as far as I am aware under Tomcat9.

Russ

> On 20 Oct 2021, at 12:53, Steffen Reichel <st_reic...@gmx.net> wrote:
> 
> Hi,
> 
> thank you for your quick answer.
> 
> On 20.10.21 12:16, Russ Hore wrote:
>> Are you running under Linux/Tomcat?
> Jetty behind an Apache proxy on Linux
> 
>> In the latest(?) Tomcat you need to explicitly give permission for Tomcat to 
>> rad the data folder.
>> It is on a file called /lib/systemd/system/tomcat.service
>> 
>> You need to add a line;
>> ReadWritePaths=<path to your data folder>
> The path is writable. The logfile is also stored there and can be
> written to. Geoserver also loads the layers, styles (at least the log
> says so) etc. before crashing with the error described.
> 
> I was mainly wondering if it is safe to delete the folder (or empty the
> whole gcw-layers/ folder), or not and if so, what configurations I'd
> have to redo to set up GWC properly again for all layers.
> 
> Cheers,
> Steffen



_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to