Netcdf extension misses the JNA jars, prevents server start up

Description

A fresh geoserver install + netcdf installation of 2.15-M0 in Debian Linux fails to start while the same config in 2.14.x works.

To reproduce:

  • $ java -version
    java version "1.8.0_191"
    Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)

  • install geoserver 2.15-M0

  • install netcdf extension

run bin/startup.sh

Geoserver fails to start giving following messages:

Environment

None

Activity

Show:
Andrea Aime
January 15, 2019, 8:38 AM

Again, not a 1-1 test, just what I can do real quick, but http://cloudsdi.geo-solutions.it/geoserver/index.html is deployed 3 times a day off the dev branch nightly packages and includes the NetCDF plugin. Linux server, no startup issues there.
Looks like in your deploy the "jna" jars are missing?

Ah, I think I know what's going on. On that server we have the netcdf-out plugged in as well, that includes the jna jar, but the netcdf reader plugin does not. I'll update the ticket title accordingly.

Richard Duivenvoorde
January 22, 2019, 5:44 PM

Confirmed here: packaging issue.

If I download current nightly and only install the netcdf (input) extension, GS will not start because of lack of jna.jar

Adding the jna-4.2.2.jar from the netcdf-output extension (or the full extension) fixes this.

Close this?

Daniele Romagnoli
February 8, 2019, 9:54 AM

I'm going to include that jar on netcdf extension too since people may want to install the "input" extension only without the netcdf-out part.

Fixed

Assignee

Daniele Romagnoli

Reporter

Richard Duivenvoorde

Triage

Fix versions

Affects versions

Components

Priority

Medium
Configure