Re: [Dspace-tech] Exception: Server at http://localhost:8080/solr/search returned non ok status:404, message:Not Found
Hello, it seems like a Solr's problem. A solution to your problem is to copy the folder [dspace-installation-directory]\webapps\solr to C:\Program Files\Apache Software Foundation\Apache Tomcat (your version)\webapps (or wherever is the Tomcat's installation directory). Another solution is to locate the Tomcat's server.xml file and change the Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true with something like that Host name=localhost appBase=/c:/dspace/webapps unpackWARs=true autoDeploy=true Then you can test if Solr is working @ http://localhost:8081/solr/ http://localhost:8080/solr/ Hope it helps. Teo. 2014-06-13 10:24 GMT+03:00 Hilton Gibson hilton.gib...@gmail.com: Hi Hassan Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://scholar.sun.ac.za http://bit.ly/goodir http://library.sun.ac.za http://za.linkedin.com/in/hiltongibson On 12 June 2014 18:39, Hassan Bhuiyan hassan.bhui...@brunel.ac.uk wrote: Hi I am trying to upgrade from DSpace1.6.2 to DSpace 4.1. Everything went okay except index-discovery. I can see community and collection lists and log in to DSpace administrator account and see items in the pool waiting to be archived. Problem: Homepage shows message Internal Systems Error and does not show the item lists. It will be helpful if someone can help me please. Note: I tried with rebuild and fresh installation again but still the problem remains same. Note: I don't see anything directory called /solr/search directory in my TOMCAT. Regards Hassan Bhuiyan Brunel University, UK I get following error while executing index-discovery -f ( when TOMCAT is running) Exception: Server at http://localhost:8080/solr/search returned non ok status:404, message:Not Found org.dspace.discovery.SearchServiceException: Server at http://localhost:8080/solr/search returned non ok status:404, message:Not Found at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:484) at org.dspace.discovery.IndexClient.main(IndexClient.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) Caused by: org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Server at http://localhost:8080/solr/search returned non ok status:404, message:Not Found 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.getSolr(SolrServiceImpl.java:155) at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:444) ... 7 more I get following error while executing index-discovery -f ( when TOMCAT is stopped) -- Exception: Server refused connection at: http://localhost:8080/solr/search org.dspace.discovery.SearchServiceException: Server refused connection at: http://localhost:8080/solr/search at org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:484) at org.dspace.discovery.IndexClient.main(IndexClient.java:119) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:483) at org.dspace.app.launcher.ScriptLauncher.runOneCommand(ScriptLauncher.java:225) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:77) Caused by: org.apache.solr.client.solrj.SolrServerException: Server refused connection at: http://localhost:8080/solr/search at org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:428) at
[Dspace-tech] Shibboleth help
Hello, I need help on setting up Shibboleth Authentication. I enabled Shibboleth Authentication in [dspace]/config/modules/authentication.cfg but i don't know how to enable mod_shib module. Can anyone give me some direction how to install the module mob_shib. Do I have to enable this module through Tomcat or I have to install another Apache webserver? I am using Tomcat 7.0.53. Teo. -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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
Re: [Dspace-tech] Modify Browse By in navbar
thanks!! 2014-06-05 18:58 GMT+03:00 Terry Brady tw...@georgetown.edu: In your dspace.cfg file, you can configure the browse fields. #webui.browse.index.1 = dateissued:item:dateissued webui.browse.index.1 = author:metadata:dc.contributor.*,dc.creator:text webui.browse.index.2 = title:item:title webui.browse.index.3 = subject:metadata:dc.subject.*:text #webui.browse.index.5 = dateaccessioned:item:dateaccessioned webui.browse.index.4 = datecreated:item:datecreated Have you enabled discovery facets on your site? The type field might lend itself better to facet navigation than browse navigation. Terry On Thu, Jun 5, 2014 at 4:50 AM, Teo Tokis teoto...@gmail.com wrote: Hello, i want to add a new browse field in the navbar (except from browse by title, author, subject, dateissued) so i can browse by type. Can anyone suggest me a solution? -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech ___ 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 -- Terry Brady Applications Programmer Analyst Georgetown University Library Information Technology https://www.library.georgetown.edu/lit/code 425-298-5498 -- HPCC Systems Open Source Big Data Platform from LexisNexis Risk Solutions Find What Matters Most in Your Big Data with HPCC Systems Open Source. Fast. Scalable. Simple. Ideal for Dirty Data. Leverages Graph Analysis for Fast Processing Easy Data Exploration http://p.sf.net/sfu/hpccsystems___ 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
Re: [Dspace-tech] DSpace 4.1 JSPUI Filter issues
Alexander, you can add an attribute 'required' in the filter form. something like thisQ input type=text id=filterquery name=filterquery size=45 class=ui-autocomplete-input autocomplete=off required in the ...\search\discovery.jsp file Teo. -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ 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
[Dspace-tech] Modify Browse By in navbar
Hello, i want to add a new browse field in the navbar (except from browse by title, author, subject, dateissued) so i can browse by type. Can anyone suggest me a solution? -- Learn Graph Databases - Download FREE O'Reilly Book Graph Databases is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/NeoTech___ 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
[Dspace-tech] Problem in Dspace search
Hello, I am using Dspace 4.0. I notice that when i search a query like --test i get an internal error. The same happens and in the online JSPUI Demo. I tried a solution like this: i included the following code just before dspace sidebar. % if (qResults != null) { % dspace:sidebar /dspace:sidebar % } % /dspace:layout and it seems to working fine. I get as a result the message key jsp.search.error.discovery. I do not know if this is a possible solution but it's working. The error stacktrace was: An internal server error occurred on http://localhost:8080/jspui: Date: 7/5/2014 12:22 μμ Session ID: 69423C8A36A29FFD21015852D7074D32 IP address: 0:0:0:0:0:0:0:1 -- URL Was: http://localhost:8080/jspui/simple-search?location=%2Fquery=--testrpp=10sort_by=scoreorder=desc -- Method: GET -- Parameters were: -- order: desc -- rpp: 10 -- sort_by: score -- location: / -- query: --test Exception: org.apache.jasper.JasperException: An exception occurred processing JSP page /search/discovery.jsp at line 635 632: for (DiscoverySearchFilterFacet facetConf : facetsConf) 633: { 634: String f = facetConf.getIndexFieldName(); 635: ListFacetResult facet = qResults.getFacetResult(f); 636: if (facet.size() == 0) 637: { 638: facet = qResults.getFacetResult(f+.year); Stacktrace: at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:568) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:470) 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.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) 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.ApplicationDispatcher.invoke(ApplicationDispatcher.java:749) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:487) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:412) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:339) at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:60) at org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor.doSimpleSearch(DiscoverySearchRequestProcessor.java:439) at org.dspace.app.webui.servlet.SimpleSearchServlet.doDSGet(SimpleSearchServlet.java:63) 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:621) 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.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243) 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:100) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at
[Dspace-tech] How can I create a new table in dspace's database?
Hello! How can I create a new table in dspace's database? Is it possible to add this table to file database_schema.sql in source and then execute ant update or I need to do something else? Teo. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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
Re: [Dspace-tech] How can I create a new table in dspace's database?
Actually i want to modify the dspace source and add some new forms when i submitt a new item and also to add some new columns in dspace user table. Do i have to modify some of the xml files of source code? Or just create new tables and columns in my database? Teo. 2014-01-27 Teo Tokis teoto...@gmail.com Hello! How can I create a new table in dspace's database? Is it possible to add this table to file database_schema.sql in source and then execute ant update or I need to do something else? Teo. -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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
Re: [Dspace-tech] Internal System Error Dspace 4.0
Hey Eric, it seems like a Solr's problem. A solution to your problem is to copy the folder [dspace-installation-directory]\webapps\solr to C:\Program Files\Apache Software Foundation\Apache Tomcat (your version)\webapps (or wherever is the Tomcat's installation directory). Then you can test if Solr is working @ http://localhost:8080/solr/ Teo. 2014/1/20 Eric Martyns martynse...@gmail.com Hey guys, i just installed dspace 4.0, but i get this internal system error displaying at the bottom page. Plz how do i resolve this. Thanks Best Regards Martyns Eric -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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 -- CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431iu=/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