Hi,
I'm looking for pointers on how to configure JNDI for a GeoServer
(2.13.4) standalone install (Jetty) - playing around with postgresql
to get an idea how it's supposed to work, but the final goal would be
to have data served from SQLServer with an AD user credentials (it
should be achievable with JNDI, right?).
I've looked into Jetty's own docs on JNDI config[1][2] but somehow my
geoserver/WEB-INF/jetty-env.xml never even seems to get picked up
during geoserver startup (checked by "breaking" the xml and there's no
org.xml.sax.SAXParseException thrown which is the case for example
with etc/jetty.xml).
From the (Jetty) docs I understand that if the file exists, it should
be loaded+parsed. Is there way I can force this file to be loaded? Are
there modules / jars / some other config maybe not present with the gs
distribution? Or am I trying to achieve a non-sensible thingy here
?
All the best,
Tõnis
[1] https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/jndi-datasource-examples.html#postgreSQL-pooled-datasource
[2] https://www.eclipse.org/jetty/documentation/9.2.22.v20170531/jndi-configuration.html#configuring-datasources
--
@tkardi