Re: [Dspace-tech] Solr statistics not showing any numbers

2014-06-13 Thread Anja Le Blanc
Hi Monika,

Could you check the solr.xml to see whether there is a core for 
statistics (core name=statistics instanceDir=statistics /).
If yes, check the log files for error messages. There could be some 
permissions problems (i.e. Tomcat needs write access).

Regards,
Anja

-- 
Anja Le Blanc
Jorum Team
Mimas

On 12/06/2014 17:57, Monika Mevenkamp wrote:
 I enabled solr  by deploying the webapp to my server

 wget 'http://localhost:8080/solr/statistics'  gives a 404
 wget 'http://localhost:8080/solr'gives 200

 so I tried withsolr.server = http://localhost:8080/solr   in
 config/modules/solr-statistics.cfg

 but still no numbers in the UI (I use JSPUI, 1.8) , yes I did restart
 tomcat

 find solr/statistics/data -type f -exec ls -l {} \;

 shows that files have been touched around when I was experimenting with
 solr settings

 What should I try next ?

 Monika



--
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] Exception: Server at http://localhost:8080/solr/search returned non ok status:404, message:Not Found

2014-06-13 Thread Hilton Gibson
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
 org.apache.solr.client.solrj.impl.HttpSolrServer.request(HttpSolrServer.java:180)
 at
 org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:117)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:285)
 at
 org.apache.solr.client.solrj.SolrServer.deleteByQuery(SolrServer.java:271)
 at
 org.dspace.discovery.SolrServiceImpl.cleanIndex(SolrServiceImpl.java:450)
 ... 7 more
 Caused by: org.apache.http.conn.HttpHostConnectException: Connection to
 http://localhost:8080 refused
 at
 org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:190)
 at
 

Re: [Dspace-tech] Exception: Server at http://localhost:8080/solr/search returned non ok status:404, message:Not Found

2014-06-13 Thread Teo Tokis
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

2014-06-13 Thread Teo Tokis
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

[Dspace-tech] DSpace-CRIS module for DSpace 4.1 available for immediate download

2014-06-13 Thread Andrea Bollini
***apologies for cross-posting***

CINECA[1] and the University of Hong Kong (HKU)[2] are pleased to 
announce the immediate availability for download of the first 4.x 
version of the DSpace CRIS module (based on DSpace 4.1):

https://github.com/Cineca/DSpace/releases/tag/dspace-cris-4.1.0

Publications are an important output of the research cycle. They allow 
communication between scholars, and measurement and decision support of 
research amongst research administrators. However there are many other 
equally important entities in research that need description and 
tracking, such as projects, grants, patents, organization units, 
researcher profiles (people), etc. Integrating and contextualizing all 
of these entities along with publications, adds greater value to each 
individual piece, in terms of visibility, discovery, and understanding 
of the total research picture. One name used for such integrations is 
Current Research Information System (CRIS).

http://en.wikipedia.org/wiki/Current_Research_Information_System

This DSpace addon enables the ingestion, storage, display and management 
of metadata and fulltext on these other research entities. This module 
produces a smooth integration between native DSpace items (publications) 
and other CRIS entities. All entities (native DSpace items or new CRIS 
Entities) can be linked with each other using autocomplete/lookup 
functions in the submission edit phase and/or the inter-navigation in 
visualizations.

The updated DSpace CRIS Roadmap can be found here: 
http://cineca.github.io/dspace-cris/roadmap.html

The list of the DSpace-CRIS features can be found here: 
http://cineca.github.io/dspace-cris/features.html

The techinical documentation is available here:
http://cineca.github.io/dspace-cris/doc/technical-documentation.pdf


The major changes from the previous release are:
1. upgrade to DSpace 4.1 and to the bootstrap layout also for the 
DSpace-CRIS pages
2. upgrade to Hibernate 4
3. full support for Oracle (tested on 11.g R2 and 12.c), other than 
PostgreSQL 9.x
4. Easier installation process (as detailed below)


At the technical level we worked hard to make the installation procedure 
easier. To meet this goal we have decided to dismiss the dspace-cris 
GitHub submodule and make all the source available as a fork of the 
DSpace repository. This mean that the 
https://github.com/Cineca/dspace-cris repository is now available only 
for historical reason and for use with old releases. All you need 
starting with the 4.1 version is located in the 
https://github.com/Cineca/DSpace repository. Another change that will 
make easier the DSpace-CRIS installation is the use of the native DSpace 
SOLR webapp this has been possible as Cineca has contributed the SOLR 
upgrade directly to the DSpace codebase in the 4.0 release.

The DSpace-CRIS versions are automatically checked by Travis CI:
4.1.0: https://travis-ci.org/Cineca/DSpace/builds/27450750

Some of this code base has already made its way into general DSpace 
releases.  Other parts of the code base, should the community judge to 
be general enough, will also be contributed to future DSpace releases. 
However we envision that most of this work will be an optional addon, 
which DSpace developers can choose to implement, or not. In the spirit 
of open source, we hope that this DSpace CRIS module will receive wide 
adoption in the DSpace community. We hope that many will find it useful 
and then build further upon this start. To enable this desired 
multilateral collaboration, we ask that you send any inquires directly 
to the dspace mailing lists (mainly dspace-tech at lists.sourceforge.net).

We invite all the interested parties to get in touch with us. Up to now, 
this has been a collaboration between CINECA and HKU. The HKU side is 
supported by funding from the HKU Office of Knowledge Exchange and the 
University Libraries.


A note on mailing list etiquette: 
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[1] http://www.cineca.it/

[2] http://www.hku.hk/



-- 
Andrea Bollini
Soluzioni per la Ricerca Istituzionale
Cineca

Via dei Tizii, 6
00185 Roma, Italy
tel. +39 06 44 486 087 - mob. +39 348 82 77 525
http://www.cineca.it


--
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] Solr statistics not showing any numbers

2014-06-13 Thread Monika Mevenkamp
Anja

It turned out that there was no /dspace/solr directory.   We used to 
run dspace without solr/stats for a long long time and I had simply 
added a link to the solr webapp to tomcat's webapps directory, but did 
not move the solr configs into the install dir. A simple
 ant overwrite_solr_configs
did the trick

Thanks for putting me onto the right track

Monika


On Fri Jun 13 03:11:26 2014, Anja Le Blanc wrote:
 Hi Monika,

 Could you check the solr.xml to see whether there is a core for
 statistics (core name=statistics instanceDir=statistics /).
 If yes, check the log files for error messages. There could be some
 permissions problems (i.e. Tomcat needs write access).

 Regards,
 Anja


--
Monika Mevenkamp
phone: 609-258-4161
Lewis Library,Washington Road and Ivy Lane, Princeton University, 
Princeton, NJ 08544

--
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


[Dspace-tech] Batch update of meta data using SQL?

2014-06-13 Thread Alan Orth
Hi,

We've updated some of our controlled vocabularies for new conventions in
our organization, like TECHNICAL REPORT - REPORT, but now I need to
do a batch update of the stored meta data values.  If it were simply a
collection I'd export the meta data CSV and then change it there, but we
have records across the whole repository which need to be updated.  I
assume SQL is the only way?

I'm not very familiar with DSpace's PostgreSQL schema, so I really need
advice on how to approach this in a safe way.  We're on DSpace 3.1.

Thanks,
-- 
Alan Orth
alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how
to use my telephone. -Bjarne Stroustrup, inventor of C++
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0



signature.asc
Description: OpenPGP digital signature
--
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] Batch update of meta data using SQL?

2014-06-13 Thread James Creel
UPDATE metadatavalue SET text_value = ’REPORT' WHERE text_value = ’TECHNICAL 
REPORT’;

Directly manipulating the database is often the most expedient way to solve a 
problem or get a report, but at the database prompt you are always exactly one 
query away from destroying your DSpace.  This query is fairly safe, but it’s 
very wise to back stuff up first and maybe kill current sessions on the 
system-wide alerts page so nobody loses their work if you have to restore.  
Good luck!



James Creel
Senior Lead Software Applications Developer
Texas AM University Libraries Digital Initiatives
jcr...@library.tamu.edumailto:jcr...@library.tamu.edu





On Jun 13, 2014, at 1039, Alan Orth 
alan.o...@gmail.commailto:alan.o...@gmail.com wrote:

Hi,

We've updated some of our controlled vocabularies for new conventions in
our organization, like TECHNICAL REPORT - REPORT, but now I need to
do a batch update of the stored meta data values.  If it were simply a
collection I'd export the meta data CSV and then change it there, but we
have records across the whole repository which need to be updated.  I
assume SQL is the only way?

I'm not very familiar with DSpace's PostgreSQL schema, so I really need
advice on how to approach this in a safe way.  We're on DSpace 3.1.

Thanks,
--
Alan Orth
alan.o...@gmail.commailto:alan.o...@gmail.com
http://alaninkenya.org
http://mjanja.co.ke
I have always wished for my computer to be as easy to use as my
telephone; my wish has come true because I can no longer figure out how
to use my telephone. -Bjarne Stroustrup, inventor of C++
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0

--
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

--
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