#1252: Thesaurus / GCMD keywords loading error
---------------------+------------------------------------------------------
Reporter: fxp | Owner: geonetwork-devel@…
Type: defect | Status: new
Priority: major | Milestone: v2.9.0
Component: General | Version: v2.8.0
Keywords: |
---------------------+------------------------------------------------------
I attempted to load the GCMD keywords (sciencekeywords.rdf) from
http://gcmdservices.gsfc.nasa.gov/static/kms/sciencekeywords/ using the
manage thesauri and got an error.
{{{
2013-03-21 13:53:56,484 ERROR [jeeves.service] - Exception when executing
service
2013-03-21 13:53:56,484 ERROR [jeeves.service] - (C) Exc :
org.openrdf.sesame.config.ConfigurationException:
org.openrdf.sesame.sail.SailInitializationException: Parse error on li
ne -1
2013-03-21 13:53:56,485 DEBUG [jeeves.service] - Raised exception while
executing service
<error id="error">
<message>org.openrdf.sesame.sail.SailInitializationException: Parse
error on line -1</message>
<class>ConfigurationException</class>
<stack>
<at class="org.openrdf.sesame.repository.local.LocalService"
file="LocalService.java" line="417" method="_createRepository" />
<at class="org.openrdf.sesame.repository.local.LocalService"
file="LocalService.java" line="238" method="getRepository" />
<at class="org.openrdf.sesame.repository.local.LocalService"
file="LocalService.java" line="298" method="createRepository" />
<at class="org.fao.geonet.kernel.ThesaurusManager"
file="ThesaurusManager.java" line="365" method="createThesaurusRepository"
/>
<at class="org.fao.geonet.kernel.ThesaurusManager"
file="ThesaurusManager.java" line="332" method="addThesaurus" />
<at class="org.fao.geonet.services.thesaurus.Upload"
file="Upload.java" line="244" method="UploadThesaurus" />
<at class="org.fao.geonet.services.thesaurus.Upload"
file="Upload.java" line="193" method="upload" />
}}}
removing in the file
{{{
<gcmd:termsOfUse xmlns:gcmd="http://gcmd.gsfc.nasa.gov/">See
http://gcmd.nasa.gov/r/l/TermsOfUse</gcmd:termsOfUse>
<gcmd:keywordVersion
xmlns:gcmd="http://gcmd.gsfc.nasa.gov/">7\.0</gcmd:keywordVersion>
<gcmd:schemeVersion xmlns:gcmd="http://gcmd.gsfc.nasa.gov/">2013\-03\-13
16:36:41</gcmd:schemeVersion>
}}}
fix the issue.
To be investigated why it's failing.
--
Ticket URL: <http://trac.osgeo.org/geonetwork/ticket/1252>
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.