Re: [Dspace-tech] LDAP Authentication issues
Hi all, Just a quick update for those who responded to my last posting about LDAP authentication issues in DSPace: My user changed their password back to what it had previously been, and then selected a new password once again. The issue (inability to login using the new credentials) is gone, and cannot be reproduced. (Several of us have tried.) Thank you to all who gave of their time and advice. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_jan ___ 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] LDAP authentication failing with: [LDAP\colon; error code 49 - Invalid Credentials]
Hi All, Version 1.8.0, JSPUI. This morning I was contacted by a user who has recently changed their LDAP password as per company security policies. When this user proceeded to login to DSpace they were unable to use their new credentials, triggering the invalid credentials error code in the subject line: [LDAP\colon; error code 49 - Invalid Credentials] (found in the log files.) The odd thing is that this user can still use their old LDAP password and they login successfully. I have checked the authentication.cfg and LDAPAuthentication is enabled, with precedence over PasswordAuthentication, and other users are logging in OK—even with recently changed credentials. I am at a loss as to where to look next? Any ideas? Thank you for your time. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] LDAP authentication failing with: [LDAP\colon; error code 49 - Invalid Credentials]
Hi Helix, Weirder and weirder. I just changed my credentials so that I could recreate the error without the assistance of the affected user, and I cannot recreate the error. The new credentials work fine for me, and my old credentials do not. This user still has the issue in DSpace, yet they can access other systems without error. I have not written any code for storing, saving, or manipulating passwords in DSpace, and the only place in the database that I am aware stores a password is the eperson table, which I have ensured is blank. I have checked with the IT guys, and there is no replication or duplication happening, only one LDAPserver. Any other ideas? Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 [heli...@centrum.sk] Sent: January-28-13 10:56 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] LDAP authentication failing with: [LDAP\colon; error code 49 - Invalid Credentials] Hi Darren, I don't think this can be DSpace's fault. Although DSpace can create an eperson on the first login via LDAP (if autoregister is set to true), it only means that a row in the eperson table is created. The password is not stored in DSpace and the user is always authenticated by trying to bind to LDAP with the specified username/password. If I were you, I'd take a look at your LDAP infrastructure. If you have some kind of replication set up or if you're using custom code to change the password in multiple systems (LDAP being just one of them), the changed password may not yet have propagated to the LDAP server DSpace uses. So try to bind the user using e.g. the ldapsearch utility or any other LDAP client. My bet is that the LDAP server still has the old password. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ 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] Home Paage theme and metadata fields
Hi Parul, The location of the Messages.properties file is irrelevant given the changes that you want to make. You will have to make code changes in the ItemTag.java file—in the render() and renderFull() methods. The dc fields aren't being appended in that section, they are being displayed as they are mapped dc.x.x = value. It is the simple item view that is rendering a masked value, such as author. At the database level, it is not stored as author, Bob, it is stored as dc.contributor, Bob. If you want it to display anything else, you have to tell it what to display. That addresses items #1, 2, and 3 from your list. For #4, that involves code changes to the home.jsp file, and the layout files. The layout files are under the folder layout, and include the default-header.jsp, default-navbar.jsp, etc. You can edit any text or section that you wish, a quick glance at the code should indicate to you where you want to make your changes. If you want step-by-step details on making layout changes, check the Wiki—all of the required information is there. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: Parul dubey [parul.du...@itsl.in] Sent: December-13-12 1:13 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Home Paage theme and metadata fields Hi Still not able to do any changes: 1. Please specify the location of Message. properties file . The problem is , as we view any submissions metadata fields , it looks ok but when we click to Show Full Item Record it shows the metadata value having fields name as dc.contributor.author , dc.description.abstract what I want to do is to remove the term dc.contributor , dc.description which is appended to the fields and view it as simply author , abstract. 2. Also want to know is to possible to remove particular fields while viewing the full Metadata records(ex: field named Subject). 3. Remove the heading named Language and its value from Full meta data fields Summarizing all the above points I want to view full metadata fields like the simple metadata fields only. 4. I just want to remove all the content specified in the right (center) of DSpace Home Page DSPace is Live , Search , Communities and add our own information , also rather than having three blocks there want to have only one block only. Kindly suggest how to resolve these issues as I m working on a project and these are requirements which needs to resolve as soon as possible. Also refer to the screenshots attached. Thanks in Advance Parul Dubey From: shekhar [mailto:shekhar252...@yahoo.co.in] Sent: Tuesday, December 11, 2012 10:41 AM To: Parul dubey Subject: Re: [Dspace-tech] Uploading multiple documents during a submission Hi Parul 1. Add dc.contributor= whatever you want to display on Message.properties file. 2. This is the programming effort. if you want to remove these things you have to change in home .jsp in DSpacesource\dspace-jspui\dspace-jspui-webapp\target\dspace-jspui-webapp-1.6.1 as well as required jsps in DSpacesource\dspace-jspui\dspace-jspui-webapp\target\dspace-jspui-webapp-1.6.1\layout locations. Please note that i am not the part of the Dspace-tech team.when you mail me please dont cc to dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net. it is my personel mail id and whatever i suggest you with my exp. thanks a lot. -- Shekhar From: Parul dubey parul.du...@itsl.in To: 'shekhar' shekhar252...@yahoo.co.in Cc: dspace-tech@lists.sourceforge.net Sent: Monday, 10 December 2012 4:16 AM Subject: RE: [Dspace-tech] Uploading multiple documents during a submission Thanks for your reply.. 1. Please suggest how to remove the dc .contributor text while viewing the metadata . Also is there a possibility to restrict the metadata fields view to particular users.i.e User 1 would able to see particular metadata fields and User 2 the remaining ones. 2. Also how to remove the DSPace at my university , Search , Communities complete block from home page. i.e. to fully customize the home page DSapce version 1.8.2 JSPUI Operating Systems : Windows Thanks Parul From: shekhar [mailto:shekhar252...@yahoo.co.in] Sent: Monday, December 10, 2012 11:35 AM To: parul.du...@itsl.in Subject: Re: [Dspace-tech] Uploading multiple documents during a submission Hi Parul 1. You can upload more than one document when uploading the bitstream. 2. Add it on Message.properties file, 3. change the content of news-side.html and news-top.html file. -- Shekhar From: Parul Dubey parul.du...@itsl.in To: dspace-tech@lists.sourceforge.net Sent: Friday, 7 December 2012 10:02 PM Subject: [Dspace-tech] Uploading multiple documents during a submission Hi All 1. How to upload multiple documents during the submission of an Item.For ex: I have to submit details regarding an event having 10
[Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on partial rebuilds
Hi all, I am using DSpace 1.8.0 and JSPUI in my instance. I am having an issue with some modified code being ignored after a partial rebuild of DSpace. I altered the ItemTag.java class in the dspace-jspui directory. I added code that displays URL information as an actual link, as opposed to the plain text default, and performed a full rebuild: cd D:\dspace-1.8.0-source\ mvn clean package cd dspace\target\dspace-1.8.0-build ant update then copy the appropriate folders and files to Tomcat and restart the server. The code works perfectly after this is done. Then, when I do a partial rebuild for whatever reason (usually a small VIEW-layer change) like so: cd D:\dspace-1.8.0-source\dspace\ mvn clean package cd target\dspace-1.8.0-build ant update then copy the appropriate folders and restart the server The code now does not work anymore, and the links are once again displayed as plain text. I am fairly certain at this point that it is my lack of knowledge concerning MVN and/or ANT that is causing this. Could anyone direct me as to what the cause of my current sorrow is, and where I might learn more about it? Thank you very much for your time. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on partial rebuilds
Hi Ivan, That did the trick! Thank you very much! I place all of my modified JSPs in [dspace-source]/dspace/modules/..., but I did not realize that we could add new directories—containing the modified API code—that would then overlay the originals as well. I've done quite a few full builds that were unnecessary given that this is possible—I wish I had asked sooner! I haven't seen Tim's presentation yet, but I intend to. Thanks again. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 [heli...@centrum.sk] Sent: November-22-12 1:58 PM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Modifications to DSPACE-JSPUI code being ignored on partial rebuilds Hi Darren, quick build serves to rebuild things like overlays, which reside in [dspace-source]/dspace/modules. I almost never use it, so I'm not sure, but I don't think it rebuilds the JSPUI jars. ItemTag is located in dspace-jspui/dspace-jspui-webapp/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java. I think you need to place it into [dspace-source]/dspace/modules/jspui/src/main/java/org/dspace/app/webui/jsptag/ItemTag.java, which will overlay the original file in the original location. Then changes to this file should apear after the quick rebuild. Can you try and report back? You can learn more background about overlays in Tim's presentation: https://www.ideals.illinois.edu/handle/2142/11915 Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] (no subject)
Thank you very much for this—I truly appreciate the effort that you put in to answering questions and following up with them later on. There is plenty enough here for me to work from if I do indeed implement this feature. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 [heli...@centrum.sk] Sent: November-01-12 6:11 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] (no subject) On Thu, Oct 25, 2012 at 4:34 PM, helix84 heli...@centrum.sk wrote: There was some work done at University of Cambridge to turn it into a dark archive, but I think it would be outdated (incomplete) by now. There was one more specific page but this is all I can find now [2]. Found it, here it is: http://tools.dspace.cam.ac.uk/dark_items.html Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] (no subject)
Hi all, (JSPUI, 1.8.0) I have been asked to make a change to the way that our DSpace instance works. I have been asked to change the system so that users may not view content that they do not have any permissions on. In other words, if there were a collection that I had no permission to access, then I should not be able to see a list of items/sub-collections in said collection, nor should I be able to view any of the metadata—I shouldn't even be aware that it exists. I do not know how to implement this, short of setting up a private AND a public facing instance of DSpace—has anyone made such a modification to the system? Is it possible? Any advice would be appreciated. Thank you for your time. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changing Browse layout in JSPUI
Hi Gary, I did a full rebuild, using the following commands: cd [dspace-source] mvn clean package cd dspace/target/dspace-1.8.0-build/ ant -Dconfig=D:/dspace/config/dspace.cfg update After this failed, and I sent the email to the community, I experimented with the BrowseListTag.java class. I added my desired column to the static initializer block in that class, effectively changing the classes DEFAULTs to include my new column. After rebuilding the new column appears just as it should have originally. This would seem to indicate that, for whatever unknown reason, the BrowseListTag.java class is always using its DEFAULTs rather than what it has read (or attempted to read) from the configuration file. While I have achieved the desired outcome by editing the Tag directly, I am still investigating this matter as this is not the correct behaviour. Does anyone have any tips/guides/HOW-TOs on debugging DSpace? It would be very nice to be able to step through the code at runtime and see what is happening. Thanks for any and all assistance! Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: Gary Browne [gary.bro...@sydney.edu.au] Sent: October-17-12 6:38 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Changing Browse layout in JSPUI Hi Darren, Can you show us the commands you used to rebuild? Did you do an ant init_configs to copy the dspace.cfg changes over? In 1.8.0 I believe the procedure for rebuilding is: cd [dspace-source] mvn package cd dspace/target/dspace-1.8.0-build/ ant init_configs Regards, Gary GARY BROWNE | Development Programmer Library IT Services | Fisher Library F03 THE UNIVERSITY OF SYDNEY T +61 2 9351 5946 | M +61 405 647 868 E gary.bro...@sydney.edu.au | W http://sydney.edu.au Sent from my plain old desktop computer. CRICOS 00026A This email plus any attachments to it are confidential. Any unauthorised use is strictly prohibited. If you receive this email in error, please delete it and any attachments. Please think of our environment and only print this e-mail if necessary. -Original Message- From: Darren Arsenault [mailto:arse...@algonquincollege.com] Sent: Thursday, 18 October 2012 5:14 AM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Changing Browse layout in JSPUI Hi all, I have a question about changing the browse layout in jspui (DSpace Vers: 1.8.0): I have edited dspace.cfg uncommenting the line: # webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, dc.contributor.* and adding a column for the TYPE: webui.itemlist.columns = thumbnail, dc.date.issued(date), dc.title, dc.contributor.*, dc.type.* But when I restart Tomcat (as per the How-To-Guide) there was no change. I then did a full rebuild, copied the new files to Tomcat, and restarted it. Also no change. Is there something that I am missing here? I had thought that this would be a 5-minute task, and it has suddenly eaten up my afternoon. Thanks for any help. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_sfd2d_oct ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] HELP
Hi Sharika, I haven't looked at the file yet, but if the file is actually named dspace.cfg.cfg as the version that I downloaded is, then that would explain why the system cannot find a file named dspace.cfg. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: sharika menon [sharika.me...@tges.org] Sent: October-18-12 1:56 AM To: Tim Donohue Cc: dspace-tech Subject: Re: [Dspace-tech] HELP Hi All, Extremely sorry for the late reply. Here's the attached file of dspace.cfg On Tue, Oct 16, 2012 at 9:44 PM, Tim Donohue tdono...@duraspace.orgmailto:tdono...@duraspace.org wrote: Sharika, In order to install DSpace you will have had to made some changes to your 'dspace.cfg' file. My comment was just regarding the values you set in your dspace.cfg file when you installed DSpace. It's possible you may have set the dspace.dir setting improperly. If you could either send us a copy of that file or send us the value you have for dspace.dir setting in that file, we may be able to let you know if anything is incorrect. - Tim On 10/15/2012 11:40 PM, sharika menon wrote: Hello everyone! But I have not made any changes in DSpace directory except putting DSpace on LAN. Shall I attach DSpace configuration file. If you could figure out as to what went wrong. On Fri, Oct 12, 2012 at 9:01 PM, Tim Donohue tdono...@duraspace.orgmailto:tdono...@duraspace.org mailto:tdono...@duraspace.orgmailto:tdono...@duraspace.org wrote: You may want to double check your settings in dspace.cfg. On Windows, any paths in that file should use forward slashes (/) instead of backwards slashes (\). So, for example: dspace.dir = C:/dspace Based on your error logs, it looks like it may be possible that your setting for dspace.dir is incorrectly set at C:\dspace or similar - Tim On 10/12/2012 4:12 AM, sharika menon wrote: Pls find the attached log file of today. I hope its helpful for resolving the issue. Pls let me now if you need the log file of the first time the error generated. On Fri, Oct 12, 2012 at 11:44 AM, helix84 heli...@centrum.skmailto:heli...@centrum.sk mailto:heli...@centrum.skmailto:heli...@centrum.sk mailto:heli...@centrum.skmailto:heli...@centrum.sk mailto:heli...@centrum.skmailto:heli...@centrum.sk wrote: On Fri, Oct 12, 2012 at 5:17 AM, sharika menon sharika.me...@tges.orgmailto:sharika.me...@tges.org mailto:sharika.me...@tges.orgmailto:sharika.me...@tges.org mailto:sharika.me...@tges.orgmailto:sharika.me...@tges.org mailto:sharika.me...@tges.orgmailto:sharika.me...@tges.org__ wrote: Message: FAIL - Application at context path /jspui could not be started This is only the consequence of some previous error. Look for SEVERE, ERROR and WARN messages and send also the lines around it to provide more context. Regards, ~~helix84 -- Happy Networking!! Warm Regards, Sharika Menon */Be who you really are. – If you’re lucky enough to have something that makes you different from everybody else, don’t change. Uniqueness is priceless. In this crazy world that’s trying to make you like everyone else, find the courage to keep being your awesome self. And when they laugh at you for being different, laugh back at them for being the same. It takes a lot of courage to stand alone, but it’s worth it. Being YOU is worth it!/* --__--__-- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-__dev2dev http://p.sf.net/sfu/newrelic-dev2dev _ DSpace-tech mailing list DSpace-tech@lists.sourceforge.__net mailto:DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/__lists/listinfo/dspace-tech https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Happy Networking!! Warm Regards, Sharika Menon */Be who you really are. – If you’re lucky enough to have something that makes you different from everybody else, don’t change. Uniqueness is priceless. In this crazy world that’s trying to make you like everyone else, find the courage to keep being your awesome self. And when they laugh at you for being different, laugh back
[Dspace-tech] uninstalling an instance of dspace
Hi All, I was wondering if anyone might be able to direct me to some info on uninstalling a DSpace instance. I am setting up a testing copy of our production instance (1.8.0, JSPUI as main interface) on another server, and I have just discovered that the person who worked on this project before me had already attempted to install DSpace 1.7.2 on this server. This instance is not operational, it is not in the correct directory structure (I want it to match prod), does not use Tomcat 7, etc., so rather than fixing this instance and doing an upgrade, I would prefer to delete it and do a clean install of DSpace. Is there anything that I need to know about this process that isn't intuitive? There is no data to worry about, so it seems as simple as dropping/recreating the database, deleting the [dspace] and [dspace-source] directories of the 1.7.2 instance, and then installing the new instance. Am I missing any key step(s) here? Any help is greatly appreciated—Thanks! Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] uninstalling an instance of dspace
Hi Helix, Thanks for the speedy reply. I wish that I could just use a disk image, but unfortunately the testing server is shared space. When you say to match the versions of the dependencies, do you mean that they all have to match PROD, or that they have to meet the requirements. For example, Maven in PROD is version 3.0.3, but on the test server it is version 2.2.1. This meets the requirement, but it is not a match—is this an issue? Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 [heli...@centrum.sk] Sent: October-12-12 10:22 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] uninstalling an instance of dspace On Fri, Oct 12, 2012 at 4:14 PM, Darren Arsenault arse...@algonquincollege.com wrote: There is no data to worry about, so it seems as simple as dropping/recreating the database, deleting the [dspace] and [dspace-source] directories of the 1.7.2 instance, and then installing the new instance. Sounds right. You may also have something left in the Tomcat configuration that normally doesn't change one DSpace version to the next, but you will want to match that with your production server, too (server.xml and/or $CATALINA_HOME/conf/Catalina/localhost/*). Make sure to match the versions of all dependencies: https://wiki.duraspace.org/display/DSDOC18/Installation#Installation-PrerequisiteSoftware If fact, I wouldn't bother with doing all that. Why not just dump the disk image to the other server, change network and hostname settings and be sure you have a 1:1 copy? Even easier to do that if it's a VM. Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] uninstalling an instance of dspace
Hi Helix, Thanks again for the quick response. This new instance is meant to be a playground, so calling it a test server was a misnomer on my part. I appreciate the info you have given me. Thank you for your time. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 [heli...@centrum.sk] Sent: October-12-12 10:40 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] uninstalling an instance of dspace On Fri, Oct 12, 2012 at 4:36 PM, Darren Arsenault arse...@algonquincollege.com wrote: When you say to match the versions of the dependencies, do you mean that they all have to match PROD, or that they have to meet the requirements. For example, Maven in PROD is version 3.0.3, but on the test server it is version 2.2.1. This meets the requirement, but it is not a match—is this an issue? In case it's a staging server, ideally they should match 1:1 (OS, updates, dependencies, dspace and even dspace data). If it's just your playground, then it doesn't matter too much, but the closer they are, the easier the deployments should be. Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changes to ItemTag.java reverting to original code after partial build
Hi all, JSPUI and 1.8.0 I am having an issue with a code change that I have made. I edited ItemTag.java to change the way that certain items appeared in the full item record display. After a full rebuild, all of the changes that I made had taken effect and I considered the task complete, but then after I performed a partial rebuild (just the modules in [dspace-source]/dspace/) my changes were reverted. Upon investigating, I see that the JAR file dspace-api-1.8.0.jar has been recreated with the original code for ItemTag.java. For a partial rebuild I originally ran: D:\dspace-1.8.0-source\dspace mvn clean package D:\dspace-1.8.0-source\dspace\target\dspace-1.8.0-build ant update then I used XCOPY to copy the directories for JSPUI and XMLUI to Tomcat, and restart the server. (JSPUI is the official interface, but we keep both active.) I changed my method and now use ant build_wars instead, which solves the immediate problem, but leaves me confused— How is the JAR file being recreated with the original code? To my knowledge, ItemTag.java only exists in one place in the source code, and I have edited it to include my customizations... Can anyone explain this to me? Thanks for your time. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changes to ItemTag.java reverting to original code after partial build
Hi Helix, I think you misunderstood me, I apologize for my lack of clarity. I was describing the way that I do a partial build, that is to say: D:\dspace-1.8.0-source\dspace mvn clean package The full rebuild that I performed was completely successful. Run from D:\dspace-1.8.0-source mvn clean package. After the full rebuild the code worked perfectly—dates were formatted for my timezone, the approrpiate fields were displayed as links, etc. Then I made a change to a JSP (changing the order of menu items in navbar-default.jsp) and performed another partial rebuild to update the JSP. (D:\dspace-1.8.0-source\dspace mvn clean package) The changes to the navbar took effect, but I was surprised to see that the other changes, to the item display, had reverted. I looked at the JAR files in the DSpace directory using a Java decompiler, and my code changes are no longer there. Performing another full rebuild (D:\dspace-1.8.0-source mvn clean package) corrected the item display. Why does this happen? Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: ivan.ma...@gmail.com [ivan.ma...@gmail.com] On Behalf Of helix84 [heli...@centrum.sk] Sent: October-04-12 9:53 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Changes to ItemTag.java reverting to original code after partial build Hi Darren, I think you're running into the same problem as Amira today: cd [dspace-source]/dspace/ I think this is the culprit - this doesn't do a full rebuild in 1.8.0 and above. Do it from here instead: cd [dspace-source] In short - in 1.8 running mvn package from [dspace-source]/dspace/ does a quick build (modules and somesuch), while running it from [dspace-source] does a full build. This is documented somewhere but I can't find it promptly. You shouldn't need to run the clean target, but it surely doesn't hurt. Regards, ~~helix84 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Add More buttons on the submission input form.
Hi All, I have noticed that the Add More buttons on the edit-metadata.jsp page are adding fields that weren't requested. If all of the available fields are filled in for each of the input fields, and you press the Add More button next to the Author field, then all of the repeatable input fields get more boxes. e.g.- On my form the AUTHORS, KEYWORDS, and SUBJECT HEADING fields are all repeatable. The AUTHOR input field consists of a last name field and a first name field (2 input boxes), while the other two types have two text boxes each. When I fill in all of the fields (one AUTHOR name, two KEYWORDS, and two SUBJECT HEADINGS) and press the Add More button next to the AUTHOR field, I get 4 more text boxes for AUTHORS (two sets of two fields), two more text boxes for KEYWORDS, and two more text boxes for SUBJECT HEADINGS. IF, however, I press the Add More button next to one of the other two fields, then I only get 1 more set of two fields for the AUTHOR, and two boxes for each of the other fields. I have been looking at the code in edit-metadata.jsp, but I am at a loss to see why it is behaving this way. Has anyone else noticed this before? Is there a fix? Thanks in advance for any assistance. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] JSPUI and version 1.8.0
Left these out of the last email, sorry. JSPUI and version 1.8.0 Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Bulk:***** SpamScore] Re: change permisson
Yes, as Helix mentioned you simply use the administrator tools to do this. Log in as an administrator and navigate to the Administrator Panel. Then select Authorizations and the wildcard tool from the list that follows. When prompted, select the collection that contains the items that you wish to change, then choose which permissions you want to add/remove for either the items or the bitstreams in that collection. If you wish to remove some permissions then you first clear the permissions that exist and then add back the ones that you want. Hope this helps. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: Miguel Angel Robledo [marobl...@santafe.gov.ar] Sent: September-27-12 6:15 PM To: heli...@centrum.sk Cc: DSpace-tech@lists.sourceforge.net Subject: [Bulk:* SpamScore] Re: [Dspace-tech] change permisson Is possible change the permissions for old items (sent before the change) ? is possible by dspace's command or database scripts? -- Ing. Miguel Angel Robledo Secretaría de Tecnologías para la Gestión Ministerio de Gobierno y Reforma del Estado Provincia de Santa Fe 0342-4508704 El 18/09/12 17:09, helix84 escribió: On Tue, Sep 18, 2012 at 10:02 PM, Miguel Angel Robledo marobl...@santafe.gov.ar wrote: I have to change the permissions of a collection but I understand that these change are for news articles. That's correct, the collection permissions are inherited to its items only during submission. So only new items (sent after the change) will be affected. There is a way to restore the read permission for the items already existing? Yes, just like I wrote: El 10/09/12 08:08, helix84 escribió: I XMLUI you can use the wildcard policy admin tool when you log in as administrator and select Authorizations from the Administrative menu. It operates on collections, though (not on an arbitrary set of items). Regards, ~~helix84 -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] incorrect timestamps in DSpace
Hi Bram, Thank you very much for your help. I have confirmed that the locale on the server is set correctly, so the remaining possibility at this point is the boolean 'localTime' in the method call: * @param localTime *if true, adjust for local timezone, otherwise GMT I suspect that this value is false when invoked for some reason. I will look into this. Thanks again, Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: bluy...@gmail.com [bluy...@gmail.com] On Behalf Of Bram Luyten [b...@mire.be] Sent: September-27-12 3:19 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] incorrect timestamps in DSpace Hi Darren, at first sight, this looks like a UI specific problem: In the back-end, dates are just stored as UTC: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/DCDate.java#L44 JSP UI seems to have a util class that renders the dates according to the user's locale: https://github.com/DSpace/DSpace/blob/master/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/util/UIUtil.java#L247 In XMLUI however, the dates seem to be retrieved from the metadata without transformation into something local. Mirage other dri2xhtml alt based themes: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L286 Kubrick, Classic, Reference themes: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl#L621 best regards, Bram -- [http://atmire.com/images/@mire_web_2.jpg] Bram Luyten @mire 2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/ www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml On Wed, Sep 26, 2012 at 6:16 PM, Darren Arsenault arse...@algonquincollege.commailto:arse...@algonquincollege.com wrote: Hi all, I have just noticed that the timestamps in DSpace are all off by +4 hours. The timezone must be set to GMT (I am GMT -4), but I cannot find where to correct this. Can anyone point me in the right direction please? Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] incorrect timestamps in DSpace
Hi all, I've corrected the issue. As Bram mentioned, dates are stored in UTC. When you display an item's full record, ItemTag.java simply pulls the data from the database and displays it—with no care as to what type of data the string contains. I added a few lines of code to check if the field represented a date field and then called the appropriate method in UIUtil.java: if(values[i].element.equals(date) (values[i].qualifier.equals(accessioned) || values[i].qualifier.equals(available) || values[i].qualifier.equals(updated))) { DCDate dt = new DCDate(values[i].value) ; String str = UIUtil.displayDate(dt, true, true, (HttpServletRequest)pageContext.getRequest()) ; out.print(Utils.addEntities(str)) ; } else out.print(Utils.addEntities(values[i].value)); (The highlighted portion is the original code.) Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: bluy...@gmail.com [bluy...@gmail.com] On Behalf Of Bram Luyten [b...@mire.be] Sent: September-27-12 3:19 AM To: Darren Arsenault Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] incorrect timestamps in DSpace Hi Darren, at first sight, this looks like a UI specific problem: In the back-end, dates are just stored as UTC: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/content/DCDate.java#L44 JSP UI seems to have a util class that renders the dates according to the user's locale: https://github.com/DSpace/DSpace/blob/master/dspace-jspui/dspace-jspui-api/src/main/java/org/dspace/app/webui/util/UIUtil.java#L247 In XMLUI however, the dates seem to be retrieved from the metadata without transformation into something local. Mirage other dri2xhtml alt based themes: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml-alt/aspect/artifactbrowser/item-view.xsl#L286 Kubrick, Classic, Reference themes: https://github.com/DSpace/DSpace/blob/master/dspace-xmlui/dspace-xmlui-webapp/src/main/webapp/themes/dri2xhtml/DIM-Handler.xsl#L621 best regards, Bram -- [http://atmire.com/images/@mire_web_2.jpg] Bram Luyten @mire 2888 Loker Avenue East, Suite 315, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/ www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml On Wed, Sep 26, 2012 at 6:16 PM, Darren Arsenault arse...@algonquincollege.commailto:arse...@algonquincollege.com wrote: Hi all, I have just noticed that the timestamps in DSpace are all off by +4 hours. The timezone must be set to GMT (I am GMT -4), but I cannot find where to correct this. Can anyone point me in the right direction please? Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] incorrect timestamps in DSpace
Hi all, I have just noticed that the timestamps in DSpace are all off by +4 hours. The timezone must be set to GMT (I am GMT -4), but I cannot find where to correct this. Can anyone point me in the right direction please? Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- How fast is your code? 3 out of 4 devs don\\\'t know how their code performs in production. Find out how slow your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219672;13503038;z? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] CC license step in DSpace
Hi all, Using 1.8.0/1.8.1 and JSPUI in both cases. I am wondering if it is possible to enable the CCLicense step (and have the default license not show up) for some collections, and have the opposite in other collections? Is there a way to do this built-in? Thanks in advance for any help/advice. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] using SWORD with URLs/URIs instead of actual files
Hi all, Using DSpace 1.8.0, JSPUI. I am looking to implement SWORDv2 to make uploads from a remote server. The issue that I am having is that I want to send the metadata for my item AND a link to the item on the remote server only, not the item itself. (I am writing my own basic client for this, which is not quite finished yet—I am thinking ahead.) In DSpace I have defined a new metadata schema and added a URL field for items, but SWORD does not know how to work with my custom schema, so I am at a loss as to how to send the URL with the upload. Of course I can send the data, but it will simply be ignored. I have looked at the dc.relation.uri field, but it doesn't seem like the correct one to use, as it is meant to be for a related item, not the item itself. I am hoping that someone out there has a better idea. Thanks in advance for any help/feedback. Good-day and be well, Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] using SWORD to upload from remote server
Hi all, DSpace 1.8.0, JSPUI. I am a little stumped as to what has happened here... I finished writing my client, and I made an upload from the remote server to DSpace successfully. The item appeared in workflow and I approved it for entry into the repository. The fields that are populated from Atom tags (title, summary) were filled in correctly, but none of my metadata fields were filled in. Perhaps my syntax is incorrect? For metadata I am using tags such as: simpledc.typeTYPE/simpledc.type simpledc.languageLANGUAGE/simpledc.language etc. and I have confirmed that these fields are mapped correctly in SWORDv2-server.cfg; simpledc.type = dc.type; and simpledc.language = dc.language.iso, etc. Am I using these tags incorrectly? Any help would be greatly appreciated. Good-day and be well, Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] using SWORD to upload from remote server
Hi all, Maybe everyone already knows this, but I figured I'd give an update anyway. I found the issue that I was having—it was the syntax, the tag names are supposed to be: dcterms:typeTYPE/dcterms:type and dcterms:languageLANGUAGE/dcterms:language. The only issue that remains now is determining how to access a qualified tag, like relation.uri... I tried dcterms:relation.uri and dcterms:relation:uri, but both of these caused internal errors (500). As always, any help would be greatly appreciated. Thank you for your time. Good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: Darren Arsenault [arse...@algonquincollege.com] Sent: September-13-12 1:15 PM To: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] using SWORD to upload from remote server Hi all, DSpace 1.8.0, JSPUI. I am a little stumped as to what has happened here... I finished writing my client, and I made an upload from the remote server to DSpace successfully. The item appeared in workflow and I approved it for entry into the repository. The fields that are populated from Atom tags (title, summary) were filled in correctly, but none of my metadata fields were filled in. Perhaps my syntax is incorrect? For metadata I am using tags such as: simpledc.typeTYPE/simpledc.type simpledc.languageLANGUAGE/simpledc.language etc. and I have confirmed that these fields are mapped correctly in SWORDv2-server.cfg; simpledc.type = dc.type; and simpledc.language = dc.language.iso, etc. Am I using these tags incorrectly? Any help would be greatly appreciated. Good-day and be well, Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to prevent thesis advisers from displaying as authors?
Hi, The default setup associates all qualifiers of contributor with an author like so: search.index.1 = author:dc.contributor.* and webui.browse.index.author = dc.contributor.* so in order to prevent the thesis advisors from showing up you would have to change these search and browse indices, removing the wildcard character (*), to omit dc.contributer.advisor. You would then have to make individual indices for each of the other fields that you do want to appear when author is searched or displayed. You can find the information on making these changes in the How To Guide from DSpace.org: http://www.dspace.org/images/Training_Materials/dspacehowtoguide.pdf Hope that helps, good-day and be well. Darren Arsenault Programmer Algonquin College 1385 Woodroffe Avenue Ottawa, ON, K2G 1V8 From: Shixing Wen [s...@d.umn.edu] Sent: September-06-12 12:33 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] how to prevent thesis advisers from displaying as authors? Lately, we have added thesis advisers (dc.contributor.advisor) to our DSpace instance (1.6.0 JSPUI). However, they show up as authors in the display. That's incorrect and misleading. Here are the examples: http://d-commons.d.umn.edu:8180/jspui/handle/10792/25/browse?type=titlesubmit_browse=Title Is it possible to display thesis advisers in a different field? If not, is there a way to suppress thesis advisers from display? Thanks, -- --- Shixing Wen Head of Technical Services University of Minnesota Duluth Library 416 Library Drive Duluth, MN 55812 218-726-8498 s...@d.umn.edumailto:s...@d.umn.edu -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] adding to DSpace remotely
Big Thanks to everyone! It will take me a little while to get through it all, but there is a lot of good [and interesting] stuff here. Darren From: Pottinger, Hardy J. [pottinge...@umsystem.edu] Sent: September-04-12 3:41 PM To: Benjamin Ryan; Darren Arsenault; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] adding to DSpace remotely Hi, I don't think Richard Jones will mind if I share this URL around, I bugged him about SWORDiT shortly after OR12, and he passed me this GitHub URL: https://github.com/richard-jones/swordit Haven't done much playing with it yet, but, boy, does it look handy. -- HARDY POTTINGER pottinge...@umsystem.edu University of Missouri Library Systems http://lso.umsystem.edu/~pottingerhj/ https://MOspace.umsystem.edu/ Do you love it? Do you hate it? There it is, the way you made it. --Frank Zappa On 9/4/12 2:34 PM, Benjamin Ryan benjamin.r...@manchester.ac.uk wrote: +1 on SWORD Also Google for the Dev Challenge at OR2012, the Cottage Labs people presented an idea called SWORDiT a simple widget to allow submission via SWORD into Dspace. Also check out https://github.com/kshepherd for EasyDeposit and RightClickDeposit, both nice ways of making SWORD submissions to Dspace simple. Regards, Ben -- Dr Ben Ryan Jorum Technical Coordinator (Services) 5.12 Roscoe Building The University of Manchester Oxford Road Manchester M13 9PL Tel: 0160 275 6039 E-mail: benjamin.r...@manchester.ac.uk -- -Original Message- From: Darren Arsenault [mailto:arse...@algonquincollege.com] Sent: 04 September 2012 18:32 To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] adding to DSpace remotely Hi all, I'm just looking for a little advice here. I am using DSpace 1.8.0, JSPUI (though I don't think it matters for my question). I want to add items to DSpace from a different server. This server/dataset is not OAI-PMH compliant, and even if it was, I do not want to harvest the data because I do not want everything on that server brought into DSpace. I want people who are uploading to that server to be able to check a box (or push a button, etc., the type of event is of no concern) and have their content automatically uploaded to DSpace. My first thought is that I can simply add the data to the DSpace database with remote ADO or other such code. Has anyone else tried something like this in the past? Does anyone see any flaws in my idea that might make it impossible/difficult? Thanks in advance for any advice/assistance. Darren Arsenault -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] adding to DSpace remotely
Hi all, I'm just looking for a little advice here. I am using DSpace 1.8.0, JSPUI (though I don't think it matters for my question). I want to add items to DSpace from a different server. This server/dataset is not OAI-PMH compliant, and even if it was, I do not want to harvest the data because I do not want everything on that server brought into DSpace. I want people who are uploading to that server to be able to check a box (or push a button, etc., the type of event is of no concern) and have their content automatically uploaded to DSpace. My first thought is that I can simply add the data to the DSpace database with remote ADO or other such code. Has anyone else tried something like this in the past? Does anyone see any flaws in my idea that might make it impossible/difficult? Thanks in advance for any advice/assistance. Darren Arsenault -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] data entry errors
Hi Bram, Cleaning up the current errors will have to be done, but I was more concerned with the prevention of future errors, as you deduced. (I do appreciate the information on the tools available for clean up though—Thanks!) I had the same idea that you mentioned below—hit the database for near matches and display a list to the user, allowing them to simply select the data from the list if they see what they are looking for. The reason that I bring it to the community is two-fold: Firstly, I highly doubt that I am the first person to come across this issue. I had hoped that someone had already developed a solution. There are so many different ideas, implementations, configurations, and patches out there that I would be a fool not to ask. Secondly, I am fairly new to DSpace, having only been working with it for a few weeks now (and most of my time has been spent doing high-level changes), so I don't know the code intimately yet. While I know how to code this solution on it's own, I am concerned about the possibility of side-effects if I simply start adding code/logic to the JSP without fully understanding the supporting code. At present, querying the database, displaying the result set, and [possibly] updating an input field does not seem like it would cause an issue, but I have been surprised in the past by making assumptions. In any case, I thank all of you for taking the time to consider my question and respond to it. Of the projects that I have worked on, this one definitely has the most helpful community I have ever seen. Good-day and be well. Darren Arsenault From: bluy...@gmail.com [bluy...@gmail.com] On Behalf Of Bram Luyten [b...@mire.be] Sent: August-30-12 3:06 AM To: DSpace @ Lyncode Cc: Darren Arsenault; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] data entry errors Hi Darren, to be very clear: are you looking for a way to clean up the current errors, or just interested in prevention for new ones? In terms of prevention, it might help if you develop an auto-complete feature that tries to match anything a user is entering in a particular metadata field, with those values that are already stored for that field in archived items. Referring back to your example, this would mean that if someone starts typing AB... he or she would get suggestions for ways in which someone else has already entered values starting with AB for that specific metadata field. To deal with errors that already made it into your metadata, here are two suggestions, a free one, and a commercial add-on module from @mire: - Since DSpace 1.6 you can export metadata into spreadsheets on a per-collection basis. So download the metadata in a spreadsheet, clean it up, and re-upload to see the changes get into effect. For the clean up part, you can go at it with your spreadsheet editor but you might want to look at Google Refinehttp://code.google.com/p/google-refine/. It's really awesome at detecting similar values and grouping them together. - Our Metadata quality modulehttp://atmire.com/website/?q=modules/mqm has functionality for performing batch edits straight from the DSpace web UI and merging duplicates. cheers, Bram -- Bram Luyten @mire 2888 Loker Avenue East, Suite 305, Carlsbad, CA. 92010 Esperantolaan 4, Heverlee 3001, Belgium http://www.atmire.com/ www.atmire.comhttp://atmire.com/website/?q=servicesutm_source=emailfooterutm_medium=emailutm_campaign=braml On Wed, Aug 29, 2012 at 8:32 PM, DSpace @ Lyncode dsp...@lyncode.commailto:dsp...@lyncode.com wrote: Hi, i can only think of implementing an Authority Control for that. Anyway, deposit workflow is meant to accomplish that task (validate/correct metadata values). On 29 August 2012 16:22, Darren Arsenault arse...@algonquincollege.commailto:arse...@algonquincollege.com wrote: I posted this a week ago and no one has responded yet, so I'm trying again: For input fields where it is not possible (or practical) to implement controlled vocabularies or drop down lists, is there a less labour-intensive way of preventing data entry errors? For example: The author of several documents is ABC Statistics Inc., but each document is added by a different ePerson,and each of these people makes a spelling error when filling out the AUTHOR field, so these items appear to have different authors. (ABC Statisitcs, Inc., ABC Statistics, Inc, ABC Statistics, etc.). Originally I thought that this would be a minor issue, easily correctable through raw SQL queries to update the offending fields. Unfortunately, my estimates as to the number of mistakes that would be made has proven to be extremely conservative. I do not want to be responsible for correcting so many entries myself, nor do I want to reject so many entries asking users to match the AUTHOR name that already exists. Does anyone have any ideas
Re: [Dspace-tech] Choosing between CC in a single collection?
Is it possible to set up a collection that allows an uploader to choose between multiple CC licences? For example, when they got to the GRANT LICENSE step they would see a list of available licenses and choose which one they would like to grant. Thanks, Darren -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] data entry errors
I posted this a week ago and no one has responded yet, so I'm trying again: For input fields where it is not possible (or practical) to implement controlled vocabularies or drop down lists, is there a less labour-intensive way of preventing data entry errors? For example: The author of several documents is ABC Statistics Inc., but each document is added by a different ePerson,and each of these people makes a spelling error when filling out the AUTHOR field, so these items appear to have different authors. (ABC Statisitcs, Inc., ABC Statistics, Inc, ABC Statistics, etc.). Originally I thought that this would be a minor issue, easily correctable through raw SQL queries to update the offending fields. Unfortunately, my estimates as to the number of mistakes that would be made has proven to be extremely conservative. I do not want to be responsible for correcting so many entries myself, nor do I want to reject so many entries asking users to match the AUTHOR name that already exists. Does anyone have any ideas? -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Controlling Metadata Inputs
I am hoping that someone might be able to help me with this problem. For input fields where it is not possible (or practical) to implement controlled vocabularies or drop down lists, is there a less labour-intensive way of preventing data entry errors? For example: The author of several documents is ABC Statistics Inc., but each document is added by a different ePerson,and each of these people makes a spelling error when filling out the AUTHOR field, so these items appear to have different authors. (ABC Statisitcs, Inc., ABC Statistics, Inc, ABC Statistics, etc.). Originally I thought that this would be a minor issue, easily correctable through raw SQL queries to update the offending fields. Unfortunately, my estimates as to the number of mistakes that would be made has proven to be extremely conservative. I do not want to be responsible for correcting so many entries myself, nor do I want to reject so many entries asking users to match the existing AUTHOR name that already exists. I know that I could code a solution if that is absolutely necessary, but I wonder if someone else in the community hasn't already addressed this issue. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech