#1125: how to modify getCapabilities document without using the GN portal
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
I have 400K records (ISO19115) loaded into Geonetwork. I have implemented
all the recommendations in http://geonetwork-
opensource.org/manuals/trunk/users/admin/advanced-
configuration/index.html. I can access data via CSW requests, but I cannot
access the portal (timeout). In the immediate term, I would like to change
the GetCapabilities document without using the admin interface. How can I
do this ?
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125>
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.
#1125: how to modify getCapabilities document without using the GN portal
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
Comment(by jesseeichar):
You can edit the cswservercapabilitiesinfo table in the database directly.
When you say portal what url is it that is failing to load? main.home?
It is probably because it is trying to get the most popular and most
recent metadata and if a search takes 60 seconds then main.home will take
120 seconds or so. Certainly need to fix the search problem, it should be
able to handle 400,000 records without a problem.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125#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.
#1125: how to modify getCapabilities document without using the GN portal
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
Comment(by simonp):
If main.home then it is almost certainly the guiservice GetLatestUpdated -
it does a rather simple minded query (when large catalogs are used) on the
database which results in attempting to retrieve and sort all metadata ids
in metadata table by changeDate - this is fixed in 2.8.x to use Lucene
instead - however I thought that fix was also in 2.6.x? Seems not just by
looking at the code. Remove the guiservice GetLatestUpdated is an easy fix
as is taking the code from 2.8.x (for later) to put in 2.6.5
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125#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.
#1125: how to modify getCapabilities document without using the GN portal
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
Comment(by plcking):
Replying to [comment:2 simonp]:
> If main.home then it is almost certainly the guiservice GetLatestUpdated
- it does a rather simple minded query (when large catalogs are used) on
the database which results in attempting to retrieve and sort all metadata
ids in metadata table by changeDate - this is fixed in 2.8.x to use Lucene
instead - however I thought that fix was also in 2.6.x? Seems not just by
looking at the code. Remove the guiservice GetLatestUpdated is an easy fix
as is taking the code from 2.8.x (for later) to put in 2.6.5
How can I remove the guiservice GetLatestUpdated ? I cannot build the s/w
using maven due to numerous errors - I have to compile modified java files
in the tomcat directory of interest(CLASSPATH is setup properly to do
this). So, if I receive any new/modified java modules from you, I can
compile them properly.
When is v2.8 going to be available (war file) from http://geonetwork-
opensource.org/downloads.html ?
Pat
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125#comment:3>
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.
#1125: how to modify getCapabilities document without using the GN portal
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
Comment(by simonp):
Not sure which branch you are using but they all compile and build ok for
me (2.9.0 ie. trunk seems to have some bugs but that doesn't surprise me
as its under active dev) - maybe you have your own mods?
In any case, you don't need to do anything with Java to remove that
guiservice - edit webapps/geonetwork/WEB-INF/config.xml and comment out
the guiservice GetLatestUpdated in the service main.home (or wherever you
find it) - guiservices usually just create content and put it onto an
XPath for the presentation XSLTs - if the content from the guiservice
isn't there everything should still run (in this case the list of latest
records will be absent).
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125#comment:4>
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.
#1125: how to modify getCapabilities document without using the GN portal
----------------------------+-----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: Catalog server | Version: v2.6.4
Keywords: |
----------------------------+-----------------------------------------------
Comment(by plcking):
yes, removing the service solved the problem....thanks very much !...Pat
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125#comment:5>
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.
#1125: how to modify getCapabilities document without using the GN portal
-----------------------------+----------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
Type: defect | Status: closed
Priority: major | Milestone: v2.10.0 RC0
Component: Catalog server | Version: v2.6.4
Resolution: fixed | Keywords:
-----------------------------+----------------------------------------------
Changes (by fxp):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1125#comment:6>
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.