#732: MetadataNotifier keep one active DB connection
-------------------------+--------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: new
Priority: minor | Milestone: Future release
Component: General | Version:
Keywords: |
-------------------------+--------------------------------------------------
While settings the maxIdle parameter to 0 in the pool configuration, user
can find a permanent IDLE in transaction connection to the DB.
Looking at the relation used in the DB, we can notice that one connection
is always used by the !MetadataNotifier due to openDirect call:
{{{
dbms = (Dbms)
srvContext.getResourceManager().openDirect(Geonet.Res.MAIN_DB);
}}}
which pass the dbms to the metadata notifier threads and keep it until
GeoNetwork stops (!MetadataNotifierControl shutdown).
We could probably only open a db connection while the
!MetadataNotifierTask looks for changes to notify.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/732>
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.
#732: MetadataNotifier keep one active DB connection
--------------------------+-------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: closed
Priority: minor | Milestone: Future release
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by fxp):
* status: new => closed
* resolution: => fixed
Comment:
Committed revision 8578.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/732#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.
#732: MetadataNotifier keep one active DB connection
--------------------------+-------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: enhancement | Status: closed
Priority: minor | Milestone: v2.7.0
Component: General | Version:
Resolution: fixed | Keywords:
--------------------------+-------------------------------------------------
Changes (by ianwallen):
* milestone: Future release => v2.7.0
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/732#comment:2>
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.