Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2202

Discovery AccessRightsAwareness does not work with large amounts of groups

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Answered
    • Affects Version/s: 4.2
    • Fix Version/s: None
    • Component/s: Discovery
    • Labels:
      None
    • Environment:
      DSpace 4.2 with jspui
    • Attachments:
      0
    • Comments:
      1
    • Documentation Status:
      Not Required

      Description

      We just upgraded to 4.2 and noted an issue where users belonging to a group could not access any page, where browse was involved. This group is the default group for reviewing submissions, thus it belongs to a lot of groups (>1000).

      Disabling the Right Awareness for Discovery stopped the issue.

      Here is an excerpt of the dspace.log:
      2014-10-20 10:31:55,217 ERROR org.dspace.app.webui.servlet.AbstractBrowserServlet @ caught exception:
      org.dspace.browse.BrowseException: org.dspace.discovery.SearchServiceException: parsing error
      at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:194)
      at org.dspace.browse.SolrBrowseDAO.doCountQuery(SolrBrowseDAO.java:230)
      at org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:761)
      at org.dspace.browse.BrowseEngine.getTotalResults(BrowseEngine.java:721)
      at org.dspace.browse.BrowseEngine.browseByItem(BrowseEngine.java:264)
      at org.dspace.browse.BrowseEngine.browse(BrowseEngine.java:100)
      at org.dspace.app.webui.servlet.AbstractBrowserServlet.processBrowse(AbstractBrowserServlet.java:314)
      at org.dspace.app.webui.servlet.BrowserServlet.doDSGet(BrowserServlet.java:81)
      at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119)
      at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:620)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      at org.apache.coyote.ajp.AjpProcessor.process(AjpProcessor.java:190)
      at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1176)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
      at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      at java.lang.Thread.run(Thread.java:795)
      Caused by: org.dspace.discovery.SearchServiceException: parsing error
      at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1587)
      at org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189)
      ... 34 more
      Caused by: org.apache.solr.common.SolrException: parsing error
      at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:43)
      at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:407)
      at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
      at org.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:90)
      at org.apache.solr.client.solrj.SolrServer.query(SolrServer.java:301)
      at org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1582)
      ... 35 more
      Caused by: java.io.EOFException
      at org.apache.solr.common.util.FastInputStream.readByte(FastInputStream.java:193)
      at org.apache.solr.common.util.JavaBinCodec.unmarshal(JavaBinCodec.java:107)
      at org.apache.solr.client.solrj.impl.BinaryResponseParser.processResponse(BinaryResponseParser.java:41)
      ... 40 more

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cjuergen Claudia Jürgen
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: