Installing JDBCStoreΒΆ
To install the JDBCStore module:
Download the module: geoserver-2.27.x-jdbcstore-plugin.zip
The JDBCStore plug-in automatically includes the JDBCConfig plugin as well which will generally be run at the same time.
Extract this file and place the JARs in
WEB-INF/lib
.Perform any configuration required by your servlet container, and then restart. On startup, JDBCStore will create a configuration directory
jdbcstore
and JDBCConfig will create a configuration directoryjdbcconfig
in 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
, andimport
totrue
, 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
, andimport
totrue
, 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
.