Installing JDBCStoreΒΆ
To install the JDBCStore module:
Login, and navigate to and check Build Information to determine the exact version of GeoServer you are running.
Visit the website 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 jdbcstore zip archive.
3.0-SNAPSHOT example: geoserver-3.0-SNAPSHOT-jdbcstore-plugin.zip
The website lists active nightly builds to provide feedback to developers, you may also browse for earlier branches.
Extract the contents of the archive into the
WEB-INF/libdirectory in GeoServer.The JDBCStore plug-in includes the JDBCConfig plugin as well which will generally be run at the same time.
Perform any configuration required by your servlet container, and then restart.
On startup, JDBCStore will create a configuration directory
jdbcstoreand JDBCConfig will create a configuration directoryjdbcconfigin the GeoServer data directory .Verify that the configuration directories were created to be sure installation worked then turn off GeoServer.
If you want to use JDBCConfig as well, configure it first, being sure to set
enabled,initdb, andimporttotrue, and to provide the connection information for an empty database. Start GeoServer to initialize the JDBCConfig database, 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 injdbcconfig.properties.Now configure JDBCStore in a similar fashion (JDBCStore configuration), being sure to set
enabled,initdb, andimporttotrue, and to provide the connection information for an empty database. Start GeoServer again. This time JDBCStore will connect to the specified database, initialize it, import the old GeoServer data directory into it, and take over from the old GeoServer data directory. Subsequent start ups will skip the initialize and import steps unless you re-enable them injdbcstore.properties.