Setting up a JNDI connection pool

Several recipes of this book use data stored in an RDBMS, in fact PostgreSQL, with the PostGIS spatial extension.

Configuring spatial data from a RDBMS in your GeoServer requires you to create a connection setting for several parameters from the admin web interface. Whatever database you are using, it may be useful to configure the connection using the Java Naming and Directory Interface (JNDI) standard.

How to do it…

  1. Stop your Tomcat using the following command:
    $ sudo service ...

Get GeoServer Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.