[Dspace-tech] Problems installing 1.4.2
Mandriva 7 Postgresql 8 Java 1.4.2 ant 1.7 ant fresh_install leads to error messages beginning with the following and continuing compile: [javac] Compiling 1 source file to /usr/local/src/dspace-1.4.2-source/build/classes [javac] -- [javac] 1. WARNING in /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java (at line 40) [javac] import java.lang.*; [javac] ^ [javac] The import java.lang is never used [javac] -- [javac] 2. ERROR in /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java (at line 55) [javac] import sun.misc.BASE64Encoder; [javac] [javac] The import sun.misc cannot be resolved [javac] -- [javac] 3. ERROR in /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java (at line 238) [javac] BASE64Encoder encoder=(BASE64Encoder) Class.forName(sun.misc.BASE64Encoder).newInstance(); [javac] ^ [javac] BASE64Encoder cannot be resolved to a type [javac] -- [javac] 4. ERROR in /usr/local/src/dspace-1.4.2-source/src/org/dspace/app/oai/DIDLCrosswalk.java (at line 238) [javac] BASE64Encoder encoder=(BASE64Encoder) Class.forName(sun.misc.BASE64Encoder).newIns [javac] tance(); [javac] ^ [javac] BASE64Encoder cannot be resolved to a type [javac] -- [javac] -- [javac] 5. WARNING in /usr/local/src/dspace-1.4.2-source/src/org/dspace/content/Item.java [javac] (at line 51) [javac] import java.util.ListIterator; [javac] ^^ [javac] The import java.util.ListIterator is never used [javac] -- Any help would be greatly appreciated. == Mr. Glenn Bunton Head of Systems Development Old Dominion University Libraries Norfolk, Virginia 23529 [EMAIL PROTECTED] (757) 683-5952 === - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] First name, family name order
Hi all, I've set up Dspace 1.4.1 for our university and all went well. We run it using Win2003, Postgresql and Tomcat6. You can see it here: http://skemman.khi.is I've done some modifications to the code and for instance implemented a locking mechanism so that during submission, users can decide that parts or all of their work will become open to the public at a certain time (say June 2010). I also completely rewrote the LDAP connector to work with our strange AD setup. One thing is still not working. How do I change the way names are displayed in the system? I basically want to get rid of the comma inserted between the first name and family name. You can see it here: http://skemman.khi.is/browse-author . Here in Iceland we have patronyms (http://en.wikipedia.org/wiki/Patronymic) and names are always displayed in the order firsname familyname (patronym) with no comma in between. Does anybody know how I can fix this? best regards, Logi - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] First name, family name order
Hi Jayan, There is supposed to be a way to do this in some easy way. I tried lots of stuff and never got it to work. In the end I simply copied all the files and folders of the Dspace folder that gets created in the Webapps of Tomcat and moved them to the ROOT folder. Simple as that, but probably not the right way to do it. best regards, Logi From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] Sent: 16. júlí 2007 13:29 To: Arnkell Logi Pétursson Subject: RE: [Dspace-tech] First name, family name order hi! Logi, can you please let me know the configuration that you have made to Tomcat to enable dspace access at http://skemman.khi.is https://webmail.ntu.edu.sg/exchweb/bin/redir.asp?URL=http://skemman.khi.is rather than http://skemman.khi.is/dspace. i configured to port 80 and removed the default 8080, but could not remove the dspace parameter for access. please suggest. thanks jayan From: [EMAIL PROTECTED] on behalf of Arnkell Logi Pétursson Sent: Mon 7/16/2007 9:23 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] First name, family name order Hi all, I've set up Dspace 1.4.1 for our university and all went well. We run it using Win2003, Postgresql and Tomcat6. You can see it here: http://skemman.khi.is http://skemman.khi.is/ I've done some modifications to the code and for instance implemented a locking mechanism so that during submission, users can decide that parts or all of their work will become open to the public at a certain time (say June 2010). I also completely rewrote the LDAP connector to work with our strange AD setup. One thing is still not working. How do I change the way names are displayed in the system? I basically want to get rid of the comma inserted between the first name and family name. You can see it here: http://skemman.khi.is/browse-author . Here in Iceland we have patronyms (http://en.wikipedia.org/wiki/Patronymic) and names are always displayed in the order firsname familyname (patronym) with no comma in between. Does anybody know how I can fix this? best regards, Logi Tölvupóstskeyti þetta og viðhengi þess kunna að innihalda trúnaðarupplýsingar. Hafi tölvupósturinn ekki verið ætlaður þér heldur borist fyrir misgáning er þess óskað að þú gætir fyllsta trúnaðar. Tilkynnið sendanda tafarlaust og eyðið tölvupóstinum. Misbrestur getur varðað bótaábyrgð og refsingu. Sjá nánar lög um fjarskipti nr. 81/2003. Tölvupósturinn er á ábyrgð sendanda ef hann tengist ekki starfsemi Kennaraháskóla Íslands. This message including attachments may contain information which is confidential. If you are not the intended recipient and have received the message through mistake, you are kindly requested to treat it in strict confidence and to notify us without delay, as well as to delete the message. Failure may entail civil and criminal liability. See act no. 81/2003 in Telecommunications. The message is at the responsibility of the sender if it is not connected with the operations of Iceland University of Education. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
[Dspace-tech] Expose DSpace as Tomcat ROOT application (was Re: First name, family name order)
The easiest way to do this (and I should probably be responding to the original email) is to move the ROOT directory out of the way (to ROOT.bak or similar) and make a link from the dspace directory to ROOT. cheers, Jim On Mon, Jul 16, 2007 at 01:38:13PM -, Arnkell Logi Pétursson wrote: Hi Jayan, There is supposed to be a way to do this in some easy way. I tried lots of stuff and never got it to work. In the end I simply copied all the files and folders of the Dspace folder that gets created in the Webapps of Tomcat and moved them to the ROOT f older. Simple as that, but probably not the right way to do it. best regards, Logi From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] Sent: 16. júlà 2007 13:29 To: Arnkell Logi Pétursson Subject: RE: [Dspace-tech] First name, family name order hi! Logi, can you please let me know the configuration that you have made to Tomcat to enable dspace access at http://skemman.khi.is https://webmail.ntu.edu.sg/exchweb/bin/redir.asp?URL=http://skemman.khi.is rather than http://skemman.khi.is/dspace. i configu red to port 80 and removed the default 8080, but could not remove the dspace parameter for access. please suggest. thanks jayan From: [EMAIL PROTECTED] on behalf of Arnkell Logi Pétursson Sent: Mon 7/16/2007 9:23 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] First name, family name order Hi all, I've set up Dspace 1.4.1 for our university and all went well. We run it using Win2003, Postgresql and Tomcat6. You can see it here: http://skemman.khi.is http://skemman.khi.is/ I've done some modifications to the code and for instance implemented a locking mechanism so that during submission, users can decide that parts or all of their work will become open to the public at a certain time (say June 2010). I also completely r ewrote the LDAP connector to work with our strange AD setup. One thing is still not working. How do I change the way names are displayed in the system? I basically want to get rid of the comma inserted between the first name and family name. You can see it here: http://skemman.khi.is/browse-author . Here in Icel and we have patronyms (http://en.wikipedia.org/wiki/Patronymic) and names are always displayed in the order firsname familyname (patronym) with no comma in between. Does anybody know how I can fix this? best regards, Logi Tölvupóstskeyti þetta og viðhengi þess kunna að innihalda trúnaðarupplýsingar. Hafi tölvupósturinn ekki verið ætlaður þér heldur borist fyrir misgáning er þess óskað að þú gætir fyllsta trúnaðar. Tilkynnið sendanda tafarlaust og eyðið tölvupóstinum. Misbrestur getur varðað bótaábyrgð og refsingu. Sjá nánar lög um fjarskipti nr. 81/2003. Tölvupósturinn er á ábyrgð sendanda ef hann tengist ekki starfsemi Kennaraháskóla Ãslands. This message including attachments may contain information which is confidential. If you are not the intended recipient and have received the message through mistake, you are kindly requested to treat it in strict confidence and to notify us without delay, as well as to delete the message. Failure may entail civil and criminal liability. See act no. 81/2003 in Telecommunications. The message is at the responsibility of the sender if it is not connected with the operations of Iceland University of Education. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as HP CONFIDENTIAL. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
Re: [Dspace-tech] Dspace vs Greenstone
On 7/14/07, Twaha Daudi [EMAIL PROTECTED] wrote: Hi Dorothea, Thanks for your reply. Sorry for not making it clear.My institutions is looking for free digital library software.The intention is to digitize the existing printed materials and make them available online. Either DSpace or Greenstone would be an acceptable choice for this use. DSpace is somewhat better on document preservation; Greenstone has advantages in end-user usability and flexibility. I would recommend trying both; it is possible to crosswalk items between them, so time spent ingesting material into one will not be lost. Dorothea -- Dorothea Salo[EMAIL PROTECTED] Digital Repository Librarian AIM: mindsatuw University of Wisconsin Rm 218, Memorial Library (608) 262-5493 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Expose DSpace as Tomcat ROOT application (was Re:First name, family name order)
thanks Jim and Logi. From: [EMAIL PROTECTED] on behalf of James Rutherford Sent: Mon 7/16/2007 9:43 PM To: Arnkell Logi Pétursson Cc: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Expose DSpace as Tomcat ROOT application (was Re:First name, family name order) The easiest way to do this (and I should probably be responding to the original email) is to move the ROOT directory out of the way (to ROOT.bak or similar) and make a link from the dspace directory to ROOT. cheers, Jim On Mon, Jul 16, 2007 at 01:38:13PM -, Arnkell Logi Pétursson wrote: Hi Jayan, There is supposed to be a way to do this in some easy way. I tried lots of stuff and never got it to work. In the end I simply copied all the files and folders of the Dspace folder that gets created in the Webapps of Tomcat and moved them to the ROOT f older. Simple as that, but probably not the right way to do it. best regards, Logi From: Jayan Chirayath Kurian [mailto:[EMAIL PROTECTED] Sent: 16. júlà 2007 13:29 To: Arnkell Logi Pétursson Subject: RE: [Dspace-tech] First name, family name order hi! Logi, can you please let me know the configuration that you have made to Tomcat to enable dspace access at http://skemman.khi.is http://skemman.khi.is/ https://webmail.ntu.edu.sg/exchweb/bin/redir.asp?URL=http://skemman.khi.is rather than http://skemman.khi.is/dspace. i configu red to port 80 and removed the default 8080, but could not remove the dspace parameter for access. please suggest. thanks jayan From: [EMAIL PROTECTED] on behalf of Arnkell Logi Pétursson Sent: Mon 7/16/2007 9:23 PM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] First name, family name order Hi all, I've set up Dspace 1.4.1 for our university and all went well. We run it using Win2003, Postgresql and Tomcat6. You can see it here: http://skemman.khi.is http://skemman.khi.is/ http://skemman.khi.is/ I've done some modifications to the code and for instance implemented a locking mechanism so that during submission, users can decide that parts or all of their work will become open to the public at a certain time (say June 2010). I also completely r ewrote the LDAP connector to work with our strange AD setup. One thing is still not working. How do I change the way names are displayed in the system? I basically want to get rid of the comma inserted between the first name and family name. You can see it here: http://skemman.khi.is/browse-author . Here in Icel and we have patronyms (http://en.wikipedia.org/wiki/Patronymic) and names are always displayed in the order firsname familyname (patronym) with no comma in between. Does anybody know how I can fix this? best regards, Logi Tölvupóstskeyti þetta og viðhengi þess kunna að innihalda trúnaðarupplýsingar. Hafi tölvupósturinn ekki verið ætlaður þér heldur borist fyrir misgáning er þess óskað að þú gætir fyllsta trúnaðar. Tilkynnið sendanda tafarlaust og eyðið tölvupóstinum. Misbrestur getur varðað bótaábyrgð og refsingu. Sjá nánar lög um fjarskipti nr. 81/2003. Tölvupósturinn er á ábyrgð sendanda ef hann tengist ekki starfsemi Kennaraháskóla Ãslands. This message including attachments may contain information which is confidential. If you are not the intended recipient and have received the message through mistake, you are kindly requested to treat it in strict confidence and to notify us without delay, as well as to delete the message. Failure may entail civil and criminal liability. See act no. 81/2003 in Telecommunications. The message is at the responsibility of the sender if it is not connected with the operations of Iceland University of Education. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- James Rutherford | Hewlett-Packard Limited registered Office: Research Engineer | Cain Road, HP Labs | Bracknell, Bristol, UK | Berks +44 117 312 7066 | RG12 1HN. [EMAIL PROTECTED] | Registered No: 690597 England The contents of this message and any attachments to it are confidential and may be legally privileged. If you have received this message in error, you should delete it from your system immediately and advise the sender. To any recipient of this message within HP, unless otherwise stated you should consider this message and attachments as
Re: [Dspace-tech] Another Internal System Error
Graham, Updated to ojdbc14.jar for 10.2, recompiled, redeployed the new wars and received the identical error. I did not pull down nor replace any of the classes, nor ons.jar. Should I? Exception: java.lang.IllegalArgumentException: Unsupported JDBC type: at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java:14 87) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:815 ) at org.dspace.content.MetadataValue.create(MetadataValue.java:253) at org.dspace.content.Item.update(Item.java:1493) at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:473) Brian A. Helstien, SISD, MLS, Director, Special Technologies Initiatives, IDM, University Libraries x06913 University of Southern California, (213) 740-6913 Los Angeles, California, 90089 [EMAIL PROTECTED] Information is independent of media or format -Original Message- From: Graham Triggs [mailto:[EMAIL PROTECTED] Sent: Sunday, July 15, 2007 10:00 PM To: Brian Helstien; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Another Internal System Error Firstly, you don't need ocrs12 (won't cause any problems though). Secondly, ojdbc14 doesn't say anything about the version (14 just means it is for JDK 1.4 and above). I suspect that you are using 9i release drivers, which are limited in their handling of CLOBs with the thin driver. Upgrade the driver to the latest 10g release. You can still connect to previous database releases, and they improve CLOB identification / handling. G - Original Message - From: Brian Helstien [EMAIL PROTECTED] To: Graham Triggs [EMAIL PROTECTED]; dspace-tech@lists.sourceforge.net Sent: Sunday, July 15, 2007 10:58 PM Subject: RE: [Dspace-tech] Another Internal System Error Graham, # Database name (oracle, or postgres) #db.name = postgres db.name = oracle for connecting to database db.url = jdbc:oracle:thin:@db-dev1.usc.edu:1521:dspacet ojdbc14.jar ocrs12.jar Brian A. Helstien, SISD, MLS, Director, Special Technologies Initiatives, IDM, University Libraries x06913 University of Southern California, (213) 740-6913 Los Angeles, California, 90089 [EMAIL PROTECTED] Information is independent of media or format From: Graham Triggs [mailto:[EMAIL PROTECTED] Sent: Sun 7/15/2007 11:31 AM To: Brian Helstien; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Another Internal System Error The 'trick' is to go down the stack trace until you find what is calling the DatabaseManager - in this case, it's MetadataValue.create(), which means it is trying to insert into the MetadataValue table. This probably means it is complaining about the text_value column, which is/should be a CLOB. If it is a CLOB, and it's being reported as an 'OTHER' type, then this may be a problem with the drivers. What version of the Oracle drivers are you using / what is your db.url? G - Original Message - From: Brian Helstien [EMAIL PROTECTED] To: dspace-tech@lists.sourceforge.net Sent: Friday, July 13, 2007 5:31 PM Subject: [Dspace-tech] Another Internal System Error I too need some analysis of an Internal System Error (Dspace 1.4.2). In attempting to submit something to my test instance, after filling out the items on the second step and selecting next I got the DEBUG error below. I'm using Oracle and understand the JDBC refers to a problem with the Oracle tables. Not sure which table, data type, etc I should be investigating. An internal server error occurred on http://cassandra.usc.edu:8180/dspace: Date: 7/13/07 9:25 AM Session ID: B9B08D52FA84D1E7B4D4EE95A2BF9EF0 -- URL Was: http://cassandra.usc.edu:8180/dspace/submit -- Method: POST -- Parameters were: -- dc_type: Article -- dc_contributor_author_last_0: Helstien -- dc_relation_ispartofseries_1: 5678 -- submit_next: Next -- dc_title: My Test Submission -- dc_contributor_author_first_0: Brian -- dc_identifier_value_0: 1234-5678 -- dc_identifier_qualifier_0: issn -- workspace_item_id: 82 -- dc_relation_ispartofseries_0: 1234 -- step: 2 -- dc_language_iso: en_US Exception: java.lang.IllegalArgumentException: Unsupported JDBC type: at org.dspace.storage.rdbms.DatabaseManager.execute(DatabaseManager.java: 14 87) at org.dspace.storage.rdbms.DatabaseManager.insert(DatabaseManager.java:8 15 ) at org.dspace.content.MetadataValue.create(MetadataValue.java:253) at org.dspace.content.Item.update(Item.java:1493) at org.dspace.content.WorkspaceItem.update(WorkspaceItem.java:473) at org.dspace.app.webui.servlet.SubmitServlet.userHasReached(SubmitServlet. java:2209) at org.dspace.app.webui.servlet.SubmitServlet.processEditMetadata(SubmitS er vlet.java:963) at org.dspace.app.webui.servlet.SubmitServlet.doDSPost(SubmitServlet.java :3 82) at
[Dspace-tech] Authorizing a user to add a file to a document
Hi: I chatted briefly with Rob Tansley about this on IRC, but I thought I would post to the list and see if I'm overlooking something. I'm attempting to grant a user the ability to add more files to a single document. The context is that the document is a book, and the author wants to be able to add chapters as they are completed so that it is an open work in progress. We're running DSpace 1.4.1 at the moment. In the process of trial and error, I added the user to the Collection Admin group for the collection in which the document appears. That wasn't enough; so I gave the user ADD and WRITE permissions on the item Bundle; that wasn't enough. I can't see any further permissions that I can add through the Item Policy editor. When the user tries to add an item, however, they receive an error message that they are not authorized to perform that action. The log file contains the following exception: authorize_error:org.dspace.authorize.AuthorizeException: Authorization denied for action WRITE on BITSTREAM:176 by user 6 But of course, I can't grant permissions to the user on the bitstream in advance because that is simply the next bitstream in sequence - it doesn't exist until the user attempts to upload it. From reading the pertinent code[1], it seems that the only way to add files to a document is if you are a DSpace administrator - and I really don't want to open things up this wide for a single user. Am I missing something obvious here? Or is DSpace not set up to enable this sort of granular authorization scheme? 1. http://dspace.svn.sourceforge.net/viewvc/dspace/trunk/dspace-api/src/main/java/org/dspace/authorize/AuthorizeManager.java?revision=1957view=markup, method authorize(), clause if isAdmin(c) { return true; } Thanks, -- Dan Scott Laurentian University - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech