Installing JDBCConfigΒΆ

To install the JDBCConfig module:

  1. Download the module. The file name is called geoserver-*-jdbcconfig-plugin.zip, where * is the version/snapshot name.
  2. Extract this file and place the JARs in WEB-INF/lib.
  3. 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.
  4. Verify that the configuration directory was created to be sure installation worked then turn off GeoServer.
  5. Configure JDBCConfig (JDBCConfig configuration), being sure to set enabled, initdb, and import to true, and to provide the connection information for an empty database.
  6. 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.
  7. Log in as admin and a message should appear on the welcome page:
../../_images/h2message.png