Ticket #20 (closed defect: invalid)

Opened 3 years ago

Last modified 3 years ago

Cannot update collection entry in registry

Reported by: frederic.bergeron@… Owned by: jlsantoso
Priority: major Component: ARIADNE Registry
Version: Keywords:
Cc:

Description

Whenever I try to change metadata for a collection in the registry, I get the following exception:

2010-09-02 05:01:58,634 INFO org.ariadne_eu.service.SqiTargetImplementation? @ synchronousQuery:query=(protocol.identifier.entry = "oai-pmh-v2") and (protocol.identifier.catalog= "ariadne-protocols-targets"),sessionID=201009020501580,Forwarding IP=206.167.88.11,Original IP=206.167.88.11,User-Agent=Axis2,Host=hera.licef.ca:8080 2010-09-02 05:01:58,650 INFO org.ariadne_eu.service.SqiSessionManagementImplementation? @ destroySession:sessionID=201009020501580 2010-09-02 05:02:27,805 INFO net.sourceforge.minor.lucene.core.service.IndexService? @ Indexing took 156 ms 2010-09-02 05:02:27,805 INFO org.ariadne_eu.metadata.insert.InsertMetadataLuceneImpl? @ insertMetadata:identifier:"Gomi" 2010-09-02 05:03:13,444 ERROR org.ariadne_eu.metadata.query.QueryMetadataLuceneImpl? @ Could not remove a Reader instance java.lang.Exception: Unauthorized operation

at net.sourceforge.minor.lucene.core.searcher.ReaderManagement?.unRegister(ReaderManagement?.java:118) at org.ariadne_eu.oai.server.lucene.catalog.LuceneLomCatalog?.closeIndexReader(LuceneLomCatalog?.java:124) at org.ariadne_eu.oai.server.lucene.catalog.LuceneLomCatalog?.listRecords(LuceneLomCatalog?.java:520) at org.oclc.oai.server.verb.ListRecords?.construct(ListRecords?.java:181) at sun.reflect.NativeMethodAccessorImpl?.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl?.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl?.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.ariadne.oai.server.OAIHandler.getResult(OAIHandler.java:373) at org.ariadne.oai.server.OAIHandler.doGet(OAIHandler.java:268) 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.authenticator.AuthenticatorBase?.invoke(AuthenticatorBase?.java:433) at org.apache.catalina.core.StandardHostValve?.invoke(StandardHostValve?.java:128) 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:293) at org.apache.coyote.http11.Http11AprProcessor.process(Http11AprProcessor.java:859) at org.apache.coyote.http11.Http11AprProtocol$Http11ConnectionHandler.process(Http11AprProtocol.java:574) at org.apache.tomcat.util.net.AprEndpoint?$Worker.run(AprEndpoint?.java:1527) at java.lang.Thread.run(Unknown Source)

The metadata is updated in the store but it's probably not updated in Lucene. So if I click the "Get Metadata" button, I get the previous version of the metadata without my new modifications. I must restart the web application to reload the corrected metadata.

Change History

comment:1 Changed 3 years ago by jkofmsk

  • Owner changed from joseluis to jlsantoso

comment:2 Changed 3 years ago by jlsantoso

  • Status changed from new to closed
  • Resolution set to invalid

I cannot reproduce the problem. I am not sure what is the problem about. I can modify all the information, for instance, the description of one collection and you can check the changes at the search interface.

More information about the problem would be great!

Note: See TracTickets for help on using tickets.