[GeoNetwork-devel] [GeoNetwork opensource Developer website] #1126: GN portal page will not load

#1126: GN portal page will not load
---------------------+------------------------------------------------------
Reporter: plcking | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | 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).

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1126&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1126: GN portal page will not load
----------------------+-----------------------------------------------------
  Reporter: plcking | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version: v2.6.4
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------
Changes (by plcking):

  * status: new => closed
  * resolution: => fixed

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1126#comment:1&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1126: GN portal page will not load
----------------------+-----------------------------------------------------
  Reporter: plcking | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version: v2.6.4
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by ianwallen):

It it was fixed - what is the fix - Is there a commit #?

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1126#comment:2&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1126: GN portal page will not load
----------------------+-----------------------------------------------------
  Reporter: plcking | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version: v2.6.4
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by plcking):

Replying to [comment:2 ianwallen]:
> It it was fixed - what is the fix - Is there a commit #?

********************************************

     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
   Changed 4 hours ago 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).
   Changed 99 minutes ago by plcking

yes, removing the service solved the problem....thanks very much !...Pat

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1126#comment:3&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.

#1126: GN portal page will not load
----------------------+-----------------------------------------------------
  Reporter: plcking | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.9.0
Component: General | Version: v2.6.4
Resolution: fixed | Keywords:
----------------------+-----------------------------------------------------

Comment(by simonp):

Best is to commit code from 2.8.x and later that fixes the
GetLatestUpdated service in 2.6.x so that it uses Lucene with a search
order on changeDate - this was done in commit
9ec3a4fdb24ba080d97a42d682bd7259a2545c55 just this morning.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1126#comment:4&gt;
GeoNetwork opensource Developer website <http://sourceforge.net/projects/geonetwork/&gt;
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.