[GeoNetwork-devel] [GeoNetwork opensource Developer website] #911: Z3950 Server not working correctly? Can't find collection (default or otherwise)?

#911: Z3950 Server not working correctly? Can't find collection (default or
otherwise)?
---------------------+------------------------------------------------------
Reporter: simonp | Owner: geonetwork-devel@…
     Type: defect | Status: new
Priority: major | Milestone: v2.8.0
Component: General | Version:
Keywords: |
---------------------+------------------------------------------------------
Reported by MurrayH

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/911&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.

#911: Z3950 Server not working correctly? Can't find collection (default or
otherwise)?
-------------------------+--------------------------------------------------
  Reporter: simonp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0
Component: General | Version:
Resolution: worksforme | Keywords:
-------------------------+--------------------------------------------------
Changes (by simonp):

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

Comment:

It does work from yaz-client (don't think the isite client is working):

eg. from yaz-client with sample data for iso19139 loaded:

open localhost:6668/geonetwork-local
f @attr 1=4 africa

Sometimes queries are not logged to search stats though - this should be
opened on a different ticket though.

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/911#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.

#911: Z3950 Server not working correctly? Can't find collection (default or
otherwise)?
-------------------------+--------------------------------------------------
  Reporter: simonp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0
Component: General | Version:
Resolution: worksforme | Keywords:
-------------------------+--------------------------------------------------

Comment(by murrayh):

I get the same errors with yaz-client (as I do with zclient). My
GeoNetwork instance has 27 iso19139.anzlic records. Looks like I need to
dig deeper.

$ yaz-client.exe
Z> open cdcvd-asrdcap1:2200/geonetwork-local f @attr 1=4 forecast
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 174
Name : GeoNetwork JZKit generic server / JZKit Meta Search Service
Version: 3.r260.geonetwork.patch.1
Options: search present delSet triggerResourceCtrl scan sort
extendedServices namedResultSets
Z> find forecast
Sent searchRequest.
Received SearchResponse.
Search was a bloomin' failure.
Number of hits: 0, setno 1
Result Set Status: none
records returned: 0
Diagnostic message(s) from database:
     [235] Database does not exist -- v2 addinfo 'Unknown Collection
geonetwork-local'
Z>

$ yaz-client.exe
Z> open cdcvd-asrdcap1:2200/geonetwork
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 174
Name : GeoNetwork JZKit generic server / JZKit Meta Search Service
Version: 3.r260.geonetwork.patch.1
Options: search present delSet triggerResourceCtrl scan sort
extendedServices namedResultSets
Z> find forecast
Sent searchRequest.
Received SearchResponse.
Search was a bloomin' failure.
Number of hits: 0, setno 1
Result Set Status: none
records returned: 0
Diagnostic message(s) from database:
     [2] Temporary system error -- v2 addinfo 'Unable to rewrite node.
Semantic action was set to strict, and t
here appears to be no valid alternatives for node null Single Term :
forecast attrs : {}'

--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/911#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.

Hi Murray,

Can you check WEB-INF/classes/JZKitConfig.xml.tem to see the collection codes (its the code attribute on the Collection element) for the local geonetwork server? (Doesn't look like geonetwork-local is registered from the output you are showing).

Also, can you switch on logging for jzkit and z3950 in WEB-INF/log4j.cfg? You should be able to see the preparation of JZKitConfig.xml and then jzkit registering the collections in this file as part of the start up process.

Cheers,
Simon
________________________________________
From: GeoNetwork opensource Developer website [trac_osgeo@anonymised.com]
Sent: Monday, 28 May 2012 1:17 PM
Subject: Re: [GeoNetwork-devel] [GeoNetwork opensource Developer website] #911: Z3950 Server not working correctly? Can't find collection (default or otherwise)?

#911: Z3950 Server not working correctly? Can't find collection (default or
otherwise)?
-------------------------+--------------------------------------------------
  Reporter: simonp | Owner: geonetwork-devel@…
      Type: defect | Status: closed
  Priority: major | Milestone: v2.8.0
Component: General | Version:
Resolution: worksforme | Keywords:
-------------------------+--------------------------------------------------

Comment(by murrayh):

I get the same errors with yaz-client (as I do with zclient). My
GeoNetwork instance has 27 iso19139.anzlic records. Looks like I need to
dig deeper.

$ yaz-client.exe
Z> open cdcvd-asrdcap1:2200/geonetwork-local f @attr 1=4 forecast
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 174
Name : GeoNetwork JZKit generic server / JZKit Meta Search Service
Version: 3.r260.geonetwork.patch.1
Options: search present delSet triggerResourceCtrl scan sort
extendedServices namedResultSets
Z> find forecast
Sent searchRequest.
Received SearchResponse.
Search was a bloomin' failure.
Number of hits: 0, setno 1
Result Set Status: none
records returned: 0
Diagnostic message(s) from database:
     [235] Database does not exist -- v2 addinfo 'Unknown Collection
geonetwork-local'
Z>

$ yaz-client.exe
Z> open cdcvd-asrdcap1:2200/geonetwork
Connecting...OK.
Sent initrequest.
Connection accepted by v3 target.
ID : 174
Name : GeoNetwork JZKit generic server / JZKit Meta Search Service
Version: 3.r260.geonetwork.patch.1
Options: search present delSet triggerResourceCtrl scan sort
extendedServices namedResultSets
Z> find forecast
Sent searchRequest.
Received SearchResponse.
Search was a bloomin' failure.
Number of hits: 0, setno 1
Result Set Status: none
records returned: 0
Diagnostic message(s) from database:
     [2] Temporary system error -- v2 addinfo 'Unable to rewrite node.
Semantic action was set to strict, and t
here appears to be no valid alternatives for node null Single Term :
forecast attrs : {}'

--
Ticket URL: <#911 (Z3950 Server not working correctly? Can't find collection (default or otherwise)?) – GeoNetwork opensource Developer website;
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.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
geonetwork-devel List Signup and Options
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork