Bonjour,
je cherche à moissonner une partie du géocatalogue, concernant les données
de l'IGN (BD et composantes).
Sur le géocatalogue, une recherche simple "IGN" permet d'obtenir les
métadonnées associées aux données de l'IGN.
J'utilise Geosource 2.3 (Tomcat6 et OracleS10g).
Je suis les instructions de ce
http://georezo.net/forum/viewtopic.php?id=63257 post pour paramétrer le
moissonnage.
A savoir:
Noeud CSW2.0
Nom: geocatalogue
URL:
http://www.geocatalogue.fr/api-public/servicesRest?request=GetCapabilities&service=CSW&version=2.0.2
csw.gif
compte utilisateur: [login+mot de passe d'adhérent geocatalogue]
Recherche>Texte libre: "IGN"
Fréquence: toutes les 8h
Groupes: "Groupe par défaut"
Pourtant, le moissonnage ne marche pas.
Sur un premier log "geonetwork.log", on constate que le moissonnage ne
marche pas:
2010-07-27 09:18:04,645 INFO [jeeves.service] - -> dispatching to output
for : xml.harvesting.update
2010-07-27 09:18:04,645 INFO [jeeves.service] - -> writing xml for :
xml.harvesting.update
2010-07-27 09:18:04,645 DEBUG [jeeves.service] - Service xml is :
<node id="610" type="csw">
<site>
<name>Geocatalogue</name>
<uuid>686b77be-ebd9-4a34-9f9d-47b702ff78a5</uuid>
<account>
<use>true</use>
<username>***</username>
<password>***</password>
</account>
<capabilitiesUrl>http://www.geocatalogue.fr/api-public/servicesRest?request=GetCapabilities&service=CSW&version=2.0.2</capabilitiesUrl>
<icon>csw.gif</icon>
</site>
<options>
<every>480</every>
<oneRunOnly>false</oneRunOnly>
<status>active</status>
</options>
<searches>
<search>
<freeText>IGN</freeText>
<title />
<abstract />
<subject />
</search>
</searches>
<privileges>
<group id="2">
<operation name="view" />
<operation name="dynamic" />
<operation name="featured" />
</group>
</privileges>
<info>
<lastRun />
<running>false</running>
<result>
<total>10</total>
<added>0</added>
<updated>0</updated>
<unchanged>0</unchanged>
<unknownSchema>0</unknownSchema>
<removed>0</removed>
<unretrievable>10</unretrievable>
</result>
</info>
</node>
Sur un deuxième log "stdout.log", l'erreur en cause "invalid cookie state"
est décrite sans que je ne comprenne son origine:
78604791 [http-8080-9] INFO jeeves.request -
78604791 [http-8080-9] INFO jeeves.request - HTML Request (from
172.17.41.212) : /geonetwork/srv/fr/xml.harvesting.run
78604791 [http-8080-9] DEBUG jeeves.request - Method : POST
78604791 [http-8080-9] DEBUG jeeves.request - Content type :
application/xml; charset=UTF-8
78604791 [http-8080-9] DEBUG jeeves.request - Accept :
text/javascript, text/html, application/xml, text/xml, */*
78604791 [http-8080-9] DEBUG jeeves.request - Session id is
D05757103DA568E432E7622F91A2EBA6
78604791 [http-8080-9] INFO jeeves.service - Dispatching :
xml.harvesting.run
78604806 [http-8080-9] DEBUG jeeves.service - -> parameters are :
<request>
<id>610</id>
</request>
78604822 [http-8080-9] INFO jeeves.service - -> dispatching to output
for : xml.harvesting.run
78604822 [http-8080-9] INFO jeeves.service - -> writing xml for :
xml.harvesting.run
78604822 [http-8080-9] DEBUG jeeves.service - Service xml is :
<response>
<id status="ok">610</id>
</response>
78604822 [http-8080-9] INFO jeeves.service - -> output ended for :
xml.harvesting.run
78604822 [http-8080-9] INFO jeeves.service - -> dispatch ended for :
xml.harvesting.run
78604837 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78605166 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78605181 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78605259 [Thread-51] WARN httpclient.HttpMethodBase - Going to buffer
response body of large or unknown size. Using getResponseBodyAsStream
instead is recommended.
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=1&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78605291 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78605291 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78605306 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=21&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78606791 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78606806 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78606806 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=41&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78608056 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78608056 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78608056 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=61&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78609650 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78609650 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78609650 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=81&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78611556 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78611572 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78611572 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=101&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78614009 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78614025 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78614025 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
GET
params:request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=121&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+%27IGN%27&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
78615681 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
78615681 [Thread-51] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
78615697 [Thread-51] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
J'ai essayé une méthode légèrement différente dans le paramétrage, en
plaçant un critère de recherche dans le champ "titre" (et plus "texte
libre") comme "composante". Là, le moissonnage se déroule sans erreurs mais
je ne récupère toujours pas de métadonnées: toutes les métadonnées sont
"unretrievable" dans le log de résultats.
Je n'ai pas de problèmes pour d'autres moissonnages de nœuds geonetwork. Je
rappelle que j'utilise la version geosource 2.3.
Je suis à la recherche de pistes pour résoudre ce problème.
Merci
Cordialement
Luc Clément
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5341141.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.