It has been reported to me that the ListRecords oai request results in an
internal error:

http://dspace:8080/oai/request?verb=ListRecords&metadataPrefix=oai_dc
HTTP Status 500 -
------------------------------

*type* Exception report

*message*

*description* *The server encountered an internal error () that prevented
it from fulfilling this request.*

*exception*

javax.servlet.ServletException: Servlet execution threw an exception

*root cause*

java.lang.NoSuchMethodError:
org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
        
org.apache.commons.logging.impl.SLF4JLocationAwareLog.trace(SLF4JLocationAwareLog.java:107)
        
org.apache.commons.httpclient.methods.GetMethod.<init>(GetMethod.java:90)
        
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:290)
        
org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
        
org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)
        org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)
        org.dspace.xoai.solr.DSpaceSolrSearch.query(DSpaceSolrSearch.java:34)
        
org.dspace.xoai.data.DSpaceItemSolrRepository.getResult(DSpaceItemSolrRepository.java:129)
        
org.dspace.xoai.data.DSpaceItemSolrRepository.getItems(DSpaceItemSolrRepository.java:119)
        
com.lyncode.xoai.dataprovider.data.internal.ItemRepository.getItems(ItemRepository.java:218)
        
com.lyncode.xoai.dataprovider.OAIDataProvider.build(OAIDataProvider.java:609)
        
com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider.java:195)
        org.dspace.xoai.util.XOAICacheManager.handle(XOAICacheManager.java:219)
        
org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.java:139)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:722)

*note* *The full stack trace of the root cause is available in the Apache
Tomcat/7.0.26 logs.*
This is on our DSpace 3.1 servers (Tomcat7, java 1.7.0_21: OpenJDK). The
same request works on DSpace 1.8.2 (Tomcat7, java 1.6.0_27: OpenJDK).

Have I misconfigured something, or has something changed?

The verb=Identify request still works.

Sean
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to