Closed GoogleCodeExporter closed 9 years ago
I tried install OAI in windows XP, when I go to webpage, I can view
OAI Identify settings ([tomcat]/bin/OAIToolkit.server.properties)- Read from
configuration files. I also click Identify, List set and it display XML page
for me. However, when I click ListRecords and all links below, listIdentifier
and all links below, I still get error: http 500
type Exception report
message
description The server encountered an internal error () that prevented it from
fulfilling this request.
exception
javax.servlet.ServletException: org.apache.lucene.store.AlreadyClosedException:
this IndexReader is closed
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
root cause
org.apache.lucene.store.AlreadyClosedException: this IndexReader is closed
org.apache.lucene.index.IndexReader.ensureOpen(IndexReader.java:177)
org.apache.lucene.index.DirectoryReader.terms(DirectoryReader.java:650)
org.apache.lucene.search.TermRangeTermEnum.<init>(TermRangeTermEnum.java:93)
org.apache.lucene.search.TermRangeQuery.getEnum(TermRangeQuery.java:135)
org.apache.lucene.search.MultiTermQuery$ConstantScoreAutoRewrite.rewrite(MultiTermQuery.java:230)
org.apache.lucene.search.MultiTermQuery.rewrite(MultiTermQuery.java:371)
org.apache.lucene.search.BooleanQuery.rewrite(BooleanQuery.java:371)
org.apache.lucene.search.IndexSearcher.rewrite(IndexSearcher.java:272)
org.apache.lucene.search.Query.weight(Query.java:100)
org.apache.lucene.search.Searcher.createWeight(Searcher.java:147)
org.apache.lucene.search.Searcher.search(Searcher.java:98)
org.apache.lucene.search.Searcher.search(Searcher.java:108)
info.extensiblecatalog.OAIToolkit.db.LuceneSearcher.search(LuceneSearcher.java:415)
info.extensiblecatalog.OAIToolkit.db.LuceneSearcher.search(LuceneSearcher.java:400)
info.extensiblecatalog.OAIToolkit.oai.dataproviders.LuceneFacadeDataProvider.prepareQuery(LuceneFacadeDataProvider.java:373)
info.extensiblecatalog.OAIToolkit.api.Facade.handleRecordLists(Facade.java:666)
info.extensiblecatalog.OAIToolkit.api.Facade.doCachedSearch(Facade.java:387)
info.extensiblecatalog.OAIToolkit.api.Facade.doListRecords(Facade.java:357)
info.extensiblecatalog.OAIToolkit.struts.action.OaiRequestAction.execute(OaiRequestAction.java:80)
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
javax.servlet.http.HttpServlet.service(HttpServlet.java:722)
Therefore, there are two problemsL:
in Linux, it not read the configurations files (as top report)
in windows, can't read listrecords
Original comment by atkins...@gmail.com
on 22 Jun 2012 at 7:08
In Jira as http://extensiblecatalog.lib.rochester.edu:8080/browse/OAI-31
Original comment by rc...@library.rochester.edu
on 26 Jun 2012 at 1:26
Original issue reported on code.google.com by
atkins...@gmail.com
on 22 Jun 2012 at 6:15