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 _______________________________________________ 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
