[GeoNetwork-users-fr] CSW et Geocatalogue - Invalid cookie state

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&amp;service=CSW&amp;version=2.0.2&lt;/capabilitiesUrl&gt;
    <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.

Est-ce que le message précédent concernant le moissonnage du géocatalogue
traduit un problème provoqué par la mauvaise prise en compte du profil
français pour les espaces de nommage?

Est-ce que le patch "98-csw-iso-profil-fra.patch" peut résoudre ce problème?
Ou placer ce patch?

Merci

Cordialement
Luc Clément
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5341151.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

Bonjour,

2010/7/27 lucclement <luc.clement@anonymised.com>:

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]

Le login et mot de passe ici ne sont pas ceux de l'adhérent mais ceux
à utiliser dans le cas d'un service CSW protégé par une
authentification basique (ce qui n'est pas le cas du service
geocatalogue). Peut-être la cause de votre problème ?

Salutations.

Francois

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&amp;service=CSW&amp;version=2.0.2&lt;/capabilitiesUrl&gt;
<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.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
GeoNetwork-users-fr mailing list
GeoNetwork-users-fr@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users-fr

Bonjour

Francois Prunayre wrote:

Le login et mot de passe ici ne sont pas ceux de l'adhérent mais ceux
à utiliser dans le cas d'un service CSW protégé par une
authentification basique (ce qui n'est pas le cas du service
geocatalogue). Peut-être la cause de votre problème ?

Salutations.

Francois

Merci pour cette indication. Cela me permet de clarifier un peu le
paramétrage.

J'utilise un proxy dont le fichier de paramétrage est de type .pac. J'ai
récupéré l'URL et le port. Et j'ai paramétré le système en conséquence.

L'erreur persiste au lancement du moissonnage:

96731565 [http-8080-6] INFO jeeves.request -

96731565 [http-8080-6] INFO jeeves.request - HTML Request (from
172.17.41.212) : /geonetwork/srv/fr/xml.harvesting.run
96731565 [http-8080-6] DEBUG jeeves.request - Method : POST
96731565 [http-8080-6] DEBUG jeeves.request - Content type :
application/xml; charset=UTF-8
96731565 [http-8080-6] DEBUG jeeves.request - Accept :
text/javascript, text/html, application/xml, text/xml, */*
96731565 [http-8080-6] DEBUG jeeves.request - Session id is
EF5D2EA80CD59F6809964421CA4F8CB5
96731565 [http-8080-6] INFO jeeves.service - Dispatching :
xml.harvesting.run
96731565 [http-8080-6] DEBUG jeeves.service - -> parameters are :
<request>
  <id>1353</id>
</request>

96731597 [http-8080-6] INFO jeeves.service - -> dispatching to output
for : xml.harvesting.run
96731597 [http-8080-6] INFO jeeves.service - -> writing xml for :
xml.harvesting.run
96731597 [http-8080-6] DEBUG jeeves.service - Service xml is :

<response>
  <id status="ok">1353</id>
</response>

96731597 [http-8080-6] INFO jeeves.service - -> output ended for :
xml.harvesting.run
96731597 [http-8080-6] INFO jeeves.service - -> dispatch ended for :
xml.harvesting.run

96731612 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96739706 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96739706 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96748456 [Thread-70] 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

96748502 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96751377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96751377 [Thread-70] 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

96754737 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96756377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96756377 [Thread-70] 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

96758643 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96760377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96760377 [Thread-70] 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

96765893 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96767377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96767377 [Thread-70] 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

96774768 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96776377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96776377 [Thread-70] 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

96779377 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96780377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96780377 [Thread-70] 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

96784127 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96785377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96785377 [Thread-70] 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=141&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

De même lorsque je rafraîchi la fenêtre de gestion du moissonnage, l'icône
d'erreur apparait avec le résumé de l'erreur suivante:

<error id="operation-aborted">
      <message>Raised exception when searching</message>
      <class>OperationAbortedEx</class>
      <stack>
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="417" method="doSearch" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="243" method="search" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="85" method="harvest" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester"
file="CswHarvester.java" line="211" method="doHarvest" />
        <at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWithIndexProcessor"
file="AbstractHarvester.java" line="371" method="process" />
        <at class="org.fao.geonet.kernel.MetadataIndexerProcessor"
file="MetadataIndexerProcessor.java" line="39"
method="processWithFastIndexing" />
        <at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester"
file="AbstractHarvester.java" line="398" method="harvest" />
        <at class="org.fao.geonet.kernel.harvest.harvester.Executor"
file="Executor.java" line="87" method="run" />
      </stack>
      org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
    </error>

Je suis sérieusement à 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-tp5341141p5341962.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

Bonjour

Francois Prunayre wrote:

Le login et mot de passe ici ne sont pas ceux de l'adhérent mais ceux
à utiliser dans le cas d'un service CSW protégé par une
authentification basique (ce qui n'est pas le cas du service
geocatalogue). Peut-être la cause de votre problème ?

Salutations.

Francois

Merci pour cette indication. Cela me permet de clarifier un peu le
paramétrage.

J'utilise un proxy dont le fichier de paramétrage est de type .pac. J'ai
récupéré l'URL et le port. Et j'ai paramétré le système en conséquence.

L'erreur persiste au lancement du moissonnage:

96731565 [http-8080-6] INFO jeeves.request -

96731565 [http-8080-6] INFO jeeves.request - HTML Request (from
172.17.41.212) : /geonetwork/srv/fr/xml.harvesting.run
96731565 [http-8080-6] DEBUG jeeves.request - Method : POST
96731565 [http-8080-6] DEBUG jeeves.request - Content type :
application/xml; charset=UTF-8
96731565 [http-8080-6] DEBUG jeeves.request - Accept :
text/javascript, text/html, application/xml, text/xml, */*
96731565 [http-8080-6] DEBUG jeeves.request - Session id is
EF5D2EA80CD59F6809964421CA4F8CB5
96731565 [http-8080-6] INFO jeeves.service - Dispatching :
xml.harvesting.run
96731565 [http-8080-6] DEBUG jeeves.service - -> parameters are :
<request>
  <id>1353</id>
</request>

96731597 [http-8080-6] INFO jeeves.service - -> dispatching to output
for : xml.harvesting.run
96731597 [http-8080-6] INFO jeeves.service - -> writing xml for :
xml.harvesting.run
96731597 [http-8080-6] DEBUG jeeves.service - Service xml is :

<response>
  <id status="ok">1353</id>
</response>

96731597 [http-8080-6] INFO jeeves.service - -> output ended for :
xml.harvesting.run
96731597 [http-8080-6] INFO jeeves.service - -> dispatch ended for :
xml.harvesting.run

96731612 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96739706 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96739706 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96748456 [Thread-70] 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

96748502 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96751377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96751377 [Thread-70] 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

96754737 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96756377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96756377 [Thread-70] 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

96758643 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96760377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96760377 [Thread-70] 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

96765893 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96767377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96767377 [Thread-70] 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

96774768 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96776377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96776377 [Thread-70] 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

96779377 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96780377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96780377 [Thread-70] 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

96784127 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96785377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96785377 [Thread-70] 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=141&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

De même lorsque je rafraîchi la fenêtre de gestion du moissonnage, l'icône
d'erreur apparait avec le résumé de l'erreur suivante:

<error id="operation-aborted">
      <message>Raised exception when searching</message>
      <class>OperationAbortedEx</class>
      <stack>
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="417" method="doSearch" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="243" method="search" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="85" method="harvest" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester"
file="CswHarvester.java" line="211" method="doHarvest" />
        <at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWithIndexProcessor"
file="AbstractHarvester.java" line="371" method="process" />
        <at class="org.fao.geonet.kernel.MetadataIndexerProcessor"
file="MetadataIndexerProcessor.java" line="39"
method="processWithFastIndexing" />
        <at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester"
file="AbstractHarvester.java" line="398" method="harvest" />
        <at class="org.fao.geonet.kernel.harvest.harvester.Executor"
file="Executor.java" line="87" method="run" />
      </stack>
      org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
    </error>

Je suis sérieusement à 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-tp5341141p5341966.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

Re.

L'erreur </stack>
     org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
   </error>
indique qu'il y a une métadonnée qui pose problème côté serveur CSW
(ie. geocatalogue.fr). A savoir laquelle ?

Tester l'URL suivante [1].

Dans ce cas GeoNetwork abandonne le moissonnage et annule l'opération.

Salutations.

Francois

[1] http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=301&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+'ign'&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata

2010/7/27 lucclement <luc.clement@anonymised.com>:

Bonjour

Francois Prunayre wrote:

Le login et mot de passe ici ne sont pas ceux de l'adhérent mais ceux
à utiliser dans le cas d'un service CSW protégé par une
authentification basique (ce qui n'est pas le cas du service
geocatalogue). Peut-être la cause de votre problème ?

Salutations.

Francois

Merci pour cette indication. Cela me permet de clarifier un peu le
paramétrage.

J'utilise un proxy dont le fichier de paramétrage est de type .pac. J'ai
récupéré l'URL et le port. Et j'ai paramétré le système en conséquence.

L'erreur persiste au lancement du moissonnage:

96731565 [http-8080-6] INFO jeeves.request -

96731565 [http-8080-6] INFO jeeves.request - HTML Request (from
172.17.41.212) : /geonetwork/srv/fr/xml.harvesting.run
96731565 [http-8080-6] DEBUG jeeves.request - Method : POST
96731565 [http-8080-6] DEBUG jeeves.request - Content type :
application/xml; charset=UTF-8
96731565 [http-8080-6] DEBUG jeeves.request - Accept :
text/javascript, text/html, application/xml, text/xml, */*
96731565 [http-8080-6] DEBUG jeeves.request - Session id is
EF5D2EA80CD59F6809964421CA4F8CB5
96731565 [http-8080-6] INFO jeeves.service - Dispatching :
xml.harvesting.run
96731565 [http-8080-6] DEBUG jeeves.service - -> parameters are :
<request>
<id>1353</id>
</request>

96731597 [http-8080-6] INFO jeeves.service - -> dispatching to output
for : xml.harvesting.run
96731597 [http-8080-6] INFO jeeves.service - -> writing xml for :
xml.harvesting.run
96731597 [http-8080-6] DEBUG jeeves.service - Service xml is :

<response>
<id status="ok">1353</id>
</response>

96731597 [http-8080-6] INFO jeeves.service - -> output ended for :
xml.harvesting.run
96731597 [http-8080-6] INFO jeeves.service - -> dispatch ended for :
xml.harvesting.run

96731612 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96739706 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96739706 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96748456 [Thread-70] 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

96748502 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96751377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96751377 [Thread-70] 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

96754737 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96756377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96756377 [Thread-70] 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

96758643 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96760377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96760377 [Thread-70] 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

96765893 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96767377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96767377 [Thread-70] 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

96774768 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96776377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96776377 [Thread-70] 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

96779377 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96780377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96780377 [Thread-70] 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

96784127 [Thread-70] WARN cookie.CookieSpec - Invalid cookie state: domain
not specified
96785377 [Thread-70] INFO auth.AuthChallengeProcessor - Basic
authentication scheme selected
96785377 [Thread-70] 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=141&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

De même lorsque je rafraîchi la fenêtre de gestion du moissonnage, l'icône
d'erreur apparait avec le résumé de l'erreur suivante:

<error id="operation-aborted">
<message>Raised exception when searching</message>
<class>OperationAbortedEx</class>
<stack>
<at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="417" method="doSearch" />
<at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="243" method="search" />
<at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="85" method="harvest" />
<at class="org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester"
file="CswHarvester.java" line="211" method="doHarvest" />
<at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWithIndexProcessor"
file="AbstractHarvester.java" line="371" method="process" />
<at class="org.fao.geonet.kernel.MetadataIndexerProcessor"
file="MetadataIndexerProcessor.java" line="39"
method="processWithFastIndexing" />
<at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester"
file="AbstractHarvester.java" line="398" method="harvest" />
<at class="org.fao.geonet.kernel.harvest.harvester.Executor"
file="Executor.java" line="87" method="run" />
</stack>
org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
</error>

Je suis sérieusement à 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-tp5341141p5341962.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
GeoNetwork-users-fr mailing list
GeoNetwork-users-fr@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users-fr

Bonjour,

merci François.

Francois Prunayre wrote:

L'erreur </stack>
     org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
   </error>
indique qu'il y a une métadonnée qui pose problème côté serveur CSW
(ie. geocatalogue.fr). A savoir laquelle ?

Tester l'URL suivante [1].

Dans ce cas GeoNetwork abandonne le moissonnage et annule l'opération.

[1]
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=301&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+'ign'&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata

Est-ce que tu parle de tester l'URL ci-dessus avec la fonction
d'administration "CSW ISO Profile Test"?
Dans ce cas, à cette URL, le texte XML correspondant est:

<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW" version="2.0.2">
    <csw:Query typeNames="csw:Record">
        <csw:Constraint version="1.1.0">
            <Filter xmlns="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot;/&gt;
        </csw:Constraint>
    </csw:Query>
</csw:GetRecords>

Lorsque j'envoie cette requête la réponse est la suivante:
<?xml version="1.0" encoding="UTF-8"?>
<ok />

Cela voudrait dire qu'il y a possibilité de moissonner la fiche de
métadonnées concernée par l'URL?!

Cependant, en ouvrant une fiche de métadonnée du géocatalogue conernée par
mon moissonnage, je retrouve des espaces de nommages inédits: "ns1" "ns2"
"ns3" et "ns4". Toutefois, ces espaces de nommages sont définis à des URI
classiques (http://http://www.isotc211.org/2005/gmd; ~/gco; ~/gts ...).

Je pense qu'il doit y avoir un problème de prise en compte de ces espaces de
nommage pour le service csw de geosource 2.3... Est-ce que le patch:
"98-csw-iso-profil-fra.patch" a quelque chose à voir avec la résolution de
ce problème?

En testant un import classique d'une telle fiche de métadonnée soumis à
validation: pas de problème mis à part qu'il laisse le libéllé de l'espace
de nommage dans les libéllés de titre de la fiche de métadonnée qui sont
d'ailleurs en anglais(metadata.show). Par exemple: "ns4:identificationInfo"
. Ainsi, en l'absence de réglages supplémentaires,ma version 2.3 de
geosource n'a vraiment pas l'air de reconnaître ces espaces de nommages.

Est-ce bien un problème d'espaces de nommage ou bien le résultat du test CSW
montre qu'il s'agit d'un problème de paramétrage système (ou autre)? Comment
en venir à bout?

Merci de votre aide

Luc Clément

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5342530.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

En testant la requête [1] dans le navigateur, j'obtiens les XML des
métadonnées qui m'intéressent avec des espaces de nommage standards "gmd,
gco...". En testant la requête dans la fonction d'administration "gestion du
moissonnage", elle ne fonctionne pas ca l'URL dépasse 200 caractères...
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5342610.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

Bonjour,

Nous avons corrigé les fiches qui posaient problème. A présent la requête [1] fonctionne.

Etienne TAFFOUREAU, BRGM

-----Message d'origine-----
De : lucclement [mailto:luc.clement@anonymised.com]
Envoyé : mardi 27 juillet 2010 17:01
À : geonetwork-users-fr@lists.sourceforge.net
Objet : Re: [GeoNetwork-users-fr] CSW et Geocatalogue - Invalid cookie state

Bonjour,

merci François.

Francois Prunayre wrote:

L'erreur </stack>
     org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
   </error>
indique qu'il y a une métadonnée qui pose problème côté serveur CSW
(ie. geocatalogue.fr). A savoir laquelle ?

Tester l'URL suivante [1].

Dans ce cas GeoNetwork abandonne le moissonnage et annule l'opération.

[1]
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&
service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dh
ttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhtt
p%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2F
xml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosit
ion=301&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

Est-ce que tu parle de tester l'URL ci-dessus avec la fonction d'administration "CSW ISO Profile Test"?
Dans ce cas, à cette URL, le texte XML correspondant est:

<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW" version="2.0.2">
    <csw:Query typeNames="csw:Record">
        <csw:Constraint version="1.1.0">
            <Filter xmlns="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot;/&gt;
        </csw:Constraint>
    </csw:Query>
</csw:GetRecords>

Lorsque j'envoie cette requête la réponse est la suivante:
<?xml version="1.0" encoding="UTF-8"?>
<ok />

Cela voudrait dire qu'il y a possibilité de moissonner la fiche de métadonnées concernée par l'URL?!

Cependant, en ouvrant une fiche de métadonnée du géocatalogue conernée par mon moissonnage, je retrouve des espaces de nommages inédits: "ns1" "ns2"
"ns3" et "ns4". Toutefois, ces espaces de nommages sont définis à des URI classiques (http://http://www.isotc211.org/2005/gmd; ~/gco; ~/gts ...).

Je pense qu'il doit y avoir un problème de prise en compte de ces espaces de nommage pour le service csw de geosource 2.3... Est-ce que le patch:
"98-csw-iso-profil-fra.patch" a quelque chose à voir avec la résolution de ce problème?

En testant un import classique d'une telle fiche de métadonnée soumis à
validation: pas de problème mis à part qu'il laisse le libéllé de l'espace de nommage dans les libéllés de titre de la fiche de métadonnée qui sont d'ailleurs en anglais(metadata.show). Par exemple: "ns4:identificationInfo"
. Ainsi, en l'absence de réglages supplémentaires,ma version 2.3 de geosource n'a vraiment pas l'air de reconnaître ces espaces de nommages.

Est-ce bien un problème d'espaces de nommage ou bien le résultat du test CSW montre qu'il s'agit d'un problème de paramétrage système (ou autre)? Comment en venir à bout?

Merci de votre aide

Luc Clément

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5342530.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
GeoNetwork-users-fr mailing list
GeoNetwork-users-fr@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users-fr
**********************************************************************************************
Pensez a l'environnement avant d'imprimer ce message
Think Environment before printing

Le contenu de ce mel et de ses pieces jointes est destine a l'usage exclusif du (des) destinataire(s) designe
(s) comme tel(s).
En cas de reception par erreur, le signaler e son expediteur et ne pas en divulguer le contenu.
L'absence de virus a ete verifiee e l'emission, il convient neanmoins de s'assurer de l'absence de
contamination a sa reception.

The contents of this email and any attachments are confidential. They are intended for the named recipient
(s) only.
If you have received this email in error please notify the system manager or the sender immediately and do
not disclose the contents to anyone or make copies.
eSafe scanned this email for viruses, vandals and malicious content.
**********************************************************************************************

Bonjour,

Avez-vous testé le moissonnage suite à cette correction?

Etienne

-----Message d'origine-----
De : Taffoureau Etienne
Envoyé : mardi 27 juillet 2010 17:29
À : 'lucclement'; geonetwork-users-fr@lists.sourceforge.net
Objet : RE: [GeoNetwork-users-fr] CSW et Geocatalogue - Invalid cookie state

Bonjour,

Nous avons corrigé les fiches qui posaient problème. A présent la requête [1] fonctionne.

Etienne TAFFOUREAU, BRGM

-----Message d'origine-----
De : lucclement [mailto:luc.clement@anonymised.com] Envoyé : mardi 27 juillet 2010 17:01 À : geonetwork-users-fr@lists.sourceforge.net
Objet : Re: [GeoNetwork-users-fr] CSW et Geocatalogue - Invalid cookie state

Bonjour,

merci François.

Francois Prunayre wrote:

L'erreur </stack>
     org.fao.geonet.csw.common.exceptions.NoApplicableCodeEx:
code=NoApplicableCode, locator=, message=Error while metadata mapping
   </error>
indique qu'il y a une métadonnée qui pose problème côté serveur CSW
(ie. geocatalogue.fr). A savoir laquelle ?

Tester l'URL suivante [1].

Dans ce cas GeoNetwork abandonne le moissonnage et annule l'opération.

[1]
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&
service=CSW&version=2.0.2&resultType=results&namespace=xmlns%28csw%3Dh
ttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2%29%2Cxmlns%28gmd%3Dhtt
p%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2F
xml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosit
ion=301&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

Est-ce que tu parle de tester l'URL ci-dessus avec la fonction d'administration "CSW ISO Profile Test"?
Dans ce cas, à cette URL, le texte XML correspondant est:

<?xml version="1.0"?>
<csw:GetRecords xmlns:csw="http://www.opengis.net/cat/csw/2.0.2&quot;
service="CSW" version="2.0.2">
    <csw:Query typeNames="csw:Record">
        <csw:Constraint version="1.1.0">
            <Filter xmlns="http://www.opengis.net/ogc&quot;
xmlns:gml="http://www.opengis.net/gml&quot;/&gt;
        </csw:Constraint>
    </csw:Query>
</csw:GetRecords>

Lorsque j'envoie cette requête la réponse est la suivante:
<?xml version="1.0" encoding="UTF-8"?>
<ok />

Cela voudrait dire qu'il y a possibilité de moissonner la fiche de métadonnées concernée par l'URL?!

Cependant, en ouvrant une fiche de métadonnée du géocatalogue conernée par mon moissonnage, je retrouve des espaces de nommages inédits: "ns1" "ns2"
"ns3" et "ns4". Toutefois, ces espaces de nommages sont définis à des URI classiques (http://http://www.isotc211.org/2005/gmd; ~/gco; ~/gts ...).

Je pense qu'il doit y avoir un problème de prise en compte de ces espaces de nommage pour le service csw de geosource 2.3... Est-ce que le patch:
"98-csw-iso-profil-fra.patch" a quelque chose à voir avec la résolution de ce problème?

En testant un import classique d'une telle fiche de métadonnée soumis à
validation: pas de problème mis à part qu'il laisse le libéllé de l'espace de nommage dans les libéllés de titre de la fiche de métadonnée qui sont d'ailleurs en anglais(metadata.show). Par exemple: "ns4:identificationInfo"
. Ainsi, en l'absence de réglages supplémentaires,ma version 2.3 de geosource n'a vraiment pas l'air de reconnaître ces espaces de nommages.

Est-ce bien un problème d'espaces de nommage ou bien le résultat du test CSW montre qu'il s'agit d'un problème de paramétrage système (ou autre)? Comment en venir à bout?

Merci de votre aide

Luc Clément

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5342530.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://ad.doubleclick.net/clk;226879339;13503038;l?
http://clk.atdmt.com/CRS/go/247765532/direct/01/
_______________________________________________
GeoNetwork-users-fr mailing list
GeoNetwork-users-fr@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users-fr
**********************************************************************************************
Pensez a l'environnement avant d'imprimer ce message
Think Environment before printing

Le contenu de ce mel et de ses pieces jointes est destine a l'usage exclusif du (des) destinataire(s) designe
(s) comme tel(s).
En cas de reception par erreur, le signaler e son expediteur et ne pas en divulguer le contenu.
L'absence de virus a ete verifiee e l'emission, il convient neanmoins de s'assurer de l'absence de
contamination a sa reception.

The contents of this email and any attachments are confidential. They are intended for the named recipient
(s) only.
If you have received this email in error please notify the system manager or the sender immediately and do
not disclose the contents to anyone or make copies.
eSafe scanned this email for viruses, vandals and malicious content.
**********************************************************************************************

Bonjour,

merci pour ces corrections.

J'ai testé la requête suivante dans le navigateur directement d'abord:
[1] :
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=301&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+'ign'&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhtt
p%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=301&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

Elle fonctionne correctement lorsque on la lance dans la barre d'adresse du
navigateur et retourne toutes les fiches de métadonnées selon les critères
souhaités ("ign" en texte libre et position du 301 au 321ème résultat).

Cependant, cette requête [1] dépasse les 200 caractères, limitation imposée
par le champ "capabilities url".

En enlevant les paramètres facultatifs de la requête [1] (position des
résultats) on obtient la requête [2] et en indiquant "ign" dans le champ
"texte libre", la requête dépasse toujours 200 caractères:

[2]:
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementSetName=summary&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementSetName=summary&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata

Je n'ai donc pas pu tester dans Geosource la première requête.

Dois-je effectivement utiliser la requête "Getrecords" [1] ou [2] dans le
champ capabilities url de l'interface de gestion du moissonnage?

Existe-t-il un moyen d'échapper à la restriction des 200 caractères?

Merci pour votre suivi.

Cordialement

Luc Clément
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5367273.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

Bonjour,

Dans le champ Getcapabilities URL vous devez saisir l'URL suivante : http://www.geocatalogue.fr/api-public/servicesRest?request=GetCapabilities&service=CSW&version=2.0.2

Cdlt
Etienne

-----Message d'origine-----
De : lucclement [mailto:luc.clement@anonymised.com]
Envoyé : mardi 3 août 2010 09:49
À : geonetwork-users-fr@lists.sourceforge.net
Objet : Re: [GeoNetwork-users-fr] CSW et Geocatalogue - Invalid cookie state

Bonjour,

merci pour ces corrections.

J'ai testé la requête suivante dans le navigateur directement d'abord:
[1] :
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=301&maxRecords=20&elementSetName=summary&constraint=csw%3AAnyText+%3D+'ign'&constraintLanguage=CQL_TEXT&constraint_language_version=1.1.0&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhtt
p%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd%29&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&startPosition=301&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

Elle fonctionne correctement lorsque on la lance dans la barre d'adresse du navigateur et retourne toutes les fiches de métadonnées selon les critères souhaités ("ign" en texte libre et position du 301 au 321ème résultat).

Cependant, cette requête [1] dépasse les 200 caractères, limitation imposée par le champ "capabilities url".

En enlevant les paramètres facultatifs de la requête [1] (position des
résultats) on obtient la requête [2] et en indiquant "ign" dans le champ "texte libre", la requête dépasse toujours 200 caractères:

[2]:
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementSetName=summary&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata
http://www.geocatalogue.fr/api-public/servicesRest?request=GetRecords&service=CSW&version=2.0.2&resultType=results&namespace=xmlns(csw%3Dhttp%3A%2F%2Fwww.opengis.net%2Fcat%2Fcsw%2F2.0.2)%2Cxmlns(gmd%3Dhttp%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd)&outputFormat=application%2Fxml&outputSchema=http%3A%2F%2Fwww.isotc211.org%2F2005%2Fgmd&elementSetName=summary&typeNames=csw%3ARecord%2Cgmd%3AMD_Metadata

Je n'ai donc pas pu tester dans Geosource la première requête.

Dois-je effectivement utiliser la requête "Getrecords" [1] ou [2] dans le champ capabilities url de l'interface de gestion du moissonnage?

Existe-t-il un moyen d'échapper à la restriction des 200 caractères?

Merci pour votre suivi.

Cordialement

Luc Clément
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5367273.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
GeoNetwork-users-fr mailing list
GeoNetwork-users-fr@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users-fr
**********************************************************************************************
Pensez a l'environnement avant d'imprimer ce message
Think Environment before printing

Le contenu de ce mel et de ses pieces jointes est destine a l'usage exclusif du (des) destinataire(s) designe
(s) comme tel(s).
En cas de reception par erreur, le signaler e son expediteur et ne pas en divulguer le contenu.
L'absence de virus a ete verifiee e l'emission, il convient neanmoins de s'assurer de l'absence de
contamination a sa reception.

The contents of this email and any attachments are confidential. They are intended for the named recipient
(s) only.
If you have received this email in error please notify the system manager or the sender immediately and do
not disclose the contents to anyone or make copies.
eSafe scanned this email for viruses, vandals and malicious content.
**********************************************************************************************

Bonjour,

merci.

Je n'arrive toujours pas à moissonner.
Je configure le moissonnage: le champ capabilities url, le champ texte libre
Au lancement du moissonnage du géocatalogue avec un critère de recherche
"rge", une erreur se produit:

2010-08-04 12:01:48,393 INFO [jeeves.request] -

2010-08-04 12:01:48,393 INFO [jeeves.request] - HTML Request (from
172.17.41.212) : /geonetwork/srv/fr/xml.harvesting.run
2010-08-04 12:01:48,393 DEBUG [jeeves.request] - Method : POST
2010-08-04 12:01:48,393 DEBUG [jeeves.request] - Content type :
application/xml; charset=UTF-8
2010-08-04 12:01:48,393 DEBUG [jeeves.request] - Accept :
text/javascript, text/html, application/xml, text/xml, */*
2010-08-04 12:01:48,393 DEBUG [jeeves.request] - Session id is
7D47AD40918821D2E6BEC086DAC14B3C
2010-08-04 12:01:48,393 INFO [jeeves.service] - Dispatching :
xml.harvesting.run
2010-08-04 12:01:48,393 DEBUG [jeeves.service] - -> parameters are :
<request>
  <id>1611</id>
</request>
2010-08-04 12:01:48,393 ERROR [jeeves.dbmspool] - reconnecting: 16984>=1 ms
since last connection
2010-08-04 12:01:48,799 DEBUG [jeeves.resources] - ORACLE is using
TRANSACTION_READ_COMMITTED
2010-08-04 12:01:48,862 ERROR [jeeves.dbmspool] - reconnecting: 1080096>=1
ms since last connection
2010-08-04 12:01:48,893 INFO [jeeves.service] - -> dispatching to output
for : xml.harvesting.run
2010-08-04 12:01:48,893 INFO [jeeves.service] - -> writing xml for :
xml.harvesting.run
2010-08-04 12:01:48,893 DEBUG [jeeves.service] - Service xml is :
<response>
  <id status="ok">1611</id>
</response>
2010-08-04 12:01:48,893 INFO [jeeves.service] - -> output ended for :
xml.harvesting.run
2010-08-04 12:01:48,893 INFO [jeeves.service] - -> dispatch ended for :
xml.harvesting.run
2010-08-04 12:01:50,221 DEBUG [jeeves.resources] - ORACLE is using
TRANSACTION_READ_COMMITTED
2010-08-04 12:01:59,018 WARN [geonetwork.harvester] - Raised exception when
searching : org.jdom.input.JDOMParseException: Error on line 22: The element
type "HR" must be terminated by the matching end-tag "</HR>".
2010-08-04 12:01:59,018 WARN [geonetwork.harvester] - Raised exception
while harvesting from : geocat (CswHarvester)
2010-08-04 12:01:59,018 WARN [geonetwork.harvester] - (C) Class :
OperationAbortedEx
2010-08-04 12:01:59,018 WARN [geonetwork.harvester] - (C) Message : Raised
exception when searching
2010-08-04 12:02:38,017 WARN [geonetwork.harvester] - Raised exception
while getting record : java.lang.NullPointerException

Et lorsque je rafraîchi l'interface de gestion du moissonnage:

2010-08-04 12:04:24,672 INFO [jeeves.request] -

2010-08-04 12:04:24,672 INFO [jeeves.request] - HTML Request (from
172.17.41.212) : /geonetwork/srv/fr/xml.harvesting.get
2010-08-04 12:04:24,672 DEBUG [jeeves.request] - Method : POST
2010-08-04 12:04:24,672 DEBUG [jeeves.request] - Content type :
application/xml; charset=UTF-8
2010-08-04 12:04:24,672 DEBUG [jeeves.request] - Accept :
text/javascript, text/html, application/xml, text/xml, */*
2010-08-04 12:04:24,672 DEBUG [jeeves.request] - Session id is
7D47AD40918821D2E6BEC086DAC14B3C
2010-08-04 12:04:24,672 INFO [jeeves.service] - Dispatching :
xml.harvesting.get
2010-08-04 12:04:24,672 DEBUG [jeeves.service] - -> no input parameters
2010-08-04 12:04:24,672 INFO [jeeves.service] - -> dispatching to output
for : xml.harvesting.get
2010-08-04 12:04:24,688 INFO [jeeves.service] - -> writing xml for :
xml.harvesting.get
2010-08-04 12:04:24,688 DEBUG [jeeves.service] - Service xml is :
<nodes>
  <node id="1611" type="csw">
    <site>
      <name>geocat</name>
      <uuid>f71b334a-86e5-4887-993a-94024de10bf5</uuid>
      <account>
        <use>false</use>
        <username />
        <password />
      </account>
     
<capabilitiesUrl>http://www.geocatalogue.fr/api-public/servicesRest?request=GetCapabilities&amp;service=CSW&amp;version=2.0.2&lt;/capabilitiesUrl&gt;
      <icon>default.gif</icon>
    </site>
    <options>
      <every>90</every>
      <oneRunOnly>false</oneRunOnly>
      <status>active</status>
    </options>
    <searches>
      <search>
        <freeText>rge</freeText>
        <title />
        <abstract />
        <subject />
      </search>
    </searches>
    <info>
      <lastRun />
      <running>false</running>
    </info>
    <error id="operation-aborted">
      <message>Raised exception when searching</message>
      <class>OperationAbortedEx</class>
      <stack>
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="417" method="doSearch" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="243" method="search" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.Harvester"
file="Harvester.java" line="85" method="harvest" />
        <at class="org.fao.geonet.kernel.harvest.harvester.csw.CswHarvester"
file="CswHarvester.java" line="211" method="doHarvest" />
        <at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester$HarvestWithIndexProcessor"
file="AbstractHarvester.java" line="371" method="process" />
        <at class="org.fao.geonet.kernel.MetadataIndexerProcessor"
file="MetadataIndexerProcessor.java" line="39"
method="processWithFastIndexing" />
        <at
class="org.fao.geonet.kernel.harvest.harvester.AbstractHarvester"
file="AbstractHarvester.java" line="398" method="harvest" />
        <at class="org.fao.geonet.kernel.harvest.harvester.Executor"
file="Executor.java" line="87" method="run" />
      </stack>
      org.jdom.input.JDOMParseException: Error on line 22: The element type
"HR" must be terminated by the matching end-tag "&lt;/HR&gt;".
    </error>
  </node>
</nodes>
2010-08-04 12:04:24,688 INFO [jeeves.service] - -> output ended for :
xml.harvesting.get
2010-08-04 12:04:24,688 INFO [jeeves.service] - -> dispatch ended for :
xml.harvesting.get

S'agit-il d'une erreur du parseur lors de la recherche des XML?

Merci

Cordialement

Luc Clément

--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/CSW-et-Geocatalogue-Invalid-cookie-state-tp5341141p5371896.html
Sent from the GeoNetwork users francophone mailing list archive at Nabble.com.