Le 05/02/2019 à 12:14, Andrea Aime a écrit :
for that case you need to "step up" your installation and have everything use the
same JNDI connection pool (same connection pool for all stores), see also:

https://docs.geoserver.org/stable/en/user/tutorials/tomcat-jndi/tomcat-jndi.html

JNDI works like a charm ! Thanks !

Just a note, I don't know whether this is a bug or something missing in the documentation, or maybe even something I have overlooked : the "schema" parameter in the Datastore Configuration page does not seem to have any effect. I've set it to the name of my postgresql's database schema, but the log was flooded with geotools.jdbc trying to read the primary keys of all the tables in my database (and not in my schema alone). I had not checked "expose primary keys". More problematic, geoserver that the relation containing my mosaic index did not exist.

In the datastore.properties of each mosaic (and of my imagepyramid) I added "schema=myschema", and everything worked perfectly afterwards. Is the the expected behaviour ? Should I propose a quick patch in the jndi configuration doc ?

Also for my datastore.properties file, I had followed the guide from the "geoserver training" section of your website : https://geoserver.geo-solutions.it/edu/en/multidim/imagemosaic/mosaic_datastore.html#using-a-jndi-connection-pool which did not mention this "schema" parameter, so mabe I could add this somewhere ?

Cheers
--
Arnaud


_______________________________________________
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


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to