By "the exact same error" do you mean including the references http://Apex4.lib2k.bcit.ca:8080/solr/search? Or do the errors now say localhost:8080 instead?

You can double check that DSpace is using the right URL by checking for these lines in the files in [dspace]/config:

modules/discovery.cfg:      search.server = http://localhost:8080/solr/search

modules/oai.cfg:            solr.url=http://localhost:8080/solr/oai

modules/solr-statistics.cfg:server = http://localhost:8080/solr/statistics


It's the first one that jspui is sensitive to.

Chris

On 14-12-12 01:46 PM, Goran Ivaz wrote:

OK…I made the build.properties change as you mentioned below (http://localhost:8080/solr)

Ran maven and ant again. But still get the exact same error.

Do I need to run some kind of solr setup… ?

Fwiw these are my components :


java version "1.7.0_71"
OpenJDK Runtime Environment (rhel-2.5.3.1.el7_0-x86_64 u71-b14)
OpenJDK 64-Bit Server VM (build 24.65-b04, mixed mode)

Apache Maven 3.2.3 (33f8c3e1027c3ddde99d3cdebad2656a31e8fdf4; 2014-08-11T13:58:10-07:00)
Maven home: /apache-maven-3.2.3
Java version: 1.7.0_71, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.71-2.5.3.1.el7_0.x86_64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.0-123.13.1.el7.x86_64", arch: "amd64", family: "unix"

Apache Ant(TM) version 1.9.2 compiled on June 10 2014
Trying the default build file: build.xml
Buildfile: build.xml does not exist!
Build failed

Apache Tomcat/7.0.42 with webapps and admin-webapps

PGSQL 9.3

Thanks

Goran

*From:*Chris Gray [mailto:cpg...@uwaterloo.ca]
*Sent:* Thursday, December 11, 2014 11:19 AM
*To:* Goran Ivaz; dspace-tech@lists.sourceforge.net
*Subject:* Re: [Dspace-tech] 3rd install....and jspui keeps throwing an error (whils xmlui is just fine)

I think it's trying to find solr at http://Apex4.lib2k.bcit.ca:8080/solr/search but by default solr is only available to the localhost so the URL should be http://localhost:8080/solr/search.

Check your build.properties file and ensure that solr.server=http://localhost:8080/solr is set and run maven and ant again.

Chris

On 14-12-11 01:06 PM, Goran Ivaz wrote:

    I simply copied the solr folder from DSpace/webapps to
    $catalina/webapps….same as I did with the xmlui and jspui webapps
    (method 2). What kind of other configuration is required.?

    Installation manual mentions no specific solr setup !?

    Thanks

    *From:*Chris Gray [mailto:cpg...@uwaterloo.ca]
    *Sent:* Thursday, December 11, 2014 9:33 AM
    *To:* Goran Ivaz; dspace-tech@lists.sourceforge.net
    <mailto:dspace-tech@lists.sourceforge.net>
    *Subject:* Re: [Dspace-tech] 3rd install....and jspui keeps
    throwing an error (whils xmlui is just fine)

    Have you installed the dspace solr webapp in tomcat?  My
    experience is that jspui won't work without it.

    Chris Gray
    Systems Analyst
    519-888-4567, ext. 35764
    cpg...@uwaterloo.ca <mailto:cpg...@uwaterloo.ca>
    University of Waterloo

    On 14-12-10 05:33 PM, Goran Ivaz wrote:

        An internal server error occurred on
        http://Apex4.lib2k.bcit.ca:8080/xmlui
        <http://Apex4.lib2k.bcit.ca:8080/xmlui>:

        Date:       12/10/14 2:29 PM

        Session ID: 235C5819669FA6D8F829149F74A4D345

        User:       Anonymous

        IP address: 142.232.42.62

        -- URL Was: http://142.232.42.56:8080/jspui/internal-error
        <http://142.232.42.56:8080/jspui/internal-error>

        -- Method: GET

        -- Parameters were:

        Exception:

        org.apache.jasper.JasperException: An exception occurred
        processing JSP page /index.jsp at line 59

        56:             SiteHomeProcessor[] chp =
        (SiteHomeProcessor[])
        PluginManager.getPluginSequence(SiteHomeProcessor.class);

        57:             for (int i = 0; i < chp.length; i++)

        58:             {

        59: chp[i].process(context, request, response);

        60:             }

        61:         }

        62:         catch (Exception e)

        Stacktrace:

                        at
        
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568)

                        at
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:455)

                        at
        org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)

                        at
        org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)

                        at
        javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

                        at
        
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)

                        at
        
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                        at
        
org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)

                        at
        
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                        at
        
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                        at
        
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

                        at
        
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

                        at
        
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)

                        at
        
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

                        at
        
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

                        at
        
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

                        at
        
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                        at
        
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

                        at
        
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1024)

                        at
        
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

                        at
        
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

                        at
        
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)

                        at
        
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)

                        at java.lang.Thread.run(Thread.java:745)

        Caused by: javax.servlet.ServletException:
        org.dspace.plugin.PluginException:
        org.dspace.app.webui.components.RecentSubmissionsException:
        org.dspace.browse.BrowseException:
        org.dspace.discovery.SearchServiceException: Server at
        http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok
        status:500, message:Internal Server Error

                        at
        org.apache.jsp.index_jsp._jspService(index_jsp.java:127)

                        at
        org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

                        at
        javax.servlet.http.HttpServlet.service(HttpServlet.java:728)

                        at
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)

                        ... 22 more

        Caused by: org.dspace.plugin.PluginException:
        org.dspace.app.webui.components.RecentSubmissionsException:
        org.dspace.browse.BrowseException:
        org.dspace.discovery.SearchServiceException: Server at
        http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok
        status:500, message:Internal Server Error

                        at
        
org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:53)

                        at
        org.apache.jsp.index_jsp._jspService(index_jsp.java:120)

                        ... 25 more

        Caused by:
        org.dspace.app.webui.components.RecentSubmissionsException:
        org.dspace.browse.BrowseException:
        org.dspace.discovery.SearchServiceException: Server at
        http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok
        status:500, message:Internal Server Error

                        at
        
org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:105)

                        at
        
org.dspace.app.webui.components.RecentSiteSubmissions.process(RecentSiteSubmissions.java:47)

                        ... 26 more

        Caused by: org.dspace.browse.BrowseException:
        org.dspace.discovery.SearchServiceException: Server at
        http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok
        status:500, message:Internal Server Error

                        at
        org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:194)

                        at
        org.dspace.browse.SolrBrowseDAO.doQuery(SolrBrowseDAO.java:288)

                        at
        org.dspace.browse.BrowseEngine.browseMini(BrowseEngine.java:164)

                        at
        
org.dspace.app.webui.components.RecentSubmissionsManager.getRecentSubmissions(RecentSubmissionsManager.java:89)

                        ... 27 more

        Caused by: org.dspace.discovery.SearchServiceException: Server
        at http://Apex4.lib2k.bcit.ca:8080/solr/search returned non ok
        status:500, message:Internal Server Error

                        at
        org.dspace.discovery.SolrServiceImpl.search(SolrServiceImpl.java:1587)

                        at
        org.dspace.browse.SolrBrowseDAO.getSolrResponse(SolrBrowseDAO.java:189)

                        ... 30 more

        Caused by:
        org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
        Server at http://Apex4.lib2k.bcit.ca:8080/solr/search returned
        non ok status:500, message:Internal Server Error

                        at
        
org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:385)

                        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)

                        ... 31 more

        Any suggestions are appreciated. Thanks folks.

        Goran





        
------------------------------------------------------------------------------

        Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

        from Actuate! Instantly Supercharge Your Business Reports and Dashboards

        with Interactivity, Sharing, Native Excel Exports, App Integration & 
more

        Get technology previously reserved for billion-dollar corporations, FREE

        
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk





        _______________________________________________

        DSpace-tech mailing list

        DSpace-tech@lists.sourceforge.net  
<mailto:DSpace-tech@lists.sourceforge.net>

        https://lists.sourceforge.net/lists/listinfo/dspace-tech

        List 
Etiquette:https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to