Re: [Dspace-tech] SOLR Statistics problem during upgrade from 4.2 to 5.2 on dev server

2015-06-03 Thread Hilton Gibson
Hi All,

I think I found the problem:
See:
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Statistics/5.X#PLEASE_NOTE:

Regards

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html


On 3 June 2015 at 13:01, Hilton Gibson  wrote:

> Hi All
>
> It's that same old problem - SOLR statistics.
> See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics
>
> After upgrading from DSpace 4.2 to 5.2, I get the following error in
> catalina.out
> 
> Error using query type: 2
> Error using query *:*
> Error using query statistics_type:workflow AND NOT(previousWorkflowStep:
> SUBMIT)
> 
>
> Anybody have a good fix for this?
>
> Cheers
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> Stellenbosch University Library
> http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html
>
>
--
___
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 Statistics problem during upgrade from 4.2 to 5.2 on dev server

2015-06-03 Thread Hilton Gibson
Hi All

It's that same old problem - SOLR statistics.
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/SOLR_Statistics

After upgrading from DSpace 4.2 to 5.2, I get the following error in
catalina.out

Error using query type: 2
Error using query *:*
Error using query statistics_type:workflow AND NOT(previousWorkflowStep:
SUBMIT)


Anybody have a good fix for this?

Cheers

*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html
--
___
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 Statistics problem

2015-02-17 Thread helix84
On Tue, Feb 17, 2015 at 7:56 PM, Nada Abo-Eita  wrote:

> *Server at http://tspace.qu.edu.qa:8080/solr/statistics
>  returned non ok status:500, *
>

I added the answer to your problem to FAQ:

https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ErrorsconnectingtoSolr


Regards,
~~helix84

Compulsory reading: DSpace Mailing 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=190641631&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

[Dspace-tech] Solr Statistics problem

2015-02-17 Thread Nada Abo-Eita
Hi all,

we are getting this solr statistics error in dspace.log:

* org.dspace.app.xmlui.aspect.statistics.StatisticsTransformer @ Error
occurred while creating statistics for home page*

*org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:
Server at http://tspace.qu.edu.qa:8080/solr/statistics
 returned non ok status:500,
message:Internal Server Error*


I tried to run the following command to check if there is any problem with
solr/statistics and there is no problem with that ( I got 200 OK) :

*Command: *wget 10.100.64.41:8080/solr/#/statistics

*Output: *--2015-02-17 21:36:23--  http://10.100.64.41:8080/solr/
  Connecting to 10.100.64.41:8080... connected.
  HTTP request sent, awaiting response... 200 OK

Does any one have an idea why still I am not able to get the statistics in
dspace?
--
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=190641631&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

Re: [Dspace-tech] SOLR statistics problem in DSPACE 3.1

2013-02-07 Thread Carlos Walter Blandon Alvarez
Hi helix84.Thanks four your support. In fact, solr-statistics.cfg file had URL to the repository. I changed it for localhost with port 8080 and it worked.Regards,Walter BlandónAnalista TécnicoCentro Cultural Biblioteca "Luis Echavarría Villegas"Tel: (57) (4) 2619500, extensión 9365E-mail: cblan...@eafit.edu.coUniversidad EAFIT, Medellín, ColombiaEl 02/05/13, helix84   escribió:Hi Carlos,yes, it seems that for some reason DSpace can't connect to Solr inorder to write a log entry. But the message doesn't specify what theconnection was reset (I'm guessing a timeout of 100 secondssomewhere).Verify whether Solr client is listening and can be connected to from localhost:1) Look into [dspace]/config/modules/solr-statistics.cfg at the serverproperty and remember the URL and port number.2) Using that URL, try querying Solr statistics core:wget "http://localhost:8080/solr/statistics/select?indent=on&version=2.2&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=&q=type:0"-O response.xml3) If that fails, run "netstat -tulpn" and check whether there'ssomething listening on that port.4) If that succeeds, check that your firewall isn't blocking that port.5) If that dosn't resolve the problem, enable logging (in[dspace]/config/log4j.properties) in order to determine the moreimmediate cause of error:http://hc.apache.org/httpclient-3.x/logging.html#Log4j_ExamplesRegards,~~helix84Compulsory reading: DSpace Mailing List Etiquettehttps://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-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 statistics problem in DSPACE 3.1

2013-02-05 Thread helix84
Hi Carlos,

yes, it seems that for some reason DSpace can't connect to Solr in
order to write a log entry. But the message doesn't specify what the
connection was reset (I'm guessing a timeout of 100 seconds
somewhere).

Verify whether Solr client is listening and can be connected to from localhost:

1) Look into [dspace]/config/modules/solr-statistics.cfg at the server
property and remember the URL and port number.

2) Using that URL, try querying Solr statistics core:
wget 
"http://localhost:8080/solr/statistics/select?indent=on&version=2.2&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=&q=type:0";
-O response.xml

3) If that fails, run "netstat -tulpn" and check whether there's
something listening on that port.

4) If that succeeds, check that your firewall isn't blocking that port.

5) If that dosn't resolve the problem, enable logging (in
[dspace]/config/log4j.properties) in order to determine the more
immediate cause of error:
http://hc.apache.org/httpclient-3.x/logging.html#Log4j_Examples


Regards,
~~helix84

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

--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-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 statistics problem in DSPACE 3.1

2013-02-05 Thread Carlos Walter Blandon Alvarez
Hi all.We have updated DSpace version of1.8.2 to 3.0, JSPUI interface in Linux Fedora 18. Then we installed version 3.1 and made migrating the database and data to the new version.When trying to view a community, collection or item takes a long time to show, we get the error shown below (from dspace log)We believe that it is the statistics module (solr) but we have not detected the problem. We followed the Solr and Dsicovery wiki but still the problem persists.Any suggestions?2013-02-04 16:49:47,473 INFO  org.dspace.app.webui.servlet.HandleServlet @ anonymous:session_id=81BA151F1004D0162AEA2F0EAB336B21:ip_addr=200.12.186.42:view_community:community_id=92013-02-04 16:49:47,478 INFO  org.dspace.browse.BrowseEngine @ anonymous:session_id=81BA151F1004D0162AEA2F0EAB336B21:ip_addr=200.12.186.42:browse_mini:2013-02-04 16:49:47,483 INFO  org.dspace.app.webui.discovery.DiscoverUtility @ facets for scope, org.dspace.content.Community@27e: 32013-02-04 16:49:47,548 INFO  org.dspace.usage.LoggerUsageEventListener @ anonymous:session_id=81BA151F1004D0162AEA2F0EAB336B21:ip_addr=200.12.186.42:view_community:community_id=92013-02-04 16:51:30,526 ERROR org.dspace.statistics.SolrLogger @ java.net.SocketException: Connection resetorg.apache.solr.client.solrj.SolrServerException: java.net.SocketException: Connection reset        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:480)        at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:246)        at org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:121)        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:106)        at org.dspace.statistics.SolrLogger.postView(SolrLogger.java:232)        at org.dspace.statistics.SolrLoggerUsageEventListener.receiveEvent(SolrLoggerUsageEventListener.java:40)        at org.dspace.services.events.SystemEventService.fireLocalEvent(SystemEventService.java:144)        at org.dspace.services.events.SystemEventService.fireEvent(SystemEventService.java:86)        at org.dspace.app.webui.servlet.HandleServlet.communityHome(HandleServlet.java:498)        at org.dspace.app.webui.servlet.HandleServlet.doDSGet(HandleServlet.java:254)        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.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:472)        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:936)        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)        at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1004)        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$Worker.runTask(ThreadPoolExecutor.java:886)        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)        at java.lang.Thread.run(Thread.java:662)Caused by: java.net.SocketException: Connection reset        at java.net.SocketInputStream.read(SocketInputStream.java:168)        at java.io.BufferedInputStream.fill(BufferedInputStream.java:218)        at java.io.BufferedInputStream.read(BufferedInputStream.java:237)        at org.apache.commons.httpclient.HttpParser.readRawLine(HttpParser.java:78)        at org.apache.commons.httpclient.HttpParser.readLine(HttpParser.java:106)        at org.apache.commons.httpclient.HttpConnection.readLine(HttpConnection.java:1116)        at org.apache.commons.httpclie