[Dspace-tech] Imported Items' Access Denied!
Hello, I am using Dspace 4.2. I created a collection and set its Authorizations to Anonymous Read. I want it to be public and accessible by all users. I did a batch import of many items to this collection but when I try to access any of the imported items, I get This item is restricted eventhough it should be public and enheriting authorizations from its parent collection. This is how older Dspace used to work. Can you please tell me if in this version authorizations have changed? How can I enherit the authorizations from the parent collections to all its items? Thank you. Regards. -- ___ 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] DSpace authorization policies
Hello Marina, I tried your below suggestion on one item and inserted its corresponding entry into the resourcepolicy table. But when I open the item I am still getting an error: This item is restricted You do not have the credentials to access the restricted item hdl:10938/31966. I am sure I have an entry for resource_id 31966 of time 2 and with 0 read and 0 anonymous as you described below. Do I have to do any build or anything after inserting the record? Or might it be reading from another table? Please advise, Thank you! Layale. From: Muilwijk, M. (Marina) [mailto:m.muilw...@uu.nl] Sent: Thursday, April 16, 2015 11:53 AM To: Layale Bassil Cc: Dspace Tech list Subject: Re: [Dspace-tech] DSpace authorization policies Hello Layale, you need the resourcepolicy table. Here's what I use (in DSpace 3.2) to give Anonymous read access to an item: select nextval('resourcepolicy_seq'); (this gets the next resourcepolicy_id) insert into resourcepolicy (policy_id, resource_type_id, resource_id, action_id, epersongroup_id) values ([the resourcepolicy_id], 2, [the id of the item], 0, 0); In this SQL the 2 means a resource of the type item, the first 0 is read and the second 0 is Anonymous. Hope this helps, Marina Op 16 apr. 2015, om 10:18 heeft Layale Bassil l...@aub.edu.lbmailto:l...@aub.edu.lb het volgende geschreven: Hello Terry, Thank you so much for the below info. I checked the PHP code and the queries but still a little lost. What I need should be straighforward since you are familiar with the tables’ structure. I have a list of items and I need to write and SQL Statement in order to set the access to those items Anonymous. I need to know what tables should I edit and what is the ID of the Anonymous secutiry policy, etc… Your help is very much appreciated. Best Regards, Layale. From: Terry Brady [mailto:terry.br...@georgetown.edu] Sent: Monday, April 06, 2015 7:08 PM To: Layale Bassil; Dspace Tech list Subject: Re: [Dspace-tech] DSpace authorization policies We had a similar need, so we developed a set of PHP toolshttps://github.com/Georgetown-University-Libraries/batch-tools/wiki/Quality-control-reports-tailored-to-your-metadata-standards that iterate over every collection / community and report on interesting use cases such as restricted access/embargoed content in each collection. The following SQL fragments might help in your investigation. https://github.com/Georgetown-University-Libraries/batch-tools/blob/master/web/query/queriesEmbargo.php You can wrap these SQL fragments in the following manner select i.owning_collection,count(*) from item i where 1=1 *** insert query fragment *** group by i.owning_collection Terry On Thu, Apr 2, 2015 at 2:44 AM, Layale Bassil l...@aub.edu.lbmailto:l...@aub.edu.lb wrote: Dear All, Thank you so much for your valuable input! However, I would like to be able to do the same but using SQL queries. I don’t have access to run scripts on the server where Dspace is installed. Add to this, I don’t know how to write Ruby code. I need to make a batch change to the access policies of all items older than 50 years (having publication date older than year 1964). I want to make them public (ANONYMOUS). I tried to query the resourcepolicy table, but I didn’t know how can I set the right policy and how to link the item id with the resouce id. Your help is very much appreciated. Regards. From: Brown, Jacob [mailto:j.h.br...@tcu.edumailto:j.h.br...@tcu.edu] Sent: Wednesday, November 12, 2014 9:18 PM To: Mark Diggory; Peter Dietz Cc: Dspace Tech list Subject: Re: [Dspace-tech] DSpace authorization policies I put together (very quickly!) a tiny gem as a wrapper/DSL for creating admin scripts: https://github.com/kardeiz/dscriptor. It basically wraps a set of commands in a block which loads the DSpace jars and configuration, starts the ServiceManager, and then closes the context on exit. The repo contains an example of altering a DSpace object (renaming a collection). There are a lot of convenience methods that could be added to the block context, and I’ll try to add more sample scripts. Currently you kind of have to have some familiarity with Ruby to use this tool (but it wouldn’t be that difficult to add another abstraction layer on top of this). Jacob From: mdigg...@gmail.commailto:mdigg...@gmail.com [mailto:mdigg...@gmail.com] On Behalf Of Mark Diggory Sent: Tuesday, November 11, 2014 3:32 PM To: Peter Dietz Cc: Brown, Jacob; Dspace Tech list Subject: Re: [Dspace-tech] DSpace authorization policies Jacob / Peter, I agree, this is most excellent. The added benefit of not manipulating the database directly is that the Event System is properly activated if you do manipulations, do you have an example that alters DSpace objects? Other thoughts, The ServiceManager could stand to be activated to assure it can be leveraged. Example code:
[Dspace-tech] Fwd: OAI-PMH data provider 2.0 not persistent?
-- Forwarded message -- From: Ondrej Kosarko ko...@centrum.cz Date: 2015-05-27 12:05 GMT+02:00 Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? To: Christian Scheible christian.schei...@uni-konstanz.de Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Hi Christian, I'm not sure I remember all the setup, but here goes... in dspace.cfg there is event.dispatcher.default.consumers = versioning, discovery, eperson, harvester, eudatreplication, *xoai* and # consumer to maintain the oai index event.consumer.xoai.class = cz.cuni.mff.ufal.event.OAIIndexEventConsumer event.consumer.xoai.filters = Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove and you need to make sure the class is found by the event dispatcher, we solve it by adding dspace-oai(where the consumer lives) as a dependency to dspace-xmlui diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml index 17d75c0..f19257f 100644 --- a/dspace-xmlui/pom.xml +++ b/dspace-xmlui/pom.xml @@ -93,6 +93,22 @@ /profiles dependencies + !-- because of event listener that updates oai -- +dependency + groupIdorg.dspace/groupId + artifactIddspace-oai/artifactId +classifierclasses/classifier +/dependency I think that's about it... Regards, OK 2015-05-27 9:05 GMT+02:00 Christian Scheible christian.schei...@uni-konstanz.de: Hi Ondřej, I have seen that you are using your own OAIIndexEventConsumer. We did the same but I added It in the module additions (which leads to code duplication). How do you register your Consumer? Is it the same way as for other consumers? Because I couldn't solve that problem. Best Regards, Christian Am 27.05.2015 um 08:41 schrieb Ondřej Košarko: In short no... As I've suggested in the thread the indexAll should include also the withdrawn, that's what we do https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193 We use our Event consumer to trigger the update (it currently doesn't handle caching and changes in discoverable flag) https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/cz/cuni/mff/ufal/event/OAIIndexEventConsumer.java And by the way dspace changed the deletion mode to transient in https://jira.duraspace.org/browse/DS-2491 so maybe the right way for dspace is updating the documentation... OK 2015-05-26 23:19 GMT+02:00 Jozef Misutka misu...@ufal.mff.cuni.cz: Ondrej, is this happening to us as well? jm -- *From: *Tim Donohue tdono...@duraspace.org *To: *dspace-tech@lists.sourceforge.net *Sent: *Tuesday, 26 May, 2015 23:09:20 *Subject: *Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? Hi All, I'm only just now re-discovering this thread, as I've found this same behavior in DSpace OAI-PMH servers. Here's how to see this behavior (and I've double checked it on http://demo.dspace.org, running 5.2): 1. Create an Item 2. Run the OAI-PMH import (./dspace oai import). 3. The item now appears in OAI-PMH 4. Withdraw that Item 5. Re-Run the OAI-PMH import (./dspace oai import) 6. The Item still appears in OAI-PMH and is NEVER flagged as withdrawn. So, you can still access all its metadata, etc. The ONLY way to trigger an update to the OAI-PMH record (of the withdrawn item) is to re-import EVERYTHING (./dspace oai import -c). However, as noted, since withdrawn items are not included in the XOAI indexAll() command, the item will now disappear from OAI-PMH entirely. Here's that indexAll() command: https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L191 This behavior seems to be counter to what is documented at: https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0%28Internals%29-Deletions The documentation specifically states that DSpace keeps a permanent record of withdrawn items. It also states that a request for a withdrawn item will yield the 'record deleted' header. This sounds like a bug to me. The documentation definitely does not match with the behavior. I've created a new bug ticket for this. It will need a volunteer to resolve. https://jira.duraspace.org/browse/DS-2593 - Tim On 3/6/2015 5:21 AM, helix84 wrote: Yes, that makes sense. Still, it needs a brief verification because sometimes our understanding of a concept and its implementation may differ. On Fri, Mar 6, 2015 at 10:12 AM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi Ivan, I might have overlooked something, but from your comments on https://jira.duraspace.org/browse/DS-2491 wouldnt it be meaningful to do both your declaration change and Ondřej's suggestion in order to match both what is declared and what the documentation says about OAI and deleted items? regards, Kristian
Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent?
Am 27.05.2015 um 12:05 schrieb Ondrej Kosarko: and you need to make sure the class is found by the event dispatcher, we solve it by adding dspace-oai(where the consumer lives) as a dependency to dspace-xmlui Ok I think that part is the magic. Thank you for your quick response. -- Christian Scheible Softwareentwickler / Abt. Content-basierte Dienste Kommunikations-, Informations- und Medienzentrum (KIM) Universität Konstanz 78457 Konstanz +49 (0)7531 / 88-2857 Raum B 703 -- ___ 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] DSpace community and collectionnumber of publications summary
Hello Euler, I am thanking you for your reply. It hellps me to achieve my goal. Thank you very much. Regards Ally Hi Ally, In your dspace.cfg, look for webui.strengths.show, uncomment and change the value to true. Restart tomcat. Hope this helps. Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/DSpace-community-and-collectionnumber-of-publications-summary-tp4677985p4677990.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 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] Adding more publication types
Hello Perez, I tried and am thanking you it works i was abled to add more publications types. Regards Ally Bitebo Hi Ally, Perhaps these links will help. https://wiki.duraspace.org/display/DSDOC4x/Submission+User+Interface#SubmissionUserInterface-TheStructureofinput-forms.xml https://wiki.duraspace.org/display/DSPACE/Alter+submission+input+forms https://wiki.duraspace.org/display/DSpaceKB/Metadata+Input+Customization+-+Batch+Metadata+Editing Essentially you need to edit [dspace]/config/input-forms.xml, and add a field that contains the metadata field you want to collect. Or, if you are trying to add an additional type to the list of types, edit the common_types value-pairs to add an additional pair. https://github.com/DSpace/DSpace/blob/master/dspace/config/input-forms.xml#L263 If you are adding a new Dublin Core field (dc.some.field) to the input form, then ensure you edit your metadata registry to add that field. After you edit the input-forms.xml, you will need to restart tomcat for the change to take effect. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Fri, May 22, 2015 at 4:13 AM, allybit...@udsm.ac.tz wrote: Dear All, Hello, I am a new bee in this Dspace software i managed to configure Dspace 5.1 on windows and now i am in the position to customize it but my question is how to add new publication type like conference paper or masters or phd thesis in the input form type field. Please any help or proper directions to achieve this functionality. Regards Ally -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 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] Integration with mendeley
Dear colleagues, I have want to add to a dspace site the possibility of sending data to mendeley. I am using a link similar to this one: https://www.mendeley.com/import/?url=http://hdl.handle.net/1/1 https://www.mendeley.com/import/?url=http://hdl.handle.net/1/8267111 The problem is that the PDF files are not being uploaded to the mendeley database, and not all the metadata (in particular the date.issue) are being saved in the mendeley record. In other dspace installations, I have seen that - when you navigate to the https://www.mendeley.com/import/?url=http:// page, a checkbox appears asking Download PDFs if available, but in my case I cannot see this option. Do you have any additinal info on how to set up the integration between dspace and mendeley to ensure that both the PDFs and the date.issue metadata are exported? Thanks in advance, -- RICARDO EITO BRUN Universidad Carlos III de Madrid -- ___ 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] Unsubscribe
goran_i...@bcit.ca -- ___ 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] Can I move GeoLiteCity.dat?
Hi David, If your low on space, try to see where your biggest users of data is: du -ch --max-depth=1 /home/dspace/ (Or wherever dspace is installed) You can usually delete any old *bak* directories. i.e. webapps.bak.2015... I'm also guessing that perhaps your assetstore could be using a large amount of space. You could point the assetstore to another filesystem. We've got a work in progress for using Amazon S3 for asset storage, to offload responsibility of keeping them safe, and managing large disk usage. Also, if you have old logs, you can delete, or compress old logs, or ship them away to a log server. If you've done batch imports, and left the old batch packages around, that could add up. Check the DSpace temp directories, to see that they are not filling up with junk. SOLR and Elastic Search can get pretty big. You could also provision a larger disk, rsync, shutdown, swap, start up. Peter Dietz Longsight www.longsight.com pe...@longsight.com p: 740-599-5005 x809 On Fri, May 22, 2015 at 3:09 PM, Monika C. Mevenkamp moni...@princeton.edu wrote: there is a setting in dspace/config/modules/solr-statistics.cfg:dbfile = ${dspace.dir}/config/GeoLiteCity.dat if you are using solr stats you can probably move the fie, if you adjust the config accordingly Monika Monika Mevenkamp phone: 609-258-4161 Princeton University, Princeton, NJ 08544 On May 22, 2015, at 12:16 PM, Schuster, David dschus...@mail.twu.edu wrote: This is growing quite large on my system and about to fill up my home directory… I have moved the logs etc.. to another point through the config files, but I don’t see that I can point this in another direction. /home/dspace/config – is where it lives and mine has grown to about 17216036… Suggestions, recommendations? My home directory was setup small when we started newbie on my own I didn’t know how this might impact me in the future. My drive is setup with LVS but we have used all of the original space allocated for that. Looking for suggestions for best direction. David Schuster Texas Woman's University Director of Library Information Technology Technical Support Phone: 940-898-3909 dschus...@twu.edu image001.png -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ 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 -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 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] DSpace 5.2, Tomcat 8, JSPUI and servlet-api version problems?
Sorry, my previous post was a bit terse. DSpace should not be including *any* version of servlet-api.jar in its webapp.s. The Servlet spec. requires that this be provided by the container. The PR previously mentioned is meant to prevent servlet-api being pulled in. I would be interested to learn whether this patch is helpful. -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] Fwd: OAI-PMH data provider 2.0 not persistent?
Hi Ondřej, I wonder if you'd be willing to submit a Pull Request of these changes (the new OAIIndexEventConsumer, etc)? These seem like potentially useful changes overall, and would be something we'd consider adding to DSpace. My only (small) recommendation would be to simply put the OAIIndexEventConsumer into the dspace-api, so that it can be easily enabled/disabled from the event.dispatcher.default.consumers setting. Plus, if it's in the dspace-api, that ensures it'd also be triggered by any updates from other interface (XMLUI, JSPUI, REST, etc) - Tim On 5/27/2015 5:08 AM, Ondřej Košarko wrote: -- Forwarded message -- From: *Ondrej Kosarko* ko...@centrum.cz mailto:ko...@centrum.cz Date: 2015-05-27 12:05 GMT+02:00 Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? To: Christian Scheible christian.schei...@uni-konstanz.de mailto:christian.schei...@uni-konstanz.de Cc: dspace-tech@lists.sourceforge.net mailto:dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net mailto:dspace-tech@lists.sourceforge.net Hi Christian, I'm not sure I remember all the setup, but here goes... in dspace.cfg there is event.dispatcher.default.consumers = versioning, discovery, eperson, harvester, eudatreplication, *xoai* and # consumer to maintain the oai index event.consumer.xoai.class = cz.cuni.mff.ufal.event.OAIIndexEventConsumer event.consumer.xoai.filters = Community|Collection|Item|Bundle|Bitstream+Add|Create|Modify|Modify_Metadata|Delete|Remove and you need to make sure the class is found by the event dispatcher, we solve it by adding dspace-oai(where the consumer lives) as a dependency to dspace-xmlui diff --git a/dspace-xmlui/pom.xml b/dspace-xmlui/pom.xml index 17d75c0..f19257f 100644 --- a/dspace-xmlui/pom.xml +++ b/dspace-xmlui/pom.xml @@ -93,6 +93,22 @@ /profiles dependencies + !-- because of event listener that updates oai -- +dependency + groupIdorg.dspace/groupId + artifactIddspace-oai/artifactId +classifierclasses/classifier +/dependency I think that's about it... Regards, OK 2015-05-27 9:05 GMT+02:00 Christian Scheible christian.schei...@uni-konstanz.de mailto:christian.schei...@uni-konstanz.de: Hi Ondřej, I have seen that you are using your own OAIIndexEventConsumer. We did the same but I added It in the module additions (which leads to code duplication). How do you register your Consumer? Is it the same way as for other consumers? Because I couldn't solve that problem. Best Regards, Christian Am 27.05.2015 um 08:41 schrieb Ondřej Košarko: In short no... As I've suggested in the thread the indexAll should include also the withdrawn, that's what we do https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193 We use our Event consumer to trigger the update (it currently doesn't handle caching and changes in discoverable flag) https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/cz/cuni/mff/ufal/event/OAIIndexEventConsumer.java And by the way dspace changed the deletion mode to transient in https://jira.duraspace.org/browse/DS-2491 so maybe the right way for dspace is updating the documentation... OK 2015-05-26 23:19 GMT+02:00 Jozef Misutka misu...@ufal.mff.cuni.cz mailto:misu...@ufal.mff.cuni.cz: Ondrej, is this happening to us as well? jm *From: *Tim Donohue tdono...@duraspace.org mailto:tdono...@duraspace.org *To: *dspace-tech@lists.sourceforge.net mailto:dspace-tech@lists.sourceforge.net *Sent: *Tuesday, 26 May, 2015 23:09:20 *Subject: *Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? Hi All, I'm only just now re-discovering this thread, as I've found this same behavior in DSpace OAI-PMH servers. Here's how to see this behavior (and I've double checked it on http://demo.dspace.org, running 5.2): 1. Create an Item 2. Run the OAI-PMH import (./dspace oai import). 3. The item now appears in OAI-PMH 4. Withdraw that Item 5. Re-Run the OAI-PMH import (./dspace oai import) 6. The Item still appears in OAI-PMH and is NEVER flagged as withdrawn. So, you can still access all its metadata, etc. The ONLY way to trigger an update to the OAI-PMH record (of the withdrawn item) is to re-import EVERYTHING (./dspace oai import -c). However, as noted, since withdrawn items are not included in the XOAI indexAll() command, the item will now disappear from OAI-PMH entirely.
Re: [Dspace-tech] DSpace 5.2, Tomcat 8, JSPUI and servlet-api version problems?
Hi Michael, Perhaps this post from SO [1] can help you. Although I can see that you already updated your pom files. [1] http://stackoverflow.com/q/29797833/1919069 http://stackoverflow.com/q/29797833/1919069 Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/DSpace-5-2-Tomcat-8-JSPUI-and-servlet-api-version-problems-tp4678049p4678050.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] Simple item view dc.contributor.author
Folks, I'm having an issue with predictably configuring the simple item display and am hoping for some feedback. This issue occurs in DSpace 3.3 (Solaris 9) and 4.2 (Ubuntu Server 14.04). In my dspace.cfg, the first line for web.itemdisplay.default is as follows: webui.itemdisplay.default = dc.title, dc.contributor.author, dc.date.published, dc.type, \ If dc.contributor.author is populated for an item, the author displays fine. If it's empty, but other contributor fields are populated, such as dc.contributor.editor or our custom dc.contributor.authoreid, then those fields magically show up despite not being referenced in the itemdisplay array. I can go back and create a false author and then only that author shows up in the display. In cases where an item doesn't have an author, editor, or internal eid defined, the line is simply blank. Does anyone know how I can define (add/remove) what this will failover to? Is this expected behavior in the first place? If I don't have an author defined, I'd like for the field to respect what I have listed in the config and not toss up other metadata. -Jeff -- ___ 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 5.2, Tomcat 8, JSPUI and servlet-api version problems?
Hi, I've been trying to bring up a brand new install of DSpace 5.2 on a shiny new box with the following: Debian 8 OpenJDK 7U79 Maven 3.0.5 Ant 1.9.4 PostgreSQL 9.4 Tomcat 8.0.14 I've been able to build and deploy, but when I try and access the JSPUI, I get an Internal Server Error (XMLUI works OK, but I want to use JSPUI): Exception: org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: [60] in the generated java file: [/var/lib/tomcat8/work/Catalina/localhost/jspui/org/apache/jsp/index_jsp.java] The method getDispatcherType() is undefined for the type HttpServletRequest Stacktrace: at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:103) at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:199) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:450) Maven is a bit of a dark art to me, but from a bit of Googling (and in particular this thread from DSpace tech http://sourceforge.net/p/dspace/mailman/message/33532346/) the problem seems to be a version issue with servlet-api.jar - DSpace is asking/expecting to use v2.5 whereas Tomcat 8 comes with v3.1, which includes getDispatcherType(). And things are further complicated because they changed the name of the artefact with 3.0.1 . . . The solution appears to be to persuade DSpace to use v3.1 instead of v2.5 (if I'm reading it right?). So, I updated all the pom.xml files in my dspace source tree - I updated the main (top level) pom.xml file to reference the latest version: dependency groupIdjavax.servlet/groupId -artifactIdservlet-api/artifactId -version2.5/version +artifactIdjavax.servlet-api/artifactId +version3.1.0/version /dependency And updated the Artifact ID in all the others (except dspace-rest/pom.xml which appears to already reference v3.1.0 explicitly, although I don't see this coming through when the system is built) - i.e. in the following files: dspace-api/pom.xml dspace-jspui/pom.xml dspace-lni/dspace-lni-client/pom.xml dspace-lni/pom.xml dspace-oai/pom.xml dspace-rdf/pom.xml dspace-services/pom.xml dspace-solr/pom.xml dspace-sword/pom.xml dspace-swordv2/pom.xml dspace-xmlui/pom.xml dspace/modules/additions/pom.xml dspace/modules/jspui/pom.xml dspace/modules/lni/pom.xml dspace/modules/oai/pom.xml dspace/modules/rdf/pom.xml dspace/modules/rest/pom.xml dspace/modules/sword/pom.xml dspace/modules/swordv2/pom.xml dspace/modules/xmlui/pom.xml dspace/pom.xml - the following was changed: dependency groupIdjavax.servlet/groupId -artifactIdservlet-api/artifactId +artifactIdjavax.servlet-api/artifactId scopeprovided/scope /dependency I then ran: mvn clean mvn -U package cd /usr/src/dspace-5.2-src-release/dspace/target/dspace-installer ant -Dconfig=/usr/local/dspace/config/dspace.cfg update - but after re-deploying and restarting tomcat, I still see the same problem :-( I have also tried completely deleting the Maven repository, the installed dspace directory, and all (cached) versions of (expanded) war files, and then running: mvn clean mvn package cd /usr/src/dspace-5.2-src-release/dspace/target/dspace-installer ant fresh_install - but same result :-( I've been round the block a few times trying different things (cleaning everything out, and starting from scratch etc) but have made no progress. From my investigations, it still appears that DSpace is fixated on using v2.5 but I have no idea why - if I search for servlet-api jars, I see the target directories still littered with occurrences of v2.5 (and v2.4!) - v3.1 is in there, but well hidden: # find /usr/src/dspace-5.2-src-release -name '*servlet-api*' -print /usr/src/dspace-5.2-src-release/dspace-oai/target/dspace-oai-5.2/WEB-INF/lib/servlet-api-2.5-20081211.jar /usr/src/dspace-5.2-src-release/dspace-oai/target/dspace-oai-5.2/WEB-INF/lib/servlet-api-2.5.jar /usr/src/dspace-5.2-src-release/dspace-rest/target/dspace-rest-5.2/WEB-INF/lib/servlet-api-2.5-20081211.jar /usr/src/dspace-5.2-src-release/dspace-xmlui/target/dspace-xmlui-5.2/WEB-INF/lib/servlet-api-2.4.jar /usr/src/dspace-5.2-src-release/dspace-xmlui/target/dspace-xmlui-5.2/WEB-INF/lib/servlet-api-2.5-20081211.jar /usr/src/dspace-5.2-src-release/dspace-rdf/target/dspace-rdf-5.2/WEB-INF/lib/servlet-api-2.5-20081211.jar /usr/src/dspace-5.2-src-release/dspace-jspui/target/dspace-jspui-5.2/WEB-INF/lib/servlet-api-2.5-20081211.jar /usr/src/dspace-5.2-src-release/dspace/modules/jspui/target/jspui-5.2/WEB-INF/lib/servlet-api-2.5-20081211.jar
Re: [Dspace-tech] More DSpace 5.2 errors
Hi, to do my due diligence, I looked at my original copies of the revised distribution files, and have run jhove on all image files contained within, they are all Well-formed and valid. If you download the latest version of the 5.2 release on SourceForge [1] you should have all you need. --Hardy From: Pottinger, Hardy J. Sent: Wednesday, May 27, 2015 8:43 AM To: Shaun Donovan; DSpace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] More DSpace 5.2 errors Hi, Shaun, can you test the most recent distribution files available on Sourceforge [1] and let me know if the image files are still damaged? Thanks! --Hardy [1] https://sourceforge.net/projects/dspace/files/DSpace%20Stable/5.2/ (modified on 5/22) From: Shaun Donovan [sha...@teqcle.co.za] Sent: Tuesday, May 26, 2015 8:04 AM To: DSpace-tech@lists.sourceforge.net Subject: [Dspace-tech] More DSpace 5.2 errors The images in xmlui/themes/Mirage/images packaged in the 5.2 distribution are also broken. Overwriting with the image directory of DSpace 5.1 fixes the problem. -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ 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 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 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] DSpace 5.2, Tomcat 8, JSPUI and servlet-api version problems?
I think you may be seeing https://jira.duraspace.org/browse/DS-2502 (Incorrect dependencies drag javax.servlet:servlet-api into all webapp.s) There's an untested patch at https://github.com/DSpace/DSpace/pull/953 -- Mark H. Wood Lead Technology Analyst University Library Indiana University - Purdue University Indianapolis 755 W. Michigan Street Indianapolis, IN 46202 317-274-0749 www.ulib.iupui.edu signature.asc Description: Digital signature -- ___ 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] handle server
Hi, On 27 May 2015 at 19:20, Sean Carte sean.ca...@gmail.com wrote: On 26 May 2015 at 23:44, Andrea Schweer schw...@waikato.ac.nz wrote: I use sudo jps -l (jps is like ps but just for JVM processes; the -l option tells it to output the full class name incl package) On one of my production DSpace servers, that currently says: 13042 sun.tools.jps.Jps 1768 org.apache.catalina.startup.Bootstrap 1978 net.handle.server.Main So the first one is jps itself, the second one is tomcat and the third one is the handle service. A few greps less ;) Thanks, Andrea, unfortunately my servers produce output like this: ~# jps -lv 1867 -- process information unavailable 6514 sun.tools.jps.Jps -Dapplication.home=/usr/lib/jvm/java-7-openjdk-amd64 -Xms8m 1636 -- process information unavailable I'm guessing that's because I'm using the OpenJDK? No, my guess it that you aren't running jps as root. It only shows information for the processes owned by the current user. Anyway, ps -ef | grep java | grep handle | grep -v 'grep' gets me the PID I need, so I'll just continue grepping excessively! Sure thing, I just thought I'd mention the jps method in case it's useful for someone! cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] xmlui navbar remove Communities Collections
I need to remove Communities Collecions in the Browse block of the navigation from: Browse: * All of Dspace * Communities Collections * Titles * Authors * Subjects * By Issue Date To: Browse: * All of Dspace * Titles * Authors * Subjects * By Issue Date Thank you for your help. Regards Lic. Pablo Courault Universidad Nacional del Litoral Santa Fe Argentina -- View this message in context: http://dspace.2283337.n4.nabble.com/xmlui-navbar-remove-Communities-Collections-tp4678057.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] OAI-PMH data provider 2.0 not persistent?
In short no... As I've suggested in the thread the indexAll should include also the withdrawn, that's what we do https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L193 We use our Event consumer to trigger the update (it currently doesn't handle caching and changes in discoverable flag) https://github.com/ufal/lindat-dspace/blob/lindat/dspace-oai/src/main/java/cz/cuni/mff/ufal/event/OAIIndexEventConsumer.java And by the way dspace changed the deletion mode to transient in https://jira.duraspace.org/browse/DS-2491 so maybe the right way for dspace is updating the documentation... OK 2015-05-26 23:19 GMT+02:00 Jozef Misutka misu...@ufal.mff.cuni.cz: Ondrej, is this happening to us as well? jm -- *From: *Tim Donohue tdono...@duraspace.org *To: *dspace-tech@lists.sourceforge.net *Sent: *Tuesday, 26 May, 2015 23:09:20 *Subject: *Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? Hi All, I'm only just now re-discovering this thread, as I've found this same behavior in DSpace OAI-PMH servers. Here's how to see this behavior (and I've double checked it on http://demo.dspace.org, running 5.2): 1. Create an Item 2. Run the OAI-PMH import (./dspace oai import). 3. The item now appears in OAI-PMH 4. Withdraw that Item 5. Re-Run the OAI-PMH import (./dspace oai import) 6. The Item still appears in OAI-PMH and is NEVER flagged as withdrawn. So, you can still access all its metadata, etc. The ONLY way to trigger an update to the OAI-PMH record (of the withdrawn item) is to re-import EVERYTHING (./dspace oai import -c). However, as noted, since withdrawn items are not included in the XOAI indexAll() command, the item will now disappear from OAI-PMH entirely. Here's that indexAll() command: https://github.com/DSpace/DSpace/blob/master/dspace-oai/src/main/java/org/dspace/xoai/app/XOAI.java#L191 This behavior seems to be counter to what is documented at: https://wiki.duraspace.org/pages/viewpage.action?pageId=45548245#OAI-PMHDataProvider2.0%28Internals%29-Deletions The documentation specifically states that DSpace keeps a permanent record of withdrawn items. It also states that a request for a withdrawn item will yield the 'record deleted' header. This sounds like a bug to me. The documentation definitely does not match with the behavior. I've created a new bug ticket for this. It will need a volunteer to resolve. https://jira.duraspace.org/browse/DS-2593 - Tim On 3/6/2015 5:21 AM, helix84 wrote: Yes, that makes sense. Still, it needs a brief verification because sometimes our understanding of a concept and its implementation may differ. On Fri, Mar 6, 2015 at 10:12 AM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi Ivan, I might have overlooked something, but from your comments on https://jira.duraspace.org/browse/DS-2491 wouldnt it be meaningful to do both your declaration change and Ondřej's suggestion in order to match both what is declared and what the documentation says about OAI and deleted items? regards, Kristian -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, March 05, 2015 3:46 PM To: Kristian Roberto Salcedo Cc: dspace-tech@lists.sourceforge.net; João Melo Subject: Re: [Dspace-tech] OAI-PMH data provider 2.0 not persistent? Hi Kristian, I think you're right that the declared deletedRecordpersistent/deletedRecord doesn't match how DSpace behaves. I filed a Jira issue and created a pull request to change the declared status to deletedRecordtransient/deletedRecord. https://jira.duraspace.org/browse/DS-2491 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette On Thu, Mar 5, 2015 at 2:52 PM, Kristian Roberto Salcedo k.r.salc...@ub.uio.no wrote: Hi all, In Dspace 4.2 we are currently seeing that our OAI feeds are not being persistent as per these definitions when it comes to deleted (withdrawn) items: http://www.openarchives.org/OAI/openarchivesprotocol.html#deletion https://wiki.duraspace.org/pages/viewpage.action?pageId=34640887#OAI- P MHDataProvider2.0(Internals)-Deletions Withdrawn items do not get the header status=deleted as they should, like in this example: http://webservices.itcs.umich.edu/mediawiki/oaibp/index.php/Deleted_Re cord_Example_1 Withdrawing an item is not reflected in the OAI entry in any way. -- This is our Identify page at the moment: https://www.duo.uio.no/oai/request?verb=Identify -- I believe we're doing everything right regarding config parameters and maintenance of the solr oai index. The only place I can find a persistent-parameter is in this
Re: [Dspace-tech] Odd Characters in Search Results...
Hi, On 28/05/15 15:24, euler wrote: Thanks for this. I just assumed that the original characters in my pdfs were defective somehow (some are defective actually, not OCRed but digital born documents). I would be glad to know how to make sure that the dspace media-filter will use the correct locale and UTF-8 encoding? I may have missed something in the documentation on how to set this. Well -- how are you running the media filter? If you're running it from a crontab on linux, try the line I put into my other reply. Or eg http://www.logikdev.com/2010/02/02/locale-settings-for-your-cron-job/ cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] handle server
On 27 May 2015 at 22:15, Andrea Schweer schw...@waikato.ac.nz wrote: Thanks, Andrea, unfortunately my servers produce output like this: ~# jps -lv 1867 -- process information unavailable 6514 sun.tools.jps.Jps -Dapplication.home=/usr/lib/jvm/java-7-openjdk-amd64 -Xms8m 1636 -- process information unavailable I'm guessing that's because I'm using the OpenJDK? No, my guess it that you aren't running jps as root. It only shows information for the processes owned by the current user. Actually, it's because I *was* running jps as root. It works if I run it as tomcat7: root@ir:~# su - tomcat7 tomcat7@ir:~$ jps 1867 Main 16916 Jps 11270 Bootstrap Thanks, Andrea. Sean -- -- ___ 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] Odd Characters in Search Results...
Hi Andrea, Thanks for this. I just assumed that the original characters in my pdfs were defective somehow (some are defective actually, not OCRed but digital born documents). I would be glad to know how to make sure that the dspace media-filter will use the correct locale and UTF-8 encoding? I may have missed something in the documentation on how to set this. Thanks in advance, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Odd-Characters-in-Search-Results-tp4678061p4678068.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] How to instantiate Dspace Kernel to run integration test of your custom services?
I have try the following code as available in the documentation Dspace Service I am using Dspace 1.8.2 public class Main { public static void main( String[] args) { /* Instantiate the Utility Class */ DSpace dspace = new DSpace(); /* Access get the Service Manager by convenience method */ ServiceManager manager = dspace.getServiceManager(); /* Or access by convenience method for default services */ EventService service = dspace.getEventService(); } } I get Exception in thread main java.lang.IllegalStateException: DSpace kernel cannot be null at org.dspace.utils.DSpace.getServiceManager(DSpace.java:63) at main.java.Main.main(Main.java:25) 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 com.intellij.rt.execution.application.AppMain.main(AppMain.java:140) My code is in Dspace/dspace/src/main/java. I created the java folder. My idea was to have the same dependencies as the Dspace/dspace module, such that to miss nothing. In particular, i was thinking about the configuration file that are in the folder. Nevertheless they are not in an src/main/resource folder, but I am not sure that it has an incidence. I believe this should be related to how the kernel fetch for resource. Every Library that Dspace/dspace/ depends on are added to the class path when running of course. I would like to test service registration and the process to run integration test. Does anyone knows how to do that ? Many thanks in advance M -- View this message in context: http://dspace.2283337.n4.nabble.com/How-to-instantiate-Dspace-Kernel-to-run-integration-test-of-your-custom-services-tp4678064.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] How does the ElasticSearch Dspace integration is set up ?
Hi, would anyone be able to briefly explain how is ElasticSearch integrated with Dspace? I red in a forum somewhere that the integration followed 2 approaches 1 - *As part of the Dspace deployment in tomcat.* This is what the author of the post refers to as: *the Dspace-elasticSearch out-of-the box integration*. The problem with that statement is that I can not see in the source of Dspace, any WebApp (such as the one for SOLR) from which the deployment would happen. The Bottom line is, I cannot see a code that would starts or deploy it. 2- *As an external Service deployed by a third party.* Some cfg file seems to attest that. I have a particular interest in the out-of-the box approach, that is, the approach in which elastic search would come shipped with Dspace. Could someone quickly explain how it works, and where to look to see it. Many thanks, -M- -- View this message in context: http://dspace.2283337.n4.nabble.com/How-does-the-ElasticSearch-Dspace-integration-is-set-up-tp4678065.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] Odd Characters in Search Results...
Hi Bill, I'm having this issues also. I resolved this by adding TEXT in dspace.cfg, ie xmlui.bundle.upload = ORIGINAL, TEXT, METADATA, THUMBNAIL, LICENSE, CC-LICENSE so that I can upload TEXT bundle aside from the ORIGINAL which is pdf. I just made sure that the text file was saved in UTF-8 encoding. The question marks that you're seeing are the extracted text made by dspace media-filter. By uploading a text version and deleting the extracted text, the question marks in search results went away. Hope this help. Regards, euler -- View this message in context: http://dspace.2283337.n4.nabble.com/Odd-Characters-in-Search-Results-tp4678061p4678066.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] Odd Characters in Search Results...
We are noticing in some search results, when it is returning some of the OCR full text, that we get a bunch of question marks where you would have just expect blank spaces in the document. For example see the image below. http://dspace.2283337.n4.nabble.com/file/n4678061/odd_characters_in_results.png Has anyone else run into this in there search results? Thanks, Bill K. -- View this message in context: http://dspace.2283337.n4.nabble.com/Odd-Characters-in-Search-Results-tp4678061.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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] expand and collapse community/collection hierarchy with xmlui mirage
Dear colleagues, I have seen that dspace 5 includes the possibility of expanding and collapsing the collections in the lists of communities/collections pages. I would like to know about a similar solution for dspace 4.x in xmlui (for the mirage theme). I have tried with two implementations described in the web (and in the dspace site) with no success. Any other suggestion? thanks in advance, Ricardo -- RICARDO EITO BRUN Universidad Carlos III de Madrid -- ___ 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] Odd Characters in Search Results...
Hi, On 28/05/15 14:44, euler wrote: I'm having this issues also. I resolved this by adding TEXT in dspace.cfg, ie xmlui.bundle.upload = ORIGINAL, TEXT, METADATA, THUMBNAIL, LICENSE, CC-LICENSE so that I can upload TEXT bundle aside from the ORIGINAL which is pdf. I just made sure that the text file was saved in UTF-8 encoding. The question marks that you're seeing are the extracted text made by dspace media-filter. By uploading a text version and deleting the extracted text, the question marks in search results went away. If that solved the problem for you then my suspicion is that your media filter runs with the wrong locale. You need to make sure that the media filter is using UTF-8. I have LANG=en_NZ.UTF-8 at the top of tomcat's crontab for that reason (you presumably want something other than en_NZ). cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- ___ 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] xmlui navbar remove Communities Collections
Hi Pablo Perhaps this will help. http://wiki.lib.sun.ac.za/index.php/SUNScholar/XMLUI_Theme/M1/Page_Structure#Remove_duplicate_.22Community.22_browse_link_from_the_right_navigation_box Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator Stellenbosch University Library http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html On 27 May 2015 at 22:23, Pablo Courault pcoura...@unl.edu.ar wrote: I need to remove Communities Collecions in the Browse block of the navigation from: Browse: * All of Dspace * Communities Collections * Titles * Authors * Subjects * By Issue Date To: Browse: * All of Dspace * Titles * Authors * Subjects * By Issue Date Thank you for your help. Regards Lic. Pablo Courault Universidad Nacional del Litoral Santa Fe Argentina -- View this message in context: http://dspace.2283337.n4.nabble.com/xmlui-navbar-remove-Communities-Collections-tp4678057.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- ___ 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 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] handle server
On 26 May 2015 at 23:44, Andrea Schweer schw...@waikato.ac.nz wrote: I use sudo jps -l (jps is like ps but just for JVM processes; the -l option tells it to output the full class name incl package) On one of my production DSpace servers, that currently says: 13042 sun.tools.jps.Jps 1768 org.apache.catalina.startup.Bootstrap 1978 net.handle.server.Main So the first one is jps itself, the second one is tomcat and the third one is the handle service. A few greps less ;) Thanks, Andrea, unfortunately my servers produce output like this: ~# jps -lv 1867 -- process information unavailable 6514 sun.tools.jps.Jps -Dapplication.home=/usr/lib/jvm/java-7-openjdk-amd64 -Xms8m 1636 -- process information unavailable I'm guessing that's because I'm using the OpenJDK? Anyway, ps -ef | grep java | grep handle | grep -v 'grep' gets me the PID I need, so I'll just continue grepping excessively! Sean -- -- ___ 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