2013-02-08 40 views
1

我收到以下错误页面(参见下图)尝试登录到时:Solr的不工作的DSpace软件安装

http://localhost:8080/solr/admin/ 

到目前为止,我已经尝试以下操作没有成功:

  1. 重启动Tomcat(无数次)
  2. 运行的DSpace的命令(stats-log-converter & stats-log-importer
  3. 复制的一切( SQL和文件)从原始安装到新的安装。

历史的一点点:

主要症状是,我们无法获得统计和运行。统计页面只返回空白页面。试图解决,我偶然发现了这一点,我怀疑是罪魁祸首。

这是错误:(图像连接为好)

HTTP Status 500 - 

    type Exception report 

    message 

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

    exception 

    org.apache.jasper.JasperException: Unable to compile class for JSP: 

    An error occurred at line: 32 in the jsp file: /admin/index.jsp 
    The method getRequestHandlers() in the type SolrCore is not applicable for the arguments (Class<ReplicationHandler>) 
    29: <%-- jsp:include page="header.jsp"/ --%> 
    30: <%-- do a verbatim include so we can use the local vars --%> 
    31: <%@include file="header.jsp" %> 
    32: <%boolean replicationhandler = !core.getRequestHandlers(ReplicationHandler.class).isEmpty();%> 
    33: <br clear="all"> 
    34: <table> 
    35: 


    Stacktrace: 
     org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92) 
     org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330) 
     org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:439) 
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:349) 
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:327) 
     org.apache.jasper.compiler.Compiler.compile(Compiler.java:314) 
     org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:589) 
     org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) 
     org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313) 
     org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260) 
     javax.servlet.http.HttpServlet.service(HttpServlet.java:717) 
     org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:295) 
     org.dspace.solr.filters.LocalHostRestrictionFilter.doFilter(LocalHostRestrictionFilter.java:60) 
    note The full stack trace of the root cause is available in the Apache Tomcat/6.0.26 logs. 

    Apache Tomcat/6.0.26 

SOLR error

+0

您正在使用哪种Dspace版本? – 2013-03-04 14:14:33

回答