#586: Geotools (with spatial db) and geonetwork database should use same pool and
add flexible JNDI
--------------------------------------------+-------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: major | Milestone: v2.7.0
Component: General | Version:
Keywords: Geotools, database connections |
--------------------------------------------+-------------------------------
Currently GeoNetwork uses two database connection pools if using spatial
database. Also JNDI option assumes tomcat Apache Commons DBCP. This patch
adds a more flexible JNDI provider and uses one connection pool via
Geotools.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/586>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.
#586: Geotools (with spatial db) and geonetwork database should use same pool and
add flexible JNDI
--------------------------+-------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
Type: enhancement | Status: closed
Priority: major | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords: Geotools, database connections
--------------------------+-------------------------------------------------
Changes (by simonp):
* status: new => closed
* resolution: => fixed
Comment:
Fixed in svn rev 8223 - JNDIPool.java (with example of how to use in WEB-
INF/config.xml) allows geotools and geonetwork to use the same database
pool with config in the container. JNDIPool also allows use of either
shapefile or database for spatial index via provideDataStore config
element - this is useful because at the moment we only support postgis for
spatialindex but if you wanted to put the spatialindex in another database
(eg. Oracle) then you can now add your own spatialindex table and then
config GeoNetwork to use it.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/586#comment:1>
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/>
GeoNetwork opensource is a standards based, Free and Open Source catalog application to manage spatially referenced resources through the web. It provides powerful metadata editing and search functions as well as an embedded interactive web map viewer. This website contains information related to the development of the software.