Hi Torben,

> I'm still not quite sure how this issue could have come about in the first 
> place.

For the moment I do not see how to carry on with this. I have corrected the 
UUIDs; it is working now. If we experience problem again we will let you know.

So far, many thanks for your support!


Best regards,
Andreas



________________________________
Von: Torben Barsballe <tbarsba...@boundlessgeo.com>
Gesendet: Freitag, 28. Juli 2017 18:32
An: Watermeyer, Andreas
Cc: Jody Garnett; GeoServer Mailing List List; Andrea Aime
Betreff: Re: [Geoserver-users] NPE on Capabilities during scale calculation on 
group layer with cascaded WMS

Hello Andreas


1) Is Geoserver supposed to use the embedded data dir in the application 
server, too, maybe as fallback for missing configs or is that directory never 
used at all?

 The embedded data dir should only be used if an external data dir is not 
specified, or if the external data dir cannot be found (for instance if it is 
on a mounted drive and there is a connection issue)

2) Where are the UUIDs in the embedded data dir coming from? Are they newly 
generated everytime a GeoServer is initially installed? Or are they contained 
in the GeoServer distribution already, together with the entire default data 
dir and just unpacked (so all GeoServers globally have the same UUIDs) ?

The UUIDs in the embeded data dir come from the release data dir 
here<https://github.com/geoserver/geoserver/tree/master/data/release/styles>, 
which is contained by the GeoServer distribution. So yes, they will be the same 
among all GeoServers globally (For example, the UUID for the generic style is 
StyleInfoImpl-37b18cc6:14d5d036d48:-8000).

If all data dirs, including the embedded data directory is unavailable for some 
reason (e.g. it was manually deleted), then a basic data dir will be generated 
on startup.


I'm still not quite sure how this issue could have come about in the first 
place.

Torben

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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

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

Reply via email to