We have some data connections to Shapefiles stored on a network share. They are connected via UNC paths. We run GeoServer as a windows service on a service account that has permissions on that location. We used the windows installer to install GeoServer on a windows machine.
Since we’ve updated to 2.25.2 (and later 2.25.3) this doesn’t work anymore. When saving the connection an error occurs: Error creating data store, check the parameters. Error message: Could not acquire data access ‘SampleDataConnection’
Did you try URLChecks? We are trying to be much more careful about avoid server side request forgery; and file location examples are at the bottom of the page.
Developers should keep in mind some important maintenance work performed by Niels Charlier on the use absolute and relative paths in the ResourceStore. See the Developers Guide for more information.
This does not affect end users.
This change was done in part due to confusion over how to handle paths.
We do not have many volunteers in position to test in a windows environment; so you may be the first person to provide public feedback.
I do not have access to a windows environment myself, but perhaps someone else here can test also?
Ah, I missed the part that URL Checks also checks file paths. Adding the UNC path to the URL Check list did the trick for me. Thanks a lot for the hint.
I added the path to the URL Check list, which looks something like this: ^\\foldername\subfoldername\.*$