Installing JDBCConfig
To install the JDBCConfig module:
- Visit the website download page and download geoserver-2.24-SNAPSHOT-jdbcconfig-plugin.zip.
- Extract this file and place the JARs in
WEB-INF/lib
. - Perform any configuration required by your servlet container, and then restart. On startup, JDBCConfig will create a configuration directory
jdbcconfig
in the GeoServer data directory. - Verify that the configuration directory was created to be sure installation worked then turn off GeoServer.
- Configure JDBCConfig (JDBCConfig configuration), being sure to set
enabled
,initdb
, andimport
totrue
, and to provide the connection information for an empty database. - Start GeoServer again. This time JDBCConfig will connect to the specified database, initialize it, import the old catalog into it, and take over from the old catalog. Subsequent start ups will skip the initialize and import steps unless you re-enable them in
jdbcconfig.properties
. - Log in as admin and a message should appear on the welcome page: