[Dspace-tech] solr error
I am getting an internal server error, due to error for http://localhost:8080/solr/ There are no SolrCores running. Using the Solr Admin UI currently requires at least one SolrCore. I checked out the master branch which a few of my own changes None of them involve any solar related stuff What should I look at next ? Monika Monika Mevenkamp mo.me...@gmail.commailto:mo.me...@gmail.com http://mcmprogramming.com/mo.meven/potd/ Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 -- 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
Re: [Dspace-tech] solr error
Hi Monika, I could reproduced this error with commenting out the all core elements in [dspace]/solr/solr.xml. Check this file to be at least one core element is effective and restart tomcat. Regards, Keiji Suzuki 2014-04-15 6:06 GMT+09:00 Monika C. Mevenkamp moni...@princeton.edu: I am getting an internal server error, due to error for http://localhost:8080/solr/ There are no SolrCores running. Using the Solr Admin UI currently requires at least one SolrCore. I checked out the master branch which a few of my own changes None of them involve any solar related stuff What should I look at next ? Monika Monika Mevenkamp mo.me...@gmail.com http://mcmprogramming.com/mo.meven/potd/ Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 -- 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 -- 鈴木敬二@江別市 -- 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
Re: [Dspace-tech] Solr Error and submission issue with DSpace 3.0
Hi Bram, Thanks for the reply. I read your jira report and i noticed the same solr version problem with oai in 3.3 and others in 3.5. I am not sure if my solr error is related to that. I tried to change the version number in pom.xml and that doesn't help. Also, the version under solr server and xmlui are the same. I suppose it should not be the version issue in my case? But I can't really explain why I got the version error... Also, the solr error appears when I submit something, or run stats-util, filter-media... I have not tried oai yet but would like to test it tomorrow and see if it will get me the same error. I can post you some detail logs tomorrow too. Thanks, Ying Quoting Bram Luyten b...@mire.be: Hi Ying, just an off-list reply here because I'm still in the dark concerning the issue you're experiencing. Could you post some more extensive log files? Furthermore, when you're starting up DSpace, do you see strange things in your logs concerning SOLR/Lucene versions? Trying to figure out whether your problem is related to what I was seeing here: https://jira.duraspace.org/browse/DS-1489 Bram -- [image: logo] *Bram Luyten* *@mire* *2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010* *Esperantolaan 4, Heverlee 3001, Belgium* http://www.atmire.com/www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml On Thu, Feb 28, 2013 at 9:09 PM, Ying Jin ying@rice.edu wrote: Hi All, We are trying to upgrade from DSpace 1.7.2 to 3.0 and checked out the DSpace 3.0 branch from github. I followed the upgrading steps for DSpace 1.7 to 1.8 and then 1.8 to 3.0 (run upgrade script). However, when I tried to use the submission process to complete a submit, the system will hang there and give me Internal Server Error (timeout) and the dspace log have following errors - ERROR org.dspace.core.I18nUtil @ No language specified for EPerson 18 . ERROR org.dspace.statistics.SolrLoggerUsageEventListener @ Invalid version (expected 2, but 1) or the data in not in 'javabin' format When I turn on the debugger, it shows the system is trying to query some of the communities and subcommunities which seem totally unrelated to the collection I am trying to submit to. Does anyone have a clue why this is happening? What I am trying to submit is a small pdf file and won't take long for 1.7.2 to complete. Thanks in advance for any help, Ying @ Rice Univeristy -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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 Ying Jin Application Programmer Center for Digital Scholarship Email ying@rice.edu Phone 713-348-8082 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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] Solr Error and submission issue with DSpace 3.0
Hi All, We are trying to upgrade from DSpace 1.7.2 to 3.0 and checked out the DSpace 3.0 branch from github. I followed the upgrading steps for DSpace 1.7 to 1.8 and then 1.8 to 3.0 (run upgrade script). However, when I tried to use the submission process to complete a submit, the system will hang there and give me Internal Server Error (timeout) and the dspace log have following errors - ERROR org.dspace.core.I18nUtil @ No language specified for EPerson 18 . ERROR org.dspace.statistics.SolrLoggerUsageEventListener @ Invalid version (expected 2, but 1) or the data in not in 'javabin' format When I turn on the debugger, it shows the system is trying to query some of the communities and subcommunities which seem totally unrelated to the collection I am trying to submit to. Does anyone have a clue why this is happening? What I am trying to submit is a small pdf file and won't take long for 1.7.2 to complete. Thanks in advance for any help, Ying @ Rice Univeristy -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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] Solr Error and submission issue with DSpace 3.0
BTW, I am using xmlui and did turn on the configurable submission and ran the update for that. Thanks, Ying On Feb 28, 2013, at 2:09 PM, Ying Jin wrote: Hi All, We are trying to upgrade from DSpace 1.7.2 to 3.0 and checked out the DSpace 3.0 branch from github. I followed the upgrading steps for DSpace 1.7 to 1.8 and then 1.8 to 3.0 (run upgrade script). However, when I tried to use the submission process to complete a submit, the system will hang there and give me Internal Server Error (timeout) and the dspace log have following errors - ERROR org.dspace.core.I18nUtil @ No language specified for EPerson 18 . ERROR org.dspace.statistics.SolrLoggerUsageEventListener @ Invalid version (expected 2, but 1) or the data in not in 'javabin' format When I turn on the debugger, it shows the system is trying to query some of the communities and subcommunities which seem totally unrelated to the collection I am trying to submit to. Does anyone have a clue why this is happening? What I am trying to submit is a small pdf file and won't take long for 1.7.2 to complete. Thanks in advance for any help, Ying @ Rice Univeristy -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb ___ 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] SOLR error. Tryin to show
When i try to see my stats (http://digitum.um.es/xmlui/displaystats?handle=10201%2F2submit_simple=Visu alizar+Estad%C3%ADsticas ) in DSPACE dspace.log file shows (down) Whats happend? Ive tried everything. In my test server is working propertly but not in the final. dspace.cfg: solr.log.server = http://localhost:8080/solr/statistics solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat statistics.item.authorization.admin=false solr.statistics.query.filter.spiderIp = false solr.statistics.query.filter.isBot = true 2010-05-11 08:48:43,707 ERROR org.dspace.app.webui.servlet.DisplayStatisticsServlet @ Error occured while creating statistics for dso with ID: 2 and type 4 and handle: 10201/2 java.lang.ArrayIndexOutOfBoundsException: 0 at org.dspace.statistics.Dataset.getMatrixFormatted(Dataset.java:171) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.displayStatistics(Disp layStatisticsServlet.java:216) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.doDSGet(DisplayStatist icsServlet.java:123) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java :151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:188) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServ letFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java :895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:689) at java.lang.Thread.run(Unknown Source) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] SOLR error. Tryin to show
Hi Soporte Try to change ${dspace.dir}/config/GeoLiteCity.dat to for example : /home/dspace/config/GeoLiteCity.dat if that is your full path to GeoLiteCity.dat And restart Tomcat Regards, Lewatle -Original Message- From: Soporte Digitum [mailto:soportedigi...@um.es] Sent: 11 May 2010 09:38 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] SOLR error. Tryin to show When i try to see my stats (http://digitum.um.es/xmlui/displaystats?handle=10201%2F2submit_simple=Visu alizar+Estad%C3%ADsticas ) in DSPACE dspace.log file shows (down) Whats happend? I've tried everything. In my test server is working propertly but not in the final. dspace.cfg: solr.log.server = http://localhost:8080/solr/statistics solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat statistics.item.authorization.admin=false solr.statistics.query.filter.spiderIp = false solr.statistics.query.filter.isBot = true 2010-05-11 08:48:43,707 ERROR org.dspace.app.webui.servlet.DisplayStatisticsServlet @ Error occured while creating statistics for dso with ID: 2 and type 4 and handle: 10201/2 java.lang.ArrayIndexOutOfBoundsException: 0 at org.dspace.statistics.Dataset.getMatrixFormatted(Dataset.java:171) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.displayStatistics(Disp layStatisticsServlet.java:216) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.doDSGet(DisplayStatist icsServlet.java:123) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java :151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:188) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServ letFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java :895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:689) at java.lang.Thread.run(Unknown Source) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech htmlpfont face = verdana size = 0.8 color = navyThis communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary./font/p/html -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] SOLR error. Tryin to show
Hello Digitum´s Support, Did you run the (cap. 8.14) DSpace Log Converter and (cap. 8.14) Log Import? Antoanne On Tue, May 11, 2010 at 4:37 AM, Soporte Digitum soportedigi...@um.eswrote: When i try to see my stats ( http://digitum.um.es/xmlui/displaystats?handle=10201%2F2submit_simple=Visu alizar+Estad%C3%ADsticashttp://digitum.um.es/xmlui/displaystats?handle=10201%2F2submit_simple=Visu%0Aalizar+Estad%C3%ADsticas) in DSPACE dspace.log file shows (down) Whats happend? I’ve tried everything. In my test server is working propertly but not in the final. dspace.cfg: solr.log.server = http://localhost:8080/solr/statistics solr.dbfile = ${dspace.dir}/config/GeoLiteCity.dat statistics.item.authorization.admin=false solr.statistics.query.filter.spiderIp = false solr.statistics.query.filter.isBot = true 2010-05-11 08:48:43,707 ERROR org.dspace.app.webui.servlet.DisplayStatisticsServlet @ Error occured while creating statistics for dso with ID: 2 and type 4 and handle: 10201/2 java.lang.ArrayIndexOutOfBoundsException: 0 at org.dspace.statistics.Dataset.getMatrixFormatted(Dataset.java:171) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.displayStatistics(Disp layStatisticsServlet.java:216) at org.dspace.app.webui.servlet.DisplayStatisticsServlet.doDSGet(DisplayStatist icsServlet.java:123) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java :151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:188) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServ letFilter.java:112) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:215) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117 ) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:548) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200) at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283) at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:773) at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:703) at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java :895) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:689) at java.lang.Thread.run(Unknown Source) -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Solr error: moved temporarily
I'm joining the wave of SOLR-error reports. As I'm unfortunately not a programmer, I'd appreciate any help! I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20. Whenever I try to use solr I get an Moved Temporarily.exception. Below is what happens when I try to convert the log-files. [r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i /opt/dspace/dspace.dir/log/solr.log -m Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics solr.log.2010-03-24 Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24 Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2 ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city = Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194) Processed 1 log lines - 0 entries added to solr: 0% - 1 errors: 100% - 0 search engine activity skipped: 0% About to commit data to solr...Exception: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:387) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194) -- Mvh Trude Eikebrokk Oslo University College trude.eikebr...@hio.no 22 45 35 70 p48/S336 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Solr error: moved temporarily
Hi, I think that part of what's happening is that your request to http://dspace-test.hio.no:8080/solr/statistics is being forwarded to somewhere else. See this output from the command line: wget http://dspace-test.hio.no/solr/statistics --2010-04-21 09:12:25-- http://dspace-test.hio.no/solr/statistics Resolving dspace-test.hio.no... 158.36.78.39 Connecting to dspace-test.hio.no|158.36.78.39|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://dspace-test.hio.no/solr/statistics [following] The last couple of lines show my http request being forwarded to https, with a Moved Temporarily message. Is it possible something similar is happening on your end? If that's the case, you might need to - make an adjustment to solr.log.server in your dspace.cfg file and set it to the final url OR - make an adjustment somewhere else on your system to prevent requests to /solr/statistics from being forwarded/forced to https. --keith - Original Message - From: Trude Eikebrokk trude.eikebr...@hio.no To: dspace-tech@lists.sourceforge.net Sent: Wednesday, April 21, 2010 8:30:09 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Solr error: moved temporarily I'm joining the wave of SOLR-error reports. As I'm unfortunately not a programmer, I'd appreciate any help! I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20. Whenever I try to use solr I get an Moved Temporarily.exception. Below is what happens when I try to convert the log-files. [r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i /opt/dspace/dspace.dir/log/solr.log -m Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics solr.log.2010-03-24 Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24 Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2 ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city = Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194) Processed 1 log lines - 0 entries added to solr: 0% - 1 errors: 100% - 0 search engine activity skipped: 0% About to commit data to solr...Exception: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:85) at org.apache.solr.client.solrj.SolrServer.commit(SolrServer.java:74) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:387) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194) -- Mvh Trude Eikebrokk Oslo University College trude.eikebr...@hio.no 22 45 35 70 p48/S336 -- ___ DSpace-tech mailing list DSpace-tech
Re: [Dspace-tech] Solr error: moved temporarily
Hei Trudde, I'm wondering if your setup is forwarding requests from dspace-test.hio.no:8080 to dspace-test.hio.no (removing the port specification) and if SOLR is having trouble with the (302) redirection. Be sure to check your solr.log.server, in your dspace.cfg file and make sure that doesn't have 8080 in it. You would probably want that to be... solr.log.server = https://dspace-test.hio.no/solr/statistics Also, check to see if you can view the solr frontend from your browser. i.e. go to http://dspace-test.hio.no/solr/ When someone added the forwarding from the servlet port (8080) to apache (80 or omitted on the browser) on that machine, perhaps they only added it for the interfaces in use at the time: jspui, oai, sword, ... but maybe not for solr. So you might need to add a rule for getting to solr as well. Also viewing the /solr page might only work if you can open a browser from the server, as there is a local-only restriction in place. If this is a linux machine, you should be able to see what can be seen locally for solr with the command: wget http://localhost/solr -O - or wget https://dspace-test.hio.no/solr -O - If it says Welcome to Solr in there somewhere that it is working and visible, so then the solr log importer should be working. Versågod Peter Dietz Systems Developer/Engineer Ohio State University Libraries On Wed, Apr 21, 2010 at 10:25 AM, keith.gilbert...@library.gatech.eduwrote: Hi, I think that part of what's happening is that your request to http://dspace-test.hio.no:8080/solr/statistics is being forwarded to somewhere else. See this output from the command line: wget http://dspace-test.hio.no/solr/statistics --2010-04-21 09:12:25-- http://dspace-test.hio.no/solr/statistics Resolving dspace-test.hio.no... 158.36.78.39 Connecting to dspace-test.hio.no|158.36.78.39|:80... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://dspace-test.hio.no/solr/statistics [following] The last couple of lines show my http request being forwarded to https, with a Moved Temporarily message. Is it possible something similar is happening on your end? If that's the case, you might need to - make an adjustment to solr.log.server in your dspace.cfg file and set it to the final url OR - make an adjustment somewhere else on your system to prevent requests to /solr/statistics from being forwarded/forced to https. --keith - Original Message - From: Trude Eikebrokk trude.eikebr...@hio.no To: dspace-tech@lists.sourceforge.net Sent: Wednesday, April 21, 2010 8:30:09 AM GMT -05:00 US/Canada Eastern Subject: [Dspace-tech] Solr error: moved temporarily I'm joining the wave of SOLR-error reports. As I'm unfortunately not a programmer, I'd appreciate any help! I'm running Dspace 1.6.0/Tomcat 6.0.20.0/PostgreSQL, Java version 1.6.0_20. Whenever I try to use solr I get an Moved Temporarily.exception. Below is what happens when I try to convert the log-files. [r...@dspace-test dspace.dir]# bin/dspace stats-log-importer -v -i /opt/dspace/dspace.dir/log/solr.log -m Writing to solr server at: http://dspace-test.hio.no:8080/solr/statistics solr.log.2010-03-24 Processing file: /opt/dspace/dspace.dir/log/solr.log.2010-03-24 Line:2010032431852,view_community,3,2010-03-24T00:00:31,anonymous,129.241.16.2 ip addr = 129.241.16.2, dns name = fw.bibsys.no., country = , city = Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 org.apache.solr.common.SolrException: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update?wt=javabinversion=2.2 at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:343) at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:183) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63) at org.dspace.statistics.util.StatisticsImporter.load(StatisticsImporter.java:361) at org.dspace.statistics.util.StatisticsImporter.main(StatisticsImporter.java:493) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.dspace.app.launcher.ScriptLauncher.main(ScriptLauncher.java:194) Processed 1 log lines - 0 entries added to solr: 0% - 1 errors: 100% - 0 search engine activity skipped: 0% About to commit data to solr...Exception: Moved Temporarily Moved Temporarily request: http://dspace-test.hio.no:8080/solr/statistics/update