Jan, About errors in OAI output from a given DSPACE installation, maybe because DSPACE OAI sometimes returns "empty" metadata. As I know, because of that you will see these " NullPointerException" messages.
Here at PUCRS OAI was not working due the missing "-Dfile.encoding=UTF-8" in JAVA_OPTS: So, I just created a SH file to set the variable /usr/local/tomcat/bin/setenv.sh with these lines: #!/bin/sh export JAVA_OPTS="${JAVA_OPTS} -Dfile.encoding=UTF-8" then stopped/started tomcat service. And as we are being harvested by OCLC Digital Collections Gateway, it is better use QDC, instead of DC schema, but QDC was not working due an error in the configuration file (qdc.xls). As Joao Melo pointed: http://sourceforge.net/p/dspace/mailman/message/33187611/ "From: João Melo <jmelo@ly...> - 2014-12-29 12:06:46 The QDC xsl definition was actually wrong, there was no root element. The exception being thrown was due to the invalid xml generated. You can easily fix the issue by replacing the qdc.xsl file by the following one https://gist.github.com/lyncodev/a384da4cefc751158315" Regards, Michelângelo Systems Librarian - PCURS - Brazil -----Mensagem original----- De: dspace-tech-requ...@lists.sourceforge.net [mailto:dspace-tech-requ...@lists.sourceforge.net] Enviada em: segunda-feira, 16 de março de 2015 13:43 Para: dspace-tech@lists.sourceforge.net Assunto: DSpace-tech Digest, Vol 107, Issue 47 Send DSpace-tech mailing list submissions to dspace-tech@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to dspace-tech-requ...@lists.sourceforge.net You can reach the person managing the list at dspace-tech-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of DSpace-tech digest..." Today's Topics: 1. Re: DSpace Upgrade from v3.1 to v5.1 (Tim Donohue) 2. Re: BTE OAI import - NullPointerException (Jan Kenter) 3. Mirage2 default XMLUI Theme (Lewatle Phaladi) 4. Re: Mirage2 default XMLUI Theme (Tim Donohue) 5. Item Submission Form & Solr Statistics! (Nada Abo-Eita) ---------------------------------------------------------------------- Message: 1 Date: Fri, 13 Mar 2015 15:35:24 -0500 From: Tim Donohue <tdono...@duraspace.org> Subject: Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1 To: Chelsea Lobdell <clobd...@swarthmore.edu> Cc: dspace-tech@lists.sourceforge.net Message-ID: <55034a0c.2050...@duraspace.org> Content-Type: text/plain; charset=UTF-8; format=flowed Assuming your tomcat user can read this directory: /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/ AND also write to "/var/dspace", then yes, running "ant update" as the tomcat user should work properly. Essentially, that "ant update" command needs to be able to *read* from the [dspace-src]/dspace/target/dspace-installer/ folder, and *write* to your [dspace.dir] (as configured in dspace.cfg). So, based on that, it needs to be run as a user who has both of those access rights. Hopefully that helps! - Tim On 3/13/2015 2:17 PM, Chelsea Lobdell wrote: > Hi Tim, > > Our setup is such that all dspace files are owned by tomcat and group > owned by a group called tomcat. I belong to the tomcat group. Should > the update be run as the tomcat user? Or should I be able to run it > under my own username? Or should I try running it as root? > > Thank, > Chelsea > > > /---------------/ > /Chelsea Lobdell/ > /Library Applications Programmer / Swarthmore College/ > /clobd...@swarthmore.edu / (610)690-6818/ > > ---------------------------------------------------------------------- > -- > *From: *"Tim Donohue" <tdono...@duraspace.org> > *To: *"Chelsea Lobdell" <clobd...@swarthmore.edu> > *Cc: *dspace-tech@lists.sourceforge.net > *Sent: *Friday, March 13, 2015 3:04:08 PM > *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to v5.1 > > Hi Chelsea, > > This sounds like a possible file permissions issue. It sounds like the > user which is running "ant update" may not have access to create > files/directories under your "/var/dspace/solr/" directory. > > So, you may want to check the permissions on "/var/dspace/" (and > everything under that), to see if your user account has proper access > rights to read/write files. > > - Tim > > > On 3/13/2015 1:38 PM, Chelsea Lobdell wrote: > > Hi, > > > > I've gotten to step 6 (Update Dspace Installation**) of the upgrade > > process and my build failed. Here is the output I saw: > > > > BUILD FAILED > > > /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/build.xml:371: > > Failed to copy > > > /usr/local/src/dspace-5.1-src-release/dspace/target/dspace-installer/s > olr-config-temp/authority/conf/admin-extra.html > > to /var/dspace/solr/authority/conf/admin-extra.html due to failed > to > create the parent directory for > > /var/dspace/solr/authority/conf/admin-extra.html > > > > Does this mean I need to manually upgrade the solr indexes? Or can > I > just copy of the file that failed to copy? Forgive me if this is > a > simple question, I am new to supporting this application. > > > > Thanks, > > Chelsea > > > > > > /---------------/ > > /Chelsea Lobdell/ > > /Library Applications Programmer / Swarthmore College/ > > /clobd...@swarthmore.edu / (610)690-6818/ > > > ---------------------------------------------------------------------- > -- > *From: *"Tim Donohue" <tdono...@duraspace.org> > *To: *"Chelsea > Lobdell" <clobd...@swarthmore.edu>, > > dspace-tech@lists.sourceforge.net > *Sent: *Monday, March 9, 2015 > 2:44:51 PM > *Subject: *Re: [Dspace-tech] DSpace Upgrade from v3.1 to > v5.1 > > Chelsea, > > Correct, you can upgrade directly from 3.x > to 5.x per the DSpace 5 > upgrade instructions: > > https://wiki.duraspace.org/display/DSDOC5x/Upgrading+DSpace > > > > - Tim > > > > On 3/9/2015 12:46 PM, Chelsea Lobdell wrote: > > > Hi, > > > > > > We will soon be upgrading our development instance of DSpace and > I just > > wanted to confirm that we can upgrade directly from > version 3.1 to > > version 5.1? Or is there an intermediate step of > upgrading to version > > 4.x first? > > > > > > Thanks, > > > Chelsea > > > > > > /---------------/ > > > /Chelsea Lobdell/ > > > /Library Applications Programmer / Swarthmore College/ > > > /clobd...@swarthmore.edu / (610)690-6818/ > > > > > > > > > > ---------------------------------------------------------------------- > -------- > > Dive into the World of Parallel Programming The Go > Parallel Website, > sponsored > > by Intel and developed in > partnership with Slashdot Media, is your > hub for all > > things > parallel software development, from weekly thought leadership > blogs > to > > news, videos, case studies, tutorials and more. Take a look > and join the > > conversation now. > http://goparallel.sourceforge.net/ > > > > > > > > > > > > _______________________________________________ > > > 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 > > > > > > ------------------------------ Message: 2 Date: Mon, 16 Mar 2015 10:04:06 +0100 From: Jan Kenter <jan.ken...@ulb.uni-bonn.de> Subject: Re: [Dspace-tech] BTE OAI import - NullPointerException To: Kostas Stamatis <kstama...@ekt.gr> Cc: dspace-tech <dspace-tech@lists.sourceforge.net> Message-ID: <55069c86.1080...@ulb.uni-bonn.de> Content-Type: text/plain; charset=windows-1252; format=flowed Hi Kostas, we used different OAI-PMH server to learn how to use the BTE tool: http://digitale-sammlungen.ulb.uni-bonn.de/oai/ --> Was not working, but according to http://validator.oaipmh.com there are some validation problems... http://oai.bibliothek.uni-kassel.de/dspace-oai/request --> Here we got the NullPointerException again. And finally we tried http://eldorado.uni-dortmund.de/dspace-oai/request This try was successful and we didn't get the NullPointerException. Best, Jan Am 13.03.2015 um 16:14 schrieb Kostas Stamatis: > Hi Jan, > > can you please send as the base URL for the OAI-PMH server you are using? > > > Thanks, > > Kostas > > > > On Mar 13, 2015, at 4:29 PM, helix84 <heli...@centrum.sk> wrote: > >> Sending link to the source, hope it helps: >> >> https://github.com/EKT/Biblio-Transformation-Engine/blob/version-0.9. >> 4/bte-io/src/main/java/gr/ekt/bteio/loaders/OAIPMHDataLoader.java#L17 >> 9 >> >> >> Regards, >> ~~helix84 >> >> Compulsory reading: DSpace Mailing List Etiquette >> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette >> >> --------------------------------------------------------------------- >> --------- Dive into the World of Parallel Programming The Go Parallel >> Website, sponsored by Intel and developed in partnership with >> Slashdot Media, is your hub for all things parallel software >> development, from weekly thought leadership blogs to news, videos, >> case studies, tutorials and more. Take a look and join the >> conversation now. http://goparallel.sourceforge.net/ >> _______________________________________________ >> 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 ------------------------------ Message: 3 Date: Mon, 16 Mar 2015 13:57:25 +0000 From: Lewatle Phaladi <lewatle.phal...@wits.ac.za> Subject: [Dspace-tech] Mirage2 default XMLUI Theme To: "dspace-tech@lists.sourceforge.net" <dspace-tech@lists.sourceforge.net> Message-ID: <e4e3e2d709a8ff47ad97f4f9ce681b854149e...@ekho.ds.wits.ac.za> Content-Type: text/plain; charset="utf-8" Hi Dspace Team, Just a question, when is Mirage2 going to be part of DSpace installation by default, without need to open network ports to do separate download of Mirage2 and its dependencies ? Regards, Lewatle <table width="100%" border="0" cellspacing="0" cellpadding="0" style="width:100%;"> <tr> <td align="left" style="text-align:justify;"><font face="arial,sans-serif" size="1" color="#999999"><span style="font-size:11px;">This 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 authorised 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. </span></font></td> </tr> </table -------------- next part -------------- An HTML attachment was scrubbed... ------------------------------ Message: 4 Date: Mon, 16 Mar 2015 10:08:19 -0500 From: Tim Donohue <tdono...@duraspace.org> Subject: Re: [Dspace-tech] Mirage2 default XMLUI Theme To: Lewatle Phaladi <lewatle.phal...@wits.ac.za>, "dspace-tech@lists.sourceforge.net" <dspace-tech@lists.sourceforge.net> Message-ID: <5506f1e3.1020...@duraspace.org> Content-Type: text/plain; charset=windows-1252; format=flowed Hi Lewatle, Mirage 2 is already included in the DSpace 5.x release, so you no longer need to download it separately: https://wiki.duraspace.org/display/DSDOC5x/Release+Notes In DSpace 5, the Mirage 2 theme is not compiled by default (as it takes a lot longer to compile). But, it's easy to enable it during the installation or upgrade process. See the Installation Docs or the Mirage2 docs for more info: https://wiki.duraspace.org/display/DSDOC5x/Installing+DSpace https://wiki.duraspace.org/display/DSDOC5x/Mirage+2+Configuration+and+Customization - Tim On 3/16/2015 8:57 AM, Lewatle Phaladi wrote: > Hi Dspace Team, > > Just a question, when is Mirage2 going to be part of DSpace > installation by default, without need to open network ports to do > separate download of Mirage2 and its dependencies ? > > Regards, > > Lewatle > > This 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 authorised 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. > > > > ---------------------------------------------------------------------- > -------- Dive into the World of Parallel Programming The Go Parallel > Website, sponsored by Intel and developed in partnership with Slashdot > Media, is your hub for all things parallel software development, from > weekly thought leadership blogs to news, videos, case studies, > tutorials and more. Take a look and join the conversation now. > http://goparallel.sourceforge.net/ > > > > _______________________________________________ > 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 > > > ------------------------------ Message: 5 Date: Mon, 16 Mar 2015 19:42:41 +0300 From: Nada Abo-Eita <naboeit...@gmail.com> Subject: [Dspace-tech] Item Submission Form & Solr Statistics! To: dspace-tech <dspace-tech@lists.sourceforge.net> Message-ID: <CAPzkmC7vY5u5-spa+Fpnm=yap_gtvksughw9h9owxruz23a...@mail.gmail.com> Content-Type: text/plain; charset="utf-8" Dear DSpace Community, Kindly, I have two questions related to item submission form and solr statistics. Configuring Item Submission : -------------------------------------------- We are using DSpace XMLUI version 4.2 and we want to enable start submission lookup step in XMLUI, but based on this : https://wiki.duraspace.org/display/DSDOC4x/Submission+User+Interface#SubmissionUserInterface-ConfiguringStartSubmissionLookupStep <https://qumail.qu.edu.qa/owa/redir.aspx?C=_ZEtavdFIk699CUx0QwAPSxHiQKeM9IIZ8m5a8-rprEt_PYC_it4Ri49rfMKT2Zug7Dr_XVhwhA.&URL=https%3a%2f%2fwiki.duraspace.org%2fdisplay%2fDSDOC4x%2fSubmission%2bUser%2bInterface%23SubmissionUserInterface-ConfiguringStartSubmissionLookupStep> It seems that this new feature only available with JSPUI. Is there a way to enable it for XMLUI too? Solr statistics : ------------------ I run the following commands: ./dspace stat-general ./dspace stat-report-general And the statistics generated successfully in my DSpace. (Please find the attached snapshot). However, there is something strange with my statistics. Under the *General overview,* the number of "Archived items" is 46. OTOH, under the *Archive information*, the number of "all items" is 2920. And because all items in my DSpace are already archived then the number of Archived items should be 2920 not 46. Does any one have an idea why it shows only 46 as archived ? Regards, Nada Abo-Eita -------------- next part -------------- An HTML attachment was scrubbed... -------------- next part -------------- A non-text attachment was scrubbed... Name: System-Statistics.png Type: image/png Size: 23997 bytes Desc: not available ------------------------------ ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ------------------------------ _______________________________________________ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech End of DSpace-tech Digest, Vol 107, Issue 47 ******************************************** ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ 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