Re: [Dspace-tech] How to move collection
Thanks Claudia and Oriol, I moved collection from one community to other. 2009/11/30 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de Hello Mallikarjun, hmm, what did you exactly do and in what way didn't it work? The sql statement below will move a collection from one community to another. The statement Oriol Olivé posted will map a collection to another community. Claudia Jürgen mallikarjun dora schrieb: Hi Thanks claudia , but i try the command and reindex but it didn't work. waiting for your reply 2009/11/25 Claudia Jürgen claudia.juer...@ub.tu-dortmund.de Hello Mallikarjun, you can do this dirctly on the database. Make sure you got everything backed up. The command is: update community2collection set community_id=NewCommunityID where community_id=OldCommunityID and collection_id=CollectionID; Then you got to re-index. Hope that helps Claudia Jürgen mallikarjun dora schrieb: Dear All, can anyone please tell me how to move one collection from one communities to different communities. Sorry i forget to give details in my previous mail We are using dspace 1.5.1 with fedora 9 Thanks -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- !~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~!~! Mallikarjun Dora Professional Assistant Vikram Sarabhai Library Indian Institute of Management, Ahmedabad mallikar...@iimahd.ernet.in dora.mallikar...@gmail.com http://mallikarjundora.wordpress.com/ -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Edit License in Dspace
Hello Baseer, the default license can be edited via the admin UI. Log in as dspace administrator to your instance. In the admin section you got an option to edit the license. Collection specific licenses which supersede the default license can be changed via the editing of a collection. These changes will not apply to licenses already granted during submission. These licenses are stored within an item in the bundle LICENSE. Changing already granted submission licenses might not be such a good idea. There are legal issues to be considered. The submitter granted the license stored and not anything else. Hope that helps Claudia Khan, Baseer schrieb: Hello , I have a question regarding the license , We have a edit few things in our existing license , is it possible that we could change it on Dspace server so that the changes appear on the older posts too . If not how and where can we edit the default license . Thank you , Baseer. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech attachment: Claudia_Juergen.vcf-- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Technical Questions
Hello all, First of all this is Imad Musleh from the Lebanese American University, I am an IT project manager. We are looking for an Institutional repository system and we are still in the initial phase, however I have 2 questions and I hope you will have answers for. 1) Can we use MYSQL as database (although I read that your system runs on Oracle and Postgresql)? 2) Can we 2 tier installation (database on a server and application on another server)? Thanks and Best Regards, Imad Musleh Project Manager Lebanese American University IT Applications and Solutions Beirut - Lebanon TEL : 961-01-786456 Ext 1434 FAX : 961-01-867098 WEB : http://www.lau.edu.lb/ www.lau.edu.lb Email: mailto:imad.mus...@lau.edu.lb imad.mus...@lau.edu.lb -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Edit License in Dspace
Hello Baseer, I am only familiar with 1.5 XMLUI, so I am not sure if it works the same way in the JSP interface. But this is how it works in the XMLUI: When you change the license, it is not retroactive; this means, it only changes for the items you add after you change the license. As far as I know, you can not change all the old licenses at once; you must do it one at a time. To change the license on older items, you must: - Go to the item that has a license you want to change - Click Edit This Item - Click the Item Bitstreams tab - Upload a New Bitstream - Then you add the new license txt file You're not quite done: - After you've uploaded the new txt file, click on it - Where it says Primary Bitstream, select Yes Then you can delete the old license bitstream from that item. It has been mentioned before to be careful when changing license agreements, since someone previously did agree to that old license. Alice Platt Digital Initiatives Librarian Shapiro Library Southern New Hampshire University 2500 North River Rd Manchester, NH 03106 USA Date: Tue, 01 Dec 2009 16:17:06 -0600 From: Khan, Baseer baseer.k...@wichita.edu Subject: [Dspace-tech] Edit License in Dspace To: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Message-ID: e02ccda42b6cea4294f90226f9f403fc1f6b407...@exchange-01.ad.wichita.edu Content-Type: text/plain; charset=us-ascii Hello , I have a question regarding the license , We have a edit few things in our existing license , is it possible that we could change it on Dspace server so that the changes appear on the older posts too . If not how and where can we edit the default license . Thank you , Baseer Please consider the environment before printing this e-mail. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Edit License in Dspace
In case it hasn't been made crystal clear: if you are even thinking about altering the text of a legal agreement after it has been executed, you need to talk to a lawyer until the desire goes away. New licenses can be anything you and your depositors agree on. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpaNl98cEor5.pgp Description: PGP signature -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] HELP LDAPHierarchical Auth. problem
You have Windows AD right? You are trying the shortcut option of using whoe...@domain.com for the user, unfortunately this module doesn't have that option yet. (Actually it should be trivial to add, i guess it should to the plain LDAP module as that one has less options to configure). The second try doesn't make any sense, never there should be a space there: ldap.provider_url = ldap://xx.xxx.xx:389 / Now, in the first try, the problem is this: ldap.netid_email_domain = @xx.xxx.xx Notice that the LDAP module actually sends this to try to authenticate: netid=situ...@xx.xxx.xx, It sends the user with a comma in the end (or else it would actually work!) LDAPHierarchical is supposed to work with you setting up a lookup account, which will the bring the full user path within the LDAP. something complicated like attribute=username,dc=users1,,dc=domain and that will be used as the login to authenticate the user (not whoe...@domain.com). kudos, Flavio Botelho On Wed, Dec 2, 2009 at 1:13 AM, Zaya Kh zayak...@gmail.com wrote: *Hi, all* ** *I congfiguring LDAPHierarchicalAuthentication, but I have an error.* *My FIRST configuration into dspace.cfg:* ** Stackable Authentication Methods # # Stack of authentication methods # (See org.dspace.authenticate.AuthenticationManager) # Example: # plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ # org.dspace.authenticate.ShibAuthentication, \ #org.dspace.authenticate.PasswordAuthentication plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPHierarchicalAuthentication LDAP Authentication Configuration Settings ldap.enable = true ldap.provider_url = ldap://xx.xxx.xx:389/ ldap.id_field = cn ldap.object_context = dc=xx,dc=xxx,dc=xx ldap.search_context = dc=xx,dc=xxx,dc=xx ldap.email_field = mail ldap.surname_field = sn ldap.givenname_field = givenName ldap.phone_field = telephoneNumber webui.ldap.autoregister = true ldap.login.specialgroup = Authenticated # Hierarchical LDAP Settings # # If your users are spread out across a hierarchical tree on your # LDAP server, you will need to use the following stackable authentication # class: plugin.sequence.org.dspace.authenticate.AuthenticationMethod = \ org.dspace.authenticate.LDAPHierarchicalAuthentication ldap.search_scope = 2 ldap.search.user = cn=A,cn=Users,dc=xx,dc=xxx,dc=xx ldap.search.password = YYY ldap.netid_email_domain = @xx.xxx.xx *But my tomcat restart, in* *ldap-login page, before I was created my account cannot login this page,* *I can show review this error page.* ** The e-mail address and password you supplied were not valid. Please try again, or have you forgotten your password http://dspace.num/forgot? * New user? Click here to register. http://dspace.num/register Please enter your e-mail address and password into the form below. E-mail Address: Password: Have you forgotten your password? http://dspace.num/forgot Error in log file was: * 2009-12-02 10:52:58,797 INFO org.dspace.authenticate.LDAPHierarchicalAuthentication @ anonymous:session_id=18209AB316BC4E29A5C87C4B807A47A5:ip_addr=10.0.5.196:auth:attempting trivial auth of user=situ...@xx.xxx.xx 2009-12-02 10:52:58,900 INFO org.dspace.authenticate.LDAPHierarchicalAuthentication @ anonymous:session_id=18209AB316BC4E29A5C87C4B807A47A5:ip_addr=10.0.5.196:failed_login:no DN found for user situ...@xx.xxx.xx 2009-12-02 10:52:58,901 INFO org.dspace.app.webui.servlet.LDAPServlet @ anonymous:session_id=18209AB316BC4E29A5C87C4B807A47A5:ip_addr=10.0.5.196: failed_login:netid=situ...@xx.xxx.xx, result=2 *Second one is into dspace.cfg:* *I configure my dspace.cfg file, set this parameter, after url separate backslash /, * ldap.provider_url = ldap://xx.xxx.xx:389 / *But I cannot login, I show Internal Error Page* ** *Error in Log file:* 2009-12-02 10:42:24,154 WARN org.dspace.app.webui.servlet.InternalErrorServlet @ :session_id=18209AB316BC4E29A5C87C4B807A47A5:internal_error:-- URL Was: http://dspace.xxx/ldap-login -- Method: POST -- Parameters were: -- login_password: *not logged* -- login_submit: Log In -- login_netid: situ...@xx.xxx.xx java.lang.NumberFormatException: For input string: 389 at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:456) at java.lang.Integer.parseInt(Integer.java:497) at com.sun.jndi.toolkit.url.Uri.parse(Uri.java:214) at com.sun.jndi.toolkit.url.Uri.init(Uri.java:120) at com.sun.jndi.ldap.LdapURL.init(LdapURL.java:67) at com.sun.jndi.url.ldap.ldapURLContextFactory.getUsingURLIgnoreRootDN(ldapURLContextFactory.java:41) at com.sun.jndi.url.ldap.ldapURLContext.getRootURLContext(ldapURLContext.java:44) at
[Dspace-tech] Inherit authorization from collection to items and bundles
Hi, We're working with DSpace 1.5.1 and when a user wants to add or remove bitstreams (files) to an ítem, that was already submited, appears an authorization error. The user already has all the privileges in the community and the collection. In order to allow the user to add or remove bitstreams we have to give them the authorization directly to the bundle. ¿Is there a way to inherit the authorizations from collection to items and bundles, so we don't have to wait until the item be submited? Thanks for the help you can give us. Guillermo Antonio Varela Herrera Desarrollo de Sistemas Servicios y Recursos de Informaciónhttp://www.icesi.edu.co/servicios_apoyo Universidad Icesihttp://www.icesi.edu.co/ -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] HELP LDAPHierarchical Auth. problem
Zaya, If you are using Windows AD with DSpace LDAP Hierarchical Auth, maybe this wiki article I wrote will help: http://wiki.dspace.org/index.php/LDAP_Hierarchical_Authentication_with_Active_Directory I had some trouble figuring it out as well, but when I got some help from this list, I consolidated my notes on this wiki page for others. In short, I think you can set up an ldap.search_context to solve this problem in your dspace.cfg file, but you won't be able to use the u...@domain.com setting as the authenticator, or at least I wasn't able to get it to work. -- Stacy Pennington Rhodes College penning...@rhodes.edu -- Date: Wed, 2 Dec 2009 17:16:59 -0200 From: Flavio Botelho fezsent...@gmail.com Subject: Re: [Dspace-tech] HELP LDAPHierarchical Auth. problem To: Zaya Kh zayak...@gmail.com Cc: dspace-tech dspace-tech@lists.sourceforge.net You have Windows AD right? You are trying the shortcut option of using whoe...@domain.com for the user, unfortunately this module doesn't have that option yet. (Actually it should be trivial to add, i guess it should to the plain LDAP module as that one has less options to configure). The second try doesn't make any sense, never there should be a space there: ldap.provider_url = ldap://xx.xxx.xx:389 / Now, in the first try, the problem is this: ldap.netid_email_domain = @xx.xxx.xx Notice that the LDAP module actually sends this to try to authenticate: netid=situ...@xx.xxx.xx, It sends the user with a comma in the end (or else it would actually work!) LDAPHierarchical is supposed to work with you setting up a lookup account, which will the bring the full user path within the LDAP. something complicated like attribute=username,dc=users1,,dc=domain and that will be used as the login to authenticate the user (not whoe...@domain.com). kudos, Flavio Botelho On Wed, Dec 2, 2009 at 1:13 AM, Zaya Kh zayak...@gmail.com wrote: *Hi, all* ** *I congfiguring LDAPHierarchicalAuthentication, but I have an error.* -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] DSpace 1.5.2 cocoon.log access problems
I've just completed a fresh install of DSpace 1.5.2 running on Redhat Enterprise 5.4 64-bit. I used the default RHEL packages for all of DSpace's requirements except for Maven which I manually downloaded and installed. I am using a local account called 'dspace' for building and deploying DSpace and Tomcat is running as 'tomcat'. I've added 'tomcat' to the 'dspace' group and made sure my DSpace installation directory has at least 770 (rwxrwx---) permissions so dspace and tomcat can access the files. This appears to be working just fine. The only problem I'm running into is getting dspace access to cocoon.log. The log file is created by Tomcat, the permissions are 644 (rw-r--r--) and it's owned by tomcat:tomcat. Whenever any of the dspace cronjobs are triggered they fail because they can't read/write to cocoon.log. I've tried running Tomcat as 'dspace' which fails thanks to the fact I installed Tomcat using yum instead of downloading a copy and installing/running it as dspace from the get go. To make security updates and management easier I would like to keep my Tomcat installation I have anyway. My current work around for this problem is the following cronjobs run by root before any dspace cronjobs run: #Fixes permissions on DSpace logs (Currently a work around) 0 11 * * * chmod -R 664 /data/dspace/log 1 11 * * * chown -R dspace:dspace /data/dspace/log These crons are run before any of dspace's and hopefully after tomcat rotates its log for the night. I'm looking for a better solution then this. So far what I've come up with is figuring out how to change the default permissions tomcat uses to create the cocoon.log file so the permissions are 664 (rw-rw-r--) instead of 644 (rw-r--r--). Then I could set the group sticky bit on the log directory so files created in the log directory would be owned by tomcat:dspace which would solve the problem completely. Does anyone know how to tweak the default permissions used for creating the cocoon.log file? Should I submit a bug for this? Anyone else have a better solution? I'm all ears. -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] pagination showing files - xmlui theme question
Joan, In the XMLUI I think this can be done using the the pagination feature of the Division class, you'll want to alter or create a new ItemViewer class in the ArtifactBrowser Aspect to facilitate that. Division results = results.setMaskedPagination(itemsTotal, firstItemIndex, lastItemIndex, currentPage, pagesTotal, pageURLMask); Hats off to Scott Philips and the crew at TAMU for thinking that one up. Cheers, Mark On Tue, Dec 1, 2009 at 8:34 AM, Joan Caparros jcapar...@cesca.es wrote: I'm trying to find the way to establish some kind of pagination to show the files. I have in some items maybe 100 files and I don't want to show all in only one page. Is it possible to make that pagination in xmlui? has anyone tried it? Joan -- Mark R. Diggory Head of U.S. Operations - @mire http://www.atmire.com - Institutional Repository Solutions http://www.togather.eu - Before getting together, get t...@ther -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Tech Questions
Hi Imad 1) Can we use MYSQL as database (although I read that your system runs on Oracle and Postgresql)? Ans : you can not use MySQL as database , use postgre its also open source and freely available. 2) Can we 2 tier installation (database on a server and application on another server)? Yes, you can configure database on a server and application on another server. Best Regards Hardik Mishra Software Engineer http://bit.ly/uJ60P - Join Us on Facebook http://www.twitter.com/webinito - Follow us on Twitter Give a man a fish, and you feed him for a day. Teach a man to catch fish and you feed him for a lifetime. Message: 2 Date: Wed, 02 Dec 2009 13:30:38 +0200 From: Imad Musleh imad.mus...@lau.edu.lb Subject: [Dspace-tech] Technical Questions To: dspace-tech@lists.sourceforge.net Message-ID: adeeaa6cab7347f197b12f7060661...@beirut.it.lau.edu.lb Content-Type: text/plain; charset=us-ascii Hello all, First of all this is Imad Musleh from the Lebanese American University, I am an IT project manager. We are looking for an Institutional repository system and we are still in the initial phase, however I have 2 questions and I hope you will have answers for. 1) Can we use MYSQL as database (although I read that your system runs on Oracle and Postgresql)? 2) Can we 2 tier installation (database on a server and application on another server)? Thanks and Best Regards, __ __ Imad Musleh Project Manager Lebanese American University IT Applications and Solutions Beirut - Lebanon TEL : 961-01-786456 Ext 1434 FAX : 961-01-867098 WEB : http://www.lau.edu.lb/ www.lau.edu.lb Email: mailto:imad.mus...@lau.edu.lb imad.mus...@lau.edu.lb -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Creating administrator account error
Hi again, We were not able to solve the problem with the administrator account. We now have used Dspace 1.4 to get started, which works fine. Will it be possible to upgrade from 1.4 to 1.6 (when tested)? Regarding the handle server - will it be possible to migrate this as well from one version to the other one? Regards Renate Hi Renate, We've just been discussing this on the #dspace IRC channel, as it is a strange problem. When attempting to create the administrator account I run into an error. Any suggestion what we could do? dsp...@ir1:/usr/local/dspace/bin$ ./create-administrator Creating an initial administrator account E-mail address: First name: Last name: WARNING: Password will appear on-screen. Password: Again to confirm: Is the above data correct? (y or n): y Exception in thread main java.lang.NullPointerException at java.util.regex.Matcher.getTextLength(Matcher.java:1140) at java.util.regex.Matcher.reset(Matcher.java:291) at java.util.regex.Matcher.init(Matcher.java:211) at java.util.regex.Pattern.matcher(Pattern.java:888) at org.dspace.storage.rdbms.DatabaseManager.findByUnique (DatabaseManager.java:475) Can you check in your Postgres (or Oracle) database that all the DSpace tables have been created successfully? The main table to check for this problem is 'eperson'. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- Renate Morgenstern P O Box 30664, WIndhoek, Namibia Tel/Fax: 242124 Email: rmorgenst...@iway.na -- Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech