Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#1126 closed defect (fixed)

GN portal page will not load

Reported by: plcking Owned by: geonetwork-devel@…
Priority: major Milestone: v2.10.0 RC0
Component: General Version: v2.6.4
Keywords: Cc:

Description

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).

Change History (4)

comment:1 by plcking, 12 years ago

Resolution: fixed
Status: newclosed

comment:2 by ianwallen, 12 years ago

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

in reply to:  2 comment:3 by plcking, 12 years ago

Replying to 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

comment:4 by simonp, 12 years ago

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.

Note: See TracTickets for help on using tickets.