Installing JDBCConfig¶
To install the JDBCConfig module:
-
Login, and navigate to About & Status > About GeoServer and check Build Information to determine the exact version of GeoServer you are running.
-
Visit the
website download <download>page, change the Development tab, and locate the nightly release that corresponds to the GeoServer you are running.Follow the Community Modules link and download
jdbcconfigzip archive.- {{ version }} example:
jdbcconfig
The website lists active nightly builds to provide feedback to developers, you may also browse for earlier branches.
- {{ version }} example:
-
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
jdbcconfigin 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, andimporttotrue, 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:
