> From: Andrea Aime <[email protected]> 
>> On Mon, Jul 1, 2019 at 7:29 PM Francesco Frassinelli 
>> <mailto:[email protected]> wrote:
>> Hi,
>> I am trying to use GeoServer 2.15.1 with the SQL Server plugin with OpenJDK 
>> 8. I took the sqljdbc42.jar for jre8 from the Microsoft server and GeoServer 
>> seems working as usual, but when I try to add a new store/source, I click on 
>> “Microsoft SQL Server”, I fill the form and I get a “NullPointerException: 
>> Could not acquire data access ‘mydb’”. >> What could I do about it? 
>> Connection parameters work on SQL Server Studio.
>> 
>> I made a Dockerfile for that https://github.com/NINAnor/geoserver-sqlserver 
>> based on 
>> https://docs.geoserver.org/stable/en/user/data/database/sqlserver.html.
>
> I'm not particularly familiar with docker (besides running images made by 
> others, that is), tried to build this one and it failed with:

Thanks, I fixed it now. It was working with podman (a Docker alternative) but 
not with Docker itself.
I can confirm the problem is still there. No useful error even when changing 
the debug level.

My current workaround is to use PostGIS + Postgres foreign data wrapper and a 
materialized view to copy and expose the data. Not optimal, but it works 😊


Frafra

_______________________________________________
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