[Dspace-tech] Fwd: dspace-discovery missing from GIT clone of V3.0rc2
Forwarding to the list. On Thu, Nov 1, 2012 at 5:50 AM, Kevin Gunn k.g...@aims.gov.au wrote: Hi Emilo, Sorry for the delayed response but these emails were getting filtered from me. I haven't been given time for testing and contributing to V3, and there's no indication yet of when a stable version of 3.0 will be released, so I'm sticking with 1.8.2 from subversion. The 1.8.2 from GIT appears to be different from that in subversion? I had issues with the master branch and tag 3.0rc1, haven't tried 3.0rc2. I was able to modify the subversion 1.8.2 base to include CAS authentication SSO and also the a vocabulary selector for subject/keyword selection based of what is now available from the master/V3 tags. Although for us it means maintaining standalone version of the dspace-api jar, the dspace-xmlui-api jar and the dspace-xmlui-webapp war files in our local maven repository and updating the POMS of these XMLUI components to look for the modified libraries. On the build, should I be able to get the build to use the jar/war file in the target directory, instead of always retrieving the files from the maven repository? Maven is good for dependency management, but I was hoping it might be able to realise that there's an updated library in the project structure and not always go to the repo?? Or should the build be updating my local repo?? Sorry I don't have more time to put into version 3 but my organisation is keen for me to get DSpace into production. I'm hoping they allocate so more time to me in the first half of next year to revisit upgrading our DSpace. Cheers Kevin -Original Message- From: emilio lorenzo [mailto:elore...@arvo.es] Sent: Thursday, 1 November 2012 7:23 AM To: heli...@centrum.sk Cc: Kevin Gunn; pottinge...@missouri.edu Subject: Re: [Dspace-tech] dspace-discovery missing from GIT clone of V3.0rc2 I had no luck with mvn package from SVN v3.0rc2 nor dspace-3.0-rc2-8-g9205de1(git + zip extraction) In any case, I could run mvn package against dspace-3.0-rc2-8-g9205de1 (git) a first time Without errors, in a clean installation, BUT any subsequent compiles produce the aforementioned error. only org.dspace.content.authority.DSpaceControlledVocabularyTest and org.dspace.statistics.util.TestLocationUtils passed without errors The error is always related with 'org.dspace.discovery.configuration.DiscoveryConfigurationService' Running org.dspace.content.MetadataSchemaTest Failed to startup the DSpace Service Manager: failure starting up spring service manager: Error creating bean with name 'org.dspace.discovery.configuration.DiscoveryConfigurationService' defined in file [/home/dspace/dspace-3.0-rc2-src-release/dspace-api/target/classes/spring/spring-dspace-addon-discovery-configuration-services.xml]: Cannot resolve reference to bean 'defaultConfiguration' while setting bean property 'map' with key [TypedStringValue: value [default], target type [null]]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'defaultConfiguration' defined in file [/home/dspace/dspace-3.0-rc2-src-release/dspace-api/target/classes/spring/spring-dspace-addon-discovery-configuration-services.xml]: Initialization of bean failed; nested exception is org.springframework.beans.ConversionNotSupportedException: Failed to convert property value of type 'java.util.ArrayList' to required type 'java.util.List' for property 'sidebarFacets'; nested exception is java.lang.IllegalStateException: Cannot convert value of type [org.dspace.discovery.configuration.SidebarFacetConfiguration] to required type [org.dspace.discovery.configuration.DiscoverySearchFilterFacet] for property 'sidebarFacets[0]': no matching editors or conversion strategy found Emilio El 31/10/2012 18:19, helix84 escribió: Hi, there already has been rc2 meanwhile and some commits since that. I recommend giving thee master branch a try: https://github.com/DSpace/DSpace There's even a button that will give you a zip file of the latest code if you prefer that before Git. Thank you for testing the latest code and reporting issues, much appreciated! -- The information contained within this transmission is for the use of the intended recipient only and may contain confidential and/or legally privileged material and/or material the subject of copyright and/or personal information and/or sensitive information that is subject to the Privacy Act 1988. Any review, re-transmission, disclosure, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please notify the AIMS Privacy Officer on (07) 4753 and delete all copies of this transmission together
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] Application Security details of dspace 1.8.2
Hi, DSpace Eperson password hash: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/eperson/PasswordHash.java Hashing the eperson password for storing purposes only allows one to secure DSpace against those who have access to the database (mainly, DSpace administrators). However deploying DSpace without HTTPS will allow anyone on the local network to watch all passwords, as they travel as plaintext. On 1 November 2012 08:24, Umair Kayani ukay...@niftetrust.com wrote: Helix, Using SSL was our backup plan. DSpace keeps the hash of the password in database so I was wondering at what servlet this change occur. If request is going with clear password then it must be converting it to match with database password of the user for authentication. I need to know that code file or method for my understanding at least. Though I checked AuthenticationManager, AuthenticationMethod and eperson code files and found nothing there except a hashcode method in eperson code file. Can anyone confirm if this is the one which dspace uses to convert plain text password to hashcode and then match that hashcode with database hashcode. Thanks Regards Umair Kayani -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, October 31, 2012 5:26 PM To: Umair Kayani Cc: dspace-tech@lists.sourceforge.net Subject: [?? Probable Spam] Re: [Dspace-tech] Application Security details of dspace 1.8.2 On Wed, Oct 31, 2012 at 1:03 PM, Umair Kayani ukay...@niftetrust.com wrote: What I want is to make my login password encrypted without deploying SSL certificate (without going on to https). What I investigated so far is that my password travels in plain text on the network which is a security risk. But when I check my password in database it is the hash value so I want to know at what point my password calculates its hash or verify its hash. Please also let me know what code files are involved in all its process That's correct, password is sent in plain text over HTTP, which is why it's recommended to use HTTPS at least for the login form. I have to say that while it's possible to make a system which will encrypt the password being sent, that means reimplementing something like TLS, which is bound to be a poor reimplementation and is one of the most common security mistakes in general. For that reason, I'm not going to give you tips how to do it. I'm wondering what is the reason why you don't want to use HTTPS. Perhaps you don't have a free IP address? The solution is to use SNI (Server Name Indication). 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 -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/) DSpace Department *Lyncode*: Official websitehttp://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg=AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ [image: Follow us on Facebook]http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsntz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww -- 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] Application Security details of dspace 1.8.2
On Thu, Nov 1, 2012 at 9:24 AM, Umair Kayani ukay...@niftetrust.com wrote: Helix, Using SSL was our backup plan. DSpace keeps the hash of the password in database so I was wondering at what servlet this change occur. If request is going with clear password then it must be converting it to match with database password of the user for authentication. I need to know that code file or method for my understanding at least. Though I checked AuthenticationManager, AuthenticationMethod and eperson code files and found nothing there except a hashcode method in eperson code file. Can anyone confirm if this is the one which dspace uses to convert plain text password to hashcode and then match that hashcode with database hashcode. As I said, I don't want to give bad security advice, but João already spilled the beans. If you have to do it, at least do it right! Here's the change that added salted hashes, so it touches all the places that deal with hashes: https://github.com/DSpace/DSpace/pull/41/files So now that you're going to do hashing in Javascript, be aware that: 1) Logging in without Javascript enabled will not work. 2) The hash and salt will be transferred in plain text, so weak passwords can be brute-forced if this information is sniffed. Make sure to not allow users to set weak passwords, there surely are JS libraries for that. You didn't answer my question, why not use HTTPS in the first place? 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] Application Security details of dspace 1.8.2
Actually we surely implement SSL but we also want our password be saved in hashed form using SHA variants or some other algorithm whatever we like to use rather than using dspace default hashing algorithm. Thanks Regards -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, November 01, 2012 3:34 PM To: Umair Kayani Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Application Security details of dspace 1.8.2 On Thu, Nov 1, 2012 at 9:24 AM, Umair Kayani ukay...@niftetrust.com wrote: Helix, Using SSL was our backup plan. DSpace keeps the hash of the password in database so I was wondering at what servlet this change occur. If request is going with clear password then it must be converting it to match with database password of the user for authentication. I need to know that code file or method for my understanding at least. Though I checked AuthenticationManager, AuthenticationMethod and eperson code files and found nothing there except a hashcode method in eperson code file. Can anyone confirm if this is the one which dspace uses to convert plain text password to hashcode and then match that hashcode with database hashcode. As I said, I don't want to give bad security advice, but João already spilled the beans. If you have to do it, at least do it right! Here's the change that added salted hashes, so it touches all the places that deal with hashes: https://github.com/DSpace/DSpace/pull/41/files So now that you're going to do hashing in Javascript, be aware that: 1) Logging in without Javascript enabled will not work. 2) The hash and salt will be transferred in plain text, so weak passwords can be brute-forced if this information is sniffed. Make sure to not allow users to set weak passwords, there surely are JS libraries for that. You didn't answer my question, why not use HTTPS in the first place? 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] Application Security details of dspace 1.8.2
Well thanks let me try this one also but the source that I got doesnt have this passwordhash.java code file. Is this hash code file from DSpace 3 sources or from same 1.8.2. I think I downloaded 1.8.2 version of dspace 1 week back but I cant find this file there. What does this website do is this for those people who fixes the bugs or mods, secondly is it safe enough to use code files uploaded here. Thanks Regards From: João Melo [mailto:jm...@lyncode.com] Sent: Thursday, November 01, 2012 3:25 PM To: Umair Kayani Cc: heli...@centrum.sk; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Application Security details of dspace 1.8.2 Hi, DSpace Eperson password hash: https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/ds pace/eperson/PasswordHash.java Hashing the eperson password for storing purposes only allows one to secure DSpace against those who have access to the database (mainly, DSpace administrators). However deploying DSpace without HTTPS will allow anyone on the local network to watch all passwords, as they travel as plaintext. On 1 November 2012 08:24, Umair Kayani ukay...@niftetrust.com wrote: Helix, Using SSL was our backup plan. DSpace keeps the hash of the password in database so I was wondering at what servlet this change occur. If request is going with clear password then it must be converting it to match with database password of the user for authentication. I need to know that code file or method for my understanding at least. Though I checked AuthenticationManager, AuthenticationMethod and eperson code files and found nothing there except a hashcode method in eperson code file. Can anyone confirm if this is the one which dspace uses to convert plain text password to hashcode and then match that hashcode with database hashcode. Thanks Regards Umair Kayani -Original Message- From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Wednesday, October 31, 2012 5:26 PM To: Umair Kayani Cc: dspace-tech@lists.sourceforge.net Subject: [?? Probable Spam] Re: [Dspace-tech] Application Security details of dspace 1.8.2 On Wed, Oct 31, 2012 at 1:03 PM, Umair Kayani ukay...@niftetrust.com wrote: What I want is to make my login password encrypted without deploying SSL certificate (without going on to https). What I investigated so far is that my password travels in plain text on the network which is a security risk. But when I check my password in database it is the hash value so I want to know at what point my password calculates its hash or verify its hash. Please also let me know what code files are involved in all its process That's correct, password is sent in plain text over HTTP, which is why it's recommended to use HTTPS at least for the login form. I have to say that while it's possible to make a system which will encrypt the password being sent, that means reimplementing something like TLS, which is bound to be a poor reimplementation and is one of the most common security mistakes in general. For that reason, I'm not going to give you tips how to do it. I'm wondering what is the reason why you don't want to use HTTPS. Perhaps you don't have a free IP address? The solution is to use SNI (Server Name Indication). 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 -- Image removed by sender. Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/ ) DSpace Department Lyncode: http://www.google.com/url?q=http%3A%2F%2Fwww.lyncode.com%2Fsa=Dsntz=1usg =AFrqEzdV8iS6rMxflxnn138XReuRfUG3OQ Official website http://www.google.com/url?q=http%3A%2F%2Ftwitter.com%2Flyncodesa=Dsntz=1; usg=AFrqEzeDuT3ZqMW5uVIA8AoxtTtAeiCX3Q Image removed by sender. Follow us on Facebook http://www.google.com/url?q=http%3A%2F%2Fwww.facebook.com%2Flyncodesa=Dsn tz=1usg=AFrqEzcWXjHa3gKBGLsNVxktapxkiWDnww Image removed by sender. ~WRD000.jpg-- 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] Application Security details of dspace 1.8.2
On Thu, Nov 1, 2012 at 12:15 PM, Umair Kayani ukay...@niftetrust.com wrote: Actually we surely implement SSL but we also want our password be saved in hashed form using SHA variants or some other algorithm whatever we like to use rather than using dspace default hashing algorithm. Why didn't you just say so? :) As you can see, thanks to this patch it's much easier to use upgrade the hashing method if you want. On Thu, Nov 1, 2012 at 12:28 PM, Umair Kayani ukay...@niftetrust.comwrote: Well thanks let me try this one also but the source that I got doesn’t have this passwordhash.java code file. Is this hash code file from DSpace 3 sources or from same 1.8.2. I think I downloaded 1.8.2 version of dspace 1 week back but I can’t find this file there. What does this website do is this for those people who fixes the bugs or mods, secondly is it safe enough to use code files uploaded here. The DSpace/DSpace repository on GitHub is now the official place where we keep the source code, so yes, it is safe. You're right, João pointed you to the master branch, which will become DSpace 3.0 soon (this month). I recommend you to work with this branch because of that hashing+salting patch which was not available in 1.8. I'm sure that before you have your changes ready, there will be a release, so you could start with 3.0. If you still prefer to work with 1.8.2, I strongly recommend you to apply the patch (the link I sent you). Regards, ~~helix84 -- 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] Application Security details of dspace 1.8.2
Got it dear. Thanks a lot Mr. Melo Mr. Helix Thanks Regards From: ivan.ma...@gmail.com [mailto:ivan.ma...@gmail.com] On Behalf Of helix84 Sent: Thursday, November 01, 2012 4:37 PM To: Umair Kayani Cc: João Melo; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Application Security details of dspace 1.8.2 On Thu, Nov 1, 2012 at 12:15 PM, Umair Kayani ukay...@niftetrust.com wrote: Actually we surely implement SSL but we also want our password be saved in hashed form using SHA variants or some other algorithm whatever we like to use rather than using dspace default hashing algorithm. Why didn't you just say so? :) As you can see, thanks to this patch it's much easier to use upgrade the hashing method if you want. On Thu, Nov 1, 2012 at 12:28 PM, Umair Kayani ukay...@niftetrust.com wrote: Well thanks let me try this one also but the source that I got doesn’t have this passwordhash.java code file. Is this hash code file from DSpace 3 sources or from same 1.8.2. I think I downloaded 1.8.2 version of dspace 1 week back but I can’t find this file there. What does this website do is this for those people who fixes the bugs or mods, secondly is it safe enough to use code files uploaded here. The DSpace/DSpace repository on GitHub is now the official place where we keep the source code, so yes, it is safe. You're right, João pointed you to the master branch, which will become DSpace 3.0 soon (this month). I recommend you to work with this branch because of that hashing+salting patch which was not available in 1.8. I'm sure that before you have your changes ready, there will be a release, so you could start with 3.0. If you still prefer to work with 1.8.2, I strongly recommend you to apply the patch (the link I sent you). Regards, ~~helix84 -- 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)
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
[Dspace-tech] sendmail error
LINUX Redhat RHEL 5 and Dspace 1.8.2 Dear Experts I am unable to get emails from dspace user accounts those are generated by dspace from my linux server. I wanted to have copy of all outgoing emails from sendmail server so i try to do followings steps http://efreedom.com/Question/2-229029/Configuring-Sendmail-Archive-Copy-Outgoing-Message but cud not get sucess so i kept old sendmail.cf file as it is. I find following error. [root@library ~]# su -l dspace [dspace@library ~]$ /usr/sbin/sendmail WARNING: RunAsUser for MSP ignored, check group ids (egid=0, want=51) can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. [dspace@library ~]$ Please help. With Regards Indu Bhushan Library, RRCAT, Indore -- 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] sendmail error
This is how I setup email using Ubuntu 10.04 and DSpace 1.7.2: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Prepare_Ubuntu/S07 On 1 November 2012 15:19, इन्दु भूषण Indu Bhushan indubhus...@gmail.comwrote: LINUX Redhat RHEL 5 and Dspace 1.8.2 Dear Experts I am unable to get emails from dspace user accounts those are generated by dspace from my linux server. I wanted to have copy of all outgoing emails from sendmail server so i try to do followings steps http://efreedom.com/Question/2-229029/Configuring-Sendmail-Archive-Copy-Outgoing-Message but cud not get sucess so i kept old sendmail.cf file as it is. I find following error. [root@library ~]# su -l dspace [dspace@library ~]$ /usr/sbin/sendmail WARNING: RunAsUser for MSP ignored, check group ids (egid=0, want=51) can not chdir(/var/spool/clientmqueue/): Permission denied Program mode requires special privileges, e.g., root or TrustedUser. [dspace@library ~]$ Please help. With Regards Indu Bhushan Library, RRCAT, Indore -- 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 -- *Hilton Gibson* Systems Administrator JS Gericke Library Room 1025D Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 http://library.sun.ac.za http://scholar.sun.ac.za -- 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] sendmail error
Hi Indu, perhaps you need to setgit the sendmail binary so that the dspace user could run it. Also make sure dspace is in the same (secondary) group as the sendmail binary. This may be what you're encountering: http://setaoffice.com/2009/12/17/sendmail-warning-runasuser-for-msp-ignored-check-group-ids/ If that doesn't work, send the output of these commands: ls -l /usr/sbin/sendmail id dspace 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] Contexts on Dspace and Apache Tomcat6
On Fri, Oct 26, 2012 at 3:18 PM, helix84 heli...@centrum.sk wrote: What's your version of DSpace, JDK, Tomcat, Maven and Ant? Fixed this by using the upstream instead of the Redhat packaged version of Tomcat. Future readers will keep their sanity by ditching the yum install and using the binary from the Apache Tomcat. Thanks for all suggestions. Will continue to be puzzled why one identical machine works while another fails but I don't argue with results. ./fxk -- Beer busts, beer blasts, keggers, stein hoists, A.A. meetings, beer nights... --Homer Simpson -- 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] Apostrophes in searches
I think it could be a change in Solr's behavior, not necessarily in our configuration, see: http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.StandardTokenizerFactory What Solr version did we use in 1.6? Regards, ~~helix84 -- 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] handle server points to the wrong thing
Resending to dspace-tech (was sent to dspace-tech-request) just to archive that this solved the problem. Regards, ~~helix84 On Thu, Nov 1, 2012 at 5:23 PM, Berry, Irene (CIV) icbe...@nps.edu wrote: Bingo! Our documentation had it backwards. We're all better now. Thank you for being there, everyone. With good thoughts -- Irene Berry, DKL/NPS -- 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] handle server points to the wrong thing
Bingo! Our documentation had it backwards. We're all better now and pointing back to the XMLUI, as intended. Thank you for being there, everyone. With good thoughts -- Irene Berry, DKL/NPS Date: Thu, 1 Nov 2012 01:31:48 +0100 From: helix84 heli...@centrum.skmailto:heli...@centrum.sk Subject: Re: [Dspace-tech] handle server points to the wrong thing To: Berry, Irene (CIV) icbe...@nps.edumailto:icbe...@nps.edu Cc: dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.netmailto:dspace-tech@lists.sourceforge.net Message-ID: cagdvkqhduy1pdrn8wa7xo6ux+y+x005h78oscudq6s45pvn...@mail.gmail.commailto:cagdvkqhduy1pdrn8wa7xo6ux+y+x005h78oscudq6s45pvn...@mail.gmail.com Content-Type: text/plain; charset=UTF-8 Hi Irene, what's the value of your dspace.url in dspace.cfg? It should point to XMLUI. Regards, ~~helix84 -- 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] Replace bitstreams in items through CLI
You don't have to make it so complicated, DSpace data structures are very sane as opposed to some other systems. After you replaced the files in the assetstore, calculate a new MD5 checksum for them and store it to the bitstream table. Notice that bitstream file name in asset store is not equal to its checksum. The checksum is in the bitstream.checksum columns and is indeed MD5. Don't forget to run index-update after you change the values. Running the checksum checker is a matter of course, you know that. Just to comment on the problem with the mappings: you probably used ItemImport with the replace parameter: https://wiki.duraspace.org/display/DSDOC3x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-ReplacingItemsinCollection That one deletes the item and submits a new one. using ItemUpdate instead might work as expected: https://wiki.duraspace.org/display/DSDOC3x/Updating+Items+via+Simple+Archive+Format Regards, ~~helix84 -- 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] Apostrophes in searches
On Thu, Nov 1, 2012 at 5:37 PM, Robin Taylor robin.tay...@ed.ac.uk wrote: Actually its the old Lucene search I'm looking at, but I suspect you could be right in that it may well be the underlying Lucene code that changed. I'm just assuming that someone has already noticed this difference and can point me in the right direction. One quickly forgets changes for the better, but remembers changes for the best. Hmm, I should start writing fortune cookies. So in DSpace 1.6, there was Lucene 2.3.0, in 1.8, there was 3.3.0. 1) look at the changes in Lucene: http://lucene.apache.org/core/old_versioned_docs/versions/3_3_0/changes/Changes.html 2) look at Lucene changes in DSpace: git diff dspace-1_6_x dspace-1_8_x dspace-api/src/main/java/org/dspace/search/ Good luck :) Regards, ~~helix84 -- 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] Apostrophes in searches
On Thu, Nov 1, 2012 at 6:01 PM, helix84 heli...@centrum.sk wrote: One quickly forgets changes for the better, but remembers changes for the best. Hmm, I should start writing fortune cookies. s/best/worse/ Regards, ~~helix84 -- 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] Replace bitstreams in items through CLI
Thanks for the (very) fast response helix84. I actually did look at ItemUpdate. This still requires that you delete one bitstream and add another. The delete option requires a bitstream ID, which I have no way of knowing by iterating the filesystem. Unless the internal_id in the bitstream table is unique and corresponds to the filename as stored in assetstore, which it now looks likely to me. If that is true, then I should be able to use ItemUpdate by using the filename that I am busy with to do a lookup of the bistream_id in the bitstream table. The question then becomes, am I correct in assuming that the bitstream.internal_id field is the actual filename? If I am to use your other suggestion and calculate my own MD5 checksum and insert it into the database, I will then also need to update the bitstream.size_bytes field. Both of these methods sound likely to work, but I think that the ItemUpdate is safer. I will test both and let you know. On 11/01/2012 06:38 PM, helix84 wrote: You don't have to make it so complicated, DSpace data structures are very sane as opposed to some other systems. After you replaced the files in the assetstore, calculate a new MD5 checksum for them and store it to the bitstream table. Notice that bitstream file name in asset store is not equal to its checksum. The checksum is in the bitstream.checksum columns and is indeed MD5. Don't forget to run index-update after you change the values. Running the checksum checker is a matter of course, you know that. Just to comment on the problem with the mappings: you probably used ItemImport with the replace parameter: https://wiki.duraspace.org/display/DSDOC3x/Importing+and+Exporting+Items+via+Simple+Archive+Format#ImportingandExportingItemsviaSimpleArchiveFormat-ReplacingItemsinCollection That one deletes the item and submits a new one. using ItemUpdate instead might work as expected: https://wiki.duraspace.org/display/DSDOC3x/Updating+Items+via+Simple+Archive+Format Regards, ~~helix84 -- 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] Replace bitstreams in items through CLI
On Thu, Nov 1, 2012 at 6:12 PM, Shaun Donovan sha...@teqcle.co.za wrote: I actually did look at ItemUpdate. This still requires that you delete one bitstream and add another. The delete option requires a bitstream ID, which I have no way of knowing by iterating the filesystem. Unless the internal_id in the bitstream table is unique and corresponds to the filename as stored in assetstore, which it now looks likely to me. If that is true, then I should be able to use ItemUpdate by using the filename that I am busy with to do a lookup of the bistream_id in the bitstream table. Yes, exactly. The question then becomes, am I correct in assuming that the bitstream.internal_id field is the actual filename? Sounds good. I never tried it, though. If I am to use your other suggestion and calculate my own MD5 checksum and insert it into the database, I will then also need to update the bitstream.size_bytes field. Yes, I forgot about that one. Both of these methods sound likely to work, but I think that the ItemUpdate is safer. I will test both and let you know. I forgot to include the usual disclaimer and warning - backup your assetstore and database dump before you make any manual changes, update indexes and run checks after you do the changes. 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