Il faut avant tout régler le problème de la connexion au repository
http://orioai.univ-brest.fr/ori-oai-repository/OAIHandler, et je pense
que la moisson devrait ensuite bien se passer.
François
Le 17/09/2010 18:36, Mikaël Le Bohec a écrit :
> Bonjour,
>
> voilà mon problème : je moissonne un entrepôt
> (http://orioai.univ-brest.fr/ori-oai-repository/OAIHandler) et lors
> d'un moissonnage programmé l'ensemble de ses fiches ont été supprimées
> et désindexées.
>
> Ce n'est pas la première fois que cela se produit, mais je n'avais pas
> pris le temps d'enquêter.
> Bien sûr quand je remarquais cela (généralement quelques jours après
> le fameux moissonnage) j'allais sur l'url de l'entrepôt vérifier s'il
> n'y avait pas un problème et m'assurer que des fiches étaient bien
> présentes.
> À chaque fois tout semblait normal ; donc je misais sur un problème
> dans mon index que je n'avais pas envie de le regénérer vu le temps
> que cela prend de faire le moissonnage de tous les entrepôts que
> j'attaque.
>
> Ce coup-ci j'ai creusé un peu plus et pense avoir isolé le problème.
> Le site "http://orioai.univ-brest.fr/ori-oai-repository/" répond bien
> pour une commande "verb=Identify" mais pour un "verb=ListRecords" ou
> "verb=ListIdentifiers" cela part en "Connection reset".
>
> J'en arrive donc à la conclusion qu'il y a un problème du côté du
> module de moissonnage (qui supprimerait toutes les fiches d'un
> entrepôt quand celui-ci ne répond que partiellement) et un problème du
> côté de l'entrepôt de Brest (mais là dessus Alexandre pourras nous en
> dire plus).
>
> Voici le message d'erreur extrait des logs du module de moissonnage
> (en v1.6.2) :
>
> 17 sept. 2010 00:10:25,404 [ERROR] quartz_Worker-0
> org.orioai.harvesting.domain.logic.ListProvider processListRecords -
> processListRecords :java.net.SocketException: Connection reset :
> Connection reset
> java.net.SocketException: Connection reset
> at java.net.SocketInputStream.read(SocketInputStream.java:168)
> at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> at
> java.io.BufferedInputStream.read1(BufferedInputStream.java:258)
> at java.io.BufferedInputStream.read(BufferedInputStream.java:317)
> at
> sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:687)
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:632)
> at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:652)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1072)
>
> at
> java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:373)
> at
> org.oclc.oai.harvester2.verb.HarvesterVerb.getInputStream(HarvesterVerb.java:258)
>
> at
> org.oclc.oai.harvester2.verb.HarvesterVerb.harvest(HarvesterVerb.java:212)
>
> at
> org.oclc.oai.harvester2.verb.HarvesterVerb.(HarvesterVerb.java:195)
> at
> org.oclc.oai.harvester2.verb.ListRecords.(ListRecords.java:53)
> at
> org.orioai.harvesting.domain.logic.ListProvider.processListRecords(ListProvider.java:71)
>
> at
> org.orioai.harvesting.domain.logic.OAIStore.processAddOrUpdate(OAIStore.java:601)
>
> at
> org.orioai.harvesting.domain.logic.OAIStore.harvest(OAIStore.java:555)
> at
> org.orioai.harvesting.domain.logic.OAIStore.harvest(OAIStore.java:535)
> at
> org.orioai.harvesting.domain.service.HarvestServiceImpl.doHarvest(HarvestServiceImpl.java:199)
>
> at
> org.orioai.harvesting.domain.service.HarvestServiceImpl.harvest(HarvestServiceImpl.java:154)
>
> at sun.reflect.GeneratedMethodAccessor3086.invoke(Unknown Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
>
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
>
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
>
> at
> org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
>
> at
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
>
> at
> org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
>
> at $Proxy3.harvest(Unknown Source)
> at
> org.orioai.harvesting.scheduling.HarvestJob.execute(HarvestJob.java:50)
> at org.quartz.core.JobRunShell.run(JobRunShell.java:203)
> at
> org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)
>
>
>
--
***********************************************
François JANNIN
DSI - INP de Toulouse
6, allée Emile Monso
BP 34038
31029 Toulouse Cedex 4
Tél : 05.34.32.30.51
Mail : mailto:francois.jannin@inp-toulouse.fr
***********************************************