Cannot update Global Settings via API when using JDBCConfig
Description
REST API /geoserver/rest/settings with following payload
works fine without jdbcconfig-plugin enabled, modifying global.xml as expected.
When JDBCConfig is enabled, the API fails with
with the server throwing the following exception:
If I execute the same API another time, the server stalls and times out after a full minute with the following error in addition to the Incorrect result size exception:
Environment
Running GeoServer (v2.19.2) and PostGIS (Postgres v13.3) docker containers from Kartoza.
Activity
Yuan, Erhhung
November 11, 2021 at 10:02 PM
I should add that the Postgres tables updated by the {{public.settings}} view were initially successfully populated during JDBCConfig import, but fail to update due to the above exception.
REST API
/geoserver/rest/settings
with following payloadworks fine without
jdbcconfig-plugin
enabled, modifyingglobal.xml
as expected.When
JDBCConfig
is enabled, the API fails withwith the server throwing the following exception:
If I execute the same API another time, the server stalls and times out after a full minute with the following error in addition to the
Incorrect result size
exception: