Re: [Dspace-tech] Very Slow Download

2015-04-01 Thread Sean Carte
On 31 March 2015 at 16:52, Peter Dietz wrote: > Hi Sean, > > DSpace blocks until it can store the usage event (i.e. download, > collection-page view) before completing the action, i.e. serving a file. > So, if you are using SOLR or Elastic Search, the first time after a tomcat > restart, it has t

[Dspace-tech] moving dspace from 1 server to another

2015-04-01 Thread Webshet, Sisay (ILRI)
Hi all, I want to move my dspace 4.2 instance from one server to another. I just moved my database successfully and showing up communities I copied assetstore and log folders from the old server to the new server However item under a given collection were not visible. Do I need to copy anoth

[Dspace-tech] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Christian Scheible
Hi guys, We are running a DSpace 5.1 instance with about 25000 items on Ubuntu Server 14.04 with OpenJDK 1.7.0_75. We set Xmx to 2g so the JVM has 2 Gigabyte of RAM. If I inspect the memory usage I see that there are about 1900 MiB in use. So most of the memory is used. This leads to OutOfMemor

Re: [Dspace-tech] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Hilton Gibson
Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S05/Ubuntu-14.04#Java_environment_settings_used_for_SUNScholar Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7

Re: [Dspace-tech] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Christian Scheible
Thanks for your quick reply. We will increase the heap size. The question just is if there is a known issue causing more memory to be used? Because it was fine before the upgrade. Best Regards Christian Am 01.04.2015 um 11:39 schrieb Hilton Gibson: Perhaps this will help: http://wiki.lib.sun.

Re: [Dspace-tech] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Hilton Gibson
Hi Christian Perhaps somebody could do Java profiling on some big production systems to see where the RAM goes. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Optimisations/Java Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch Universi

Re: [Dspace-tech] Very Slow Download

2015-04-01 Thread Peter Dietz
> > I would check config/xmlui.xconf, having this commented out, should be >> your best way to avoid this slowdown (but GA won't track that statistics). >> >> https://github.com/DSpace/DSpace/blob/master/dspace/config/xmlui.xconf#L103 >> >> >> > That is commented out. Actually, it is even for the

Re: [Dspace-tech] Very Slow Download

2015-04-01 Thread Sean Carte
On 1 April 2015 at 15:24, Peter Dietz wrote: > I would check config/xmlui.xconf, having this commented out, should be >>> your best way to avoid this slowdown (but GA won't track that statistics). >>> >>> https://github.com/DSpace/DSpace/blob/master/dspace/config/xmlui.xconf#L103 >>> >>> >>> >>

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-04-01 Thread Peter Dietz
The permissions are set by MediaFilterManager , so the individual media filters don't have to account for this permission feature. I did figure out what the issue was thou

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-04-01 Thread Hilton Gibson
Hi All Is this correctly documented then: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/4.X#Step_4F and http://wiki.lib.sun.ac.za/index.php/SUNScholar/Media_Filters/5.X#Permissions Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenb

Re: [Dspace-tech] Generate publicly accessible thumbnails of restricted content

2015-04-01 Thread Peter Dietz
Hi Hilton, Yours looks correct. The publicPermission requires the condensed name, in Java parlance that would be the Class.getSimpleName(), for each media filter, thus the name of the class, or name of the java file for each media filter. I'll call it condensed without spaces form. filter.org.dspa

[Dspace-tech] DSpace OAI records number not changing

2015-04-01 Thread Admire Mutsikiwa
Hi There is a mismatch between the number of records that I get when I run command /home/dspace/dspace/bin/dspace oai import -c -o ( I get 994 records) and what is appearing on http://ir.uz.ac.zw/oai/request?verb=ListRecords

Re: [Dspace-tech] DSpace OAI records number not changing

2015-04-01 Thread Claudia Jürgen
Hello, try cleaning the cache: with the command /home/dspace/dspace/bin/dspace oai clean-cache or by just removing the cached files at /home/dspace/dspace/var/oai/requests Hope this helps Claudia Jürgen Am 01.04.2015 um 15:58 schrieb Admire Mutsikiwa: > Hi > > > > There is a mismatch between t

Re: [Dspace-tech] Very Slow Download

2015-04-01 Thread Brian Freels-Stendel
Good morning, Actually, this aspect doesn't affect the collection of GA stats, just the display within DSpace. There's a limit to the number of hits Google allows for the service (something like 10K, but don't quote me on it.) We have turned it on for admin users and it's well-liked, but we d

Re: [Dspace-tech] moving dspace from 1 server to another

2015-04-01 Thread Monika C. Mevenkamp
This looks like your solr app is not up and running. You need to copy the DSPACE-INST/solr directory as well. Did you copy the solr app along with your jspui/xmlui app ? After restarting your web-server on the new machine try a wget http://localhost:8080/solr to see whether you get a 200 sta

[Dspace-tech] Browse by Type

2015-04-01 Thread Vinay Kumar Sharma
Dear All, I am using Dsapce 4.2 XMLUI, In the navigation bar under *Browse *I want to display Type link immediate after Title. And by clicking that user can browse document by Type. I want to fix following order: - Communities & Collections - By Issue Date - Authors - Titles - *Ty

Re: [Dspace-tech] Browse by Type

2015-04-01 Thread Hilton Gibson
Hi Vinay Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Browse_Indexes/4.X#Browse_Indexes Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808

[Dspace-tech] flyway migration error

2015-04-01 Thread Wally Grotophorst
Trying to install 5.1 on a 4.1 database...on a new server (as a test) but using my 4.1 database that's imported into Postgres before I launch tomcat/dspace. Starts to make the schema conversion, then bombs. This part of the log looks like it's trying to tell me the problem: at org.flywaydb.

[Dspace-tech] javax.servlet.ServletException: Servlet.init() for servlet DSpace REST API on Linux DSpace 5.1

2015-04-01 Thread Angeliki Papaioannou
Hi All, I am havingan issue with REST API on a dspace (5.1 version) on Linux and I wouldappreciate any help. You mayfind below a description of my build and deploy procedure: 1.   I have downloaded the dspace-source5.1 in a windows environment. I installed the following: Java version: 1

Re: [Dspace-tech] Error after install of DSpace 5.1

2015-04-01 Thread George Stanley Kozak
Hi, Everyone: I have been working on debugging the problems that I had upgrading from DSpace 4.x to DSpace 5.x for several days. I went ahead and redid my installs on my development server starting with DSpace 1.82, then upgrading to DSpace 3.3 and then to DSpace 4.3. I am now preparing the up

Re: [Dspace-tech] flyway migration error

2015-04-01 Thread Bill Tantzen
Wally, Here's what I did: dspace=> \d metadatavalue Table "public.metadatavalue" ... ... ... Foreign-key constraints: "$1" FOREIGN KEY (item_id) REFERENCES item(item_id) "$2" FOREIGN KEY (metadata_field_id) REFERENCES metadatafieldregistry(metadata

Re: [Dspace-tech] flyway migration error

2015-04-01 Thread Wally Grotophorst
BINGO! A virtual beer for you! Thanks for the clear statement (no pun intended) of what I needed to do. Worked like a charm. - Wally Bill Tantzen wrote: > Wally, > Here's what I did: > > dspace=> \d metadatavalue > Table "public.metadatavalue" > .

Re: [Dspace-tech] Error after install of DSpace 5.1 (Additional information)

2015-04-01 Thread George Stanley Kozak
Hi, Everyone: I have discovered that when I try to optimize my Solr indexes when I upgraded from DSpace 3.3 to 4.3 (wget 'http://localhost:8080/solr/statistics/update?optimize=true') I get the following errors in the solr logs: ERROR org.apache.solr.core.CoreContainer @ Unable to create core: sta

[Dspace-tech] small change in log4j.props triggers 'unknown protocol error' in XMLUI

2015-04-01 Thread Monika C. Mevenkamp
If I change the line log4j.logger.org.apache.cocoon=INFO, A3 to log4j.logger.org.apache.cocoon=DEBUG, A3 when I restart I get the nasty 'unknown protocol: resource’ error described in my previous message; see

[Dspace-tech] Problem in Authority Control in XMLUI interface

2015-04-01 Thread royopa
Hi I am using the Authority Control in My DSpace instance in field dc.contributor.author, using the LCNameAuthority. When I click in button "Lookup & Add" returns the error "Server indicates error response". How I do to debug this error? I saw in dspace.log but not found related error. Thanks​

Re: [Dspace-tech] Error after install of DSpace 5.1

2015-04-01 Thread Andrea Schweer
Hi George, On 02/04/15 04:22, George Stanley Kozak wrote: I found a problem in my upgrade from 3.3 to 4.3. When I do the optimize of the solr indexes, my optimize of core “search” and “oai” work

Re: [Dspace-tech] Javascript disabled on DSpace?

2015-04-01 Thread Borda, Susan
I’m having this same issue: https://jira.duraspace.org/browse/DS-2368 -susan From: Andrea Schweer mailto:schw...@waikato.ac.nz>> Date: Tuesday, March 31, 2015 at 2:11 PM To: Susan Borda mailto:susan.bo...@montana.edu>>, dspace-tech mailto:DSpace-tech@lists.sourceforge.net>> Subject: Re: [Dspace-

Re: [Dspace-tech] Error after install of DSpace 5.1

2015-04-01 Thread George Stanley Kozak
?Andrea: I'm not sure if you saw my follow up post. Yes, I did see errors in the Solr log. It is: ERROR org.apache.solr.core.CoreContainer @ Unable to create core: statistics Format version is not supported (resource: segment _32 in resource ChecksumIndexInput(MMapIndexInput(path="/cul/app/

Re: [Dspace-tech] Error after install of DSpace 5.1

2015-04-01 Thread Andrea Schweer
Hi, On 02/04/15 12:50, George Stanley Kozak wrote: ​Andrea: I'm not sure if you saw my follow up post.  Yes, I did see errors in the Solr log.  It is:

Re: [Dspace-tech] Javascript disabled on DSpace?

2015-04-01 Thread Andrea Schweer
Hi Susan, what maven version are you using (mvn --version)? I just discovered that Mirage 2 doesn't appear to work with Maven 3.3.1; Maven 3.2.5 is fine. https://jira.duraspace.org/browse/DS-2533 cheers, Andrea On 02/04/15 12:28, Borda, Susan wrote:

Re: [Dspace-tech] Very Slow Download

2015-04-01 Thread Sean Carte
On 1 April 2015 at 16:19, Brian Freels-Stendel wrote: > Actually, this aspect doesn't affect the collection of GA stats, just the > display within DSpace. There's a limit to the number of hits Google allows > for the service (something like 10K, but don't quote me on it.) We have > turned it on

Re: [Dspace-tech] JVM-Memory usage DSpace 5.1

2015-04-01 Thread Christian Scheible
Hi Hilton, I tried psi-probe and other profiling tools but psi-probe didn't work and it seems that the headless OpenJDK is missing some tools like jstat which would help. We increased the memory of our JVM to 4 Gigabyte and will observe how DSpace behaves. Thanks for your help Christian Am