ORI-OAI en mode filesystem et GetRecord

  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: SELECT data, created, headers, expire, serialized FROM cache_filter WHERE cid = '4:0338d564ca3fdd3d84732fe22816589a' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 27.
  • user warning: Table './drupal_www_ori_oai_org/cache_filter' is marked as crashed and last (automatic?) repair failed query: UPDATE cache_filter SET data = '<div class=\"emailFilter\">Bonjour à tous,</p>\n<p>nous poursuivons notre effort avec ORI-OAI et je reviens avec une<br />\nquestion/problème.</p>\n<p>Nous avons donc un Repo en mode FileSystem, les identifiants des notices<br />\nsont de la forme : oai:univ-lyon1.fr:/aspasie/record541.xml</p>\n<p>Pour lister les enregistrements pas de soucis, mais dès que l\'on<br />\nsouhaite requêter un enregistrement particulier (GetRecord) on obtient<br />\nune erreur 500.</p>\n<p>Voici la trace, apparemment des difficultés pour résoudre enregistrement :</p>\n<p>java.lang.NullPointerException<br />\n at<br />\norg.orioai.repository.domain.logic.NativeItemFactoryImpl.getNativeItem(NativeItemFactoryImpl.java:77)<br />\n at<br />\norg.orioai.repository.domain.service.ORICatalog.getRecord(ORICatalog.java:319)<br />\n at org.oclc.oai.server.verb.GetRecord.construct(GetRecord.java:120)<br />\n at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />\n at<br />\nsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br />\n at<br />\nsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br />\n at java.lang.reflect.Method.invoke(Method.java:597)<br />\n at org.oclc.oai.server.OAIHandler.getResult(OAIHandler.java:426)<br />\n at org.oclc.oai.server.OAIHandler.doGet(OAIHandler.java:321)<br />\n at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)<br />\n at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)<br />\n at<br />\norg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<br />\n at<br />\norg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<br />\n at<br />\norg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<br />\n at<br />\norg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)<br />\n at<br />\norg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)<br />\n at<br />\norg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<br />\n at<br />\norg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<br />\n at<br />\norg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)<br />\n at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)<br />\n at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)<br />\n at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)<br />\n at<br />\norg.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)<br />\n at<br />\norg.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)<br />\n at<br />\norg.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)<br />\n at java.lang.Thread.run(Thread.java:662)<br />\nERROR janv./30 16:56:39<br />\norg.orioai.repository.utils.XMLStreamParser.getStreamFromURL(XMLStreamParser.java:44)<br />\n:: Server returned HTTP response code: 500 for URL:<br />\n<a href=\"http://scd-orioai-repo.univ-lyon1.fr/ori-oai-repository-fs-full/OAIHandler?verb=GetRecord&amp;identifier=oai%3Auniv-lyon1.fr%3A%2Faspasie%2Frecord2654.xml&amp;metadataPrefix=oai_dc\" title=\"http://scd-orioai-repo.univ-lyon1.fr/ori-oai-repository-fs-full/OAIHandler?verb=GetRecord&amp;identifier=oai%3Auniv-lyon1.fr%3A%2Faspasie%2Frecord2654.xml&amp;metadataPrefix=oai_dc\">http://scd-orioai-repo.univ-lyon1.fr/ori-oai-repository-fs-full/OAIHandl...</a></p>\n<p>Est-ce un bug ou une mauvaise configuration ?</p>\n<p>Dans l\'absolu, comme ce repo en FS est là uniquement pour se faire<br />\nmoissonner de façon massive cela ne pose pas de problème mais bon..</p>\n<p>Merci</p>\n<p>--<br />\nVincent Hurtevent<br />\nDirection du Système d\'Information<br />\nUniversité Claude Bernard Lyon 1</p>\n</div>\n', created = 1507792963, expire = 1507879363, headers = '', serialized = 0 WHERE cid = '4:0338d564ca3fdd3d84732fe22816589a' in /home/ori-oai/drupal/drupal-6.34/includes/cache.inc on line 112.
1 message / 0 nouveaux
Dernière contribution
vincent.hurtevent
ORI-OAI en mode filesystem et GetRecord
Bonjour à tous,

nous poursuivons notre effort avec ORI-OAI et je reviens avec une
question/problème.

Nous avons donc un Repo en mode FileSystem, les identifiants des notices
sont de la forme : oai:univ-lyon1.fr:/aspasie/record541.xml

Pour lister les enregistrements pas de soucis, mais dès que l'on
souhaite requêter un enregistrement particulier (GetRecord) on obtient
une erreur 500.

Voici la trace, apparemment des difficultés pour résoudre enregistrement :

java.lang.NullPointerException
at
org.orioai.repository.domain.logic.NativeItemFactoryImpl.getNativeItem(NativeItemFactoryImpl.java:77)
at
org.orioai.repository.domain.service.ORICatalog.getRecord(ORICatalog.java:319)
at org.oclc.oai.server.verb.GetRecord.construct(GetRecord.java:120)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.oclc.oai.server.OAIHandler.getResult(OAIHandler.java:426)
at org.oclc.oai.server.OAIHandler.doGet(OAIHandler.java:321)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
ERROR janv./30 16:56:39
org.orioai.repository.utils.XMLStreamParser.getStreamFromURL(XMLStreamParser.java:44)
:: Server returned HTTP response code: 500 for URL:
http://scd-orioai-repo.univ-lyon1.fr/ori-oai-repository-fs-full/OAIHandl...

Est-ce un bug ou une mauvaise configuration ?

Dans l'absolu, comme ce repo en FS est là uniquement pour se faire
moissonner de façon massive cela ne pose pas de problème mais bon..

Merci

--
Vincent Hurtevent
Direction du Système d'Information
Université Claude Bernard Lyon 1