Re: [Dspace-tech] Getting started with DSpace
Under Current Release, DSpace 1.8.1 can be downloaded from the files area in SourceForge (Zip) http://sourceforge.net/projects/dspace/files/DSpace%20Stable/1.8.0/ or via SVN http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.8.0/. DSpace is a regular java webapp that can run on a notebook PC to a full-blown powerful server. Hardware requirement depends on - your expected number of active users - your expected acceptable speed in browsing the IR - your expected total size of data and document files to store In general, the requirement of dspace is similar to that of a regular web server. Allen hub.hku.hk On 2012-02-04 10:00 PM, Rahul Soni wrote: Dear Sirs/Madams I am Rahul Kumar Soni, a 5th senior undergraduate student at Indian School of Mines-Dhanbad, India, and very new to DSpace. My university wants to install DSpace and I have been given the responsibility to look for all technical requirements. Though, I read a lot about DSpace but still have some queries hovering in my mind. Thus, I would request you to please provide information regarding following aspects: 1. DSpace is free, how can I get its latest full version. http://www.dspace.org/quick-start-guide shows that a demo version will last for 1 hour only. Please clarify. 2. What are hardware requirements for installing DSpace as an institutional repository. Thanking you Rahul Kumar Sonihttp://sites.google.com/site/ismrahulsoni Senior UG Student Indian School of Mines -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Assistance request: Dspace batch import
Hi Saqib, Sorry for late reply. Try writing the xml like that: dcvalue element=title qualifier=noneThis is title/dcvalue Hope this helps. Regards, Allen. On 2011-05-18 1:28 PM, Saqib Ilyas wrote: Dear Allen I was referred by a friend to you for the following scenario. I am new to library management in general and dspace in particular. My librarian wishes to migrate their DB/Textworks deployment to DSpace. I've got DSpace 1.6.0 installed on Fedora 9. I followed the instructions on this pagehttp://www.scottphillips.com/2009/05/howto-dspace-batch-ingest/about bulk import. We exported the data from DB/Textworks into a CSV file. I wrote a Python script to convert the CSV files into XML files. A sample XML file is attached. I know that some of the element/qualifier pairs are not valid in the XML file as per the DC metadata. However, I am getting the following error, among many others: [dspace@localhost bin]$ ./import -t -e msa...@gmail.com -a -c 123456789/6 -s ../import -m map.txt **Test Run** - not actually importing items. Destination collections: Owning Collection: PressClippings Adding items from directory: ../import Generating mapfile: map.txt Adding item from directory 22557 Loading dublin core from ../import/22557/dublin_core.xml Schema: dc Element: Title Qualifier: Value: Most housing projects vanish into obivion ERROR: Metadata field: 'dc.Title.null' was not found in the registry. The way I see it, it is saying that it found the Title filed in the XML file. Why is it looking for dc.Title.null in the registry? Thanks in advance for your help. Best regards -- What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Question about replacement of special characters in XML
Hi Sue, It is not necessary to convert all chars into html reference, except for a few special chars not usable in xml. All you need is to define and save the xml file in utf-8. Appended an example file with some special chars in its original form. Open it in a browser. (don't know can this mailing list retain the appended file) Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-12-30 10:22 AM, Thornton, Susan M. (LARC-B702)[LITES] wrote: Hi, We are working on an interface between a legacy system and DSpace 1.5.1 and I keep running into problems with special characters in the text. NASA research documents have lots of different special characters in them – some of them are common ones such as the degree symbol - ° and some of them are more uncommon ones such as “right ceiling” - ⌉ (see http://myhandbook.info/codes_htmlchr.html for a pretty good list of symbols and their equivalent “character references”). The interface is fairly new and so far we’ve just been adding code to the extract program that outputs an xml file, to replace the special character or symbol with the equivalent “character reference” as we identify them. Inevitably though, the program is going to abend when it finds a symbol we haven’t coded for and we’re going to have to keep changing it to replace new symbols. I did some Googling today, trying to find an already-existing JAVA method or class that replaces symbols with the equivalent character reference, hoping that I don’t have to write one myself, but so far have not found one. Does anyone know of one? Thanks in advance, Sue Sue Walker-Thornton Software Developer/Database Administrator NASA Langley Research Center|LITES Contract SGT, Inc.|130 Research Drive Hampton, Va. 23666 Office: (757) 224-4074 Mobile: (757) 506-9903 Fax: (757) 224-4001 susan.m.thorn...@nasa.gov -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech ?xml version=1.0 encoding=utf-8?dublin_core dcvalue element=title¢£¤¥½¼¾ââââ¬Ï/dcvalue /dublin_core -- Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Limiting Searches
Hi George, Our dspace instance has a type indexing that can be searched. I did put the type-search options in a separated page - http://hub.hku.hk/browse/browse-type.jsp In the Advanced search there is no type drop down, but there is a custom made language drop down. Welcome for stealing, or borrowing of idea. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-09-30 2:37 AM, George Stanley Kozak wrote: I was recently asked to add type to the fields that can be searched in the Advance Search. I did do that. However, the problem is that users don't really know all of the types, so I was asked to add a drop down for all types. Along with that I was asked if I could modify the Advance Search so that people can limit their searches by Date range or by type. Before I spend a lot of time figuring this out, I was wondering if anyone has done anything similar to this that I could copy (or steal!). Thanks! George Kozak Digital Library Specialist Cornell University Library Information Technologies (CUL-IT) 501 Olin Library Cornell University Ithaca, NY 14853 607-255-8924 -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Metadata appearing twice
Hi Koushik, I usually like to separate queries of inspecting data from queries of deleting data, for the sake of playing safe. Try this. select distinct * from metadatavalue m1, metadatavalue m2 where m1.item_id=m2.item_id and m1.metadata_field_id=m2.metadata_field_id and m1.text_value=m2.text_value and m1.metadata_value_id!=m2.metadata_value_id order by m1.metadata_field_id I would run this query in a program. for each result row, compare the m1.place and m2.place values, then write down, to file, the metadata_value_id that carries a bigger place value There shall be duplication of IDs in the list. In a separate operation, read IDs from the file, put IDs in a Set (or similar hash structure) to filter away duplicates. Finally, for each unique to-delete ID, delete from metadatavalue where metadata_value_id=[xxx] I coined out the above query in a coffee time. It is not tested in the field. Someone can improve it to prevent duplicate outputs. You may like to fully check the list before executing delete, to assure you are not killing something that deserve to stay. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-08-04 1:14 AM, Koushik Banerjee wrote: Hello Allen, Thanks a lot for the guide. Here is what further investigation has unearthed - 1 This duplicate metadata issue doesn't occur with new submissions. For this installation, the DB was copied from an earlier version. It is only with these old items that the duplicate metadata entries show up. 2 The problem is in the DB itself. In the metadatavalue table, for each item_id there are duplicate entries for each metadata. It looks something like this - select * from metadatavalue where item_id=1000; metadata_value_id | item_id | metadata_field_id | text_value | text_lang | place | authority | confidence 988 |1000 | 15 | 2001-12 | | 1| | -1 989 |1000 | 26 | Rescission\r | en | 1| | -1 5204 |1000 | 15 | 2001-12 | | 1| | -1 7654 |1000 | 26 | Rescission\r | en | 1| | -1 ... ... Do you have a suggestion exactly how this can be solved? I am not very comfortable with DBs and do not want to try something arbitrary and completely mess it up. Or may be if you can refer a particular resource on the net, going through which will help me write my own sql queries to get rid of this problem. Thanks again, Koushik On Thu, Jul 29, 2010 at 11:40 PM, Allen Lam allen.dsp...@gmail.com mailto:allen.dsp...@gmail.com wrote: Hi Koushik, The immediate task is to find out why there are duplicate entries in the db, and stop creating duplication again. I don't know your installation or customization history, so this is a wild guess again. There could be some errors made in your item submission form. Check the item submission xml under config. If it is not the cause of the problem..., I don't know. Please look back what changes you've made to the system recently. OK. The next step is to remove the duplicate entries in the database. Either you delete it manually in the edit item page one-by-one, or you do it in the database level, do some SQL queries and write some programs to automate the de-dup and delete process. Luckily you only have to deal with one db table named 'metadatavalue'. Hope this rough guide could kick start your rescue process. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-30 3:46 AM, Koushik Banerjee wrote: Thanks Allen. I checked the edit item page. That also has duplicate entries i.e. two dc.contributor.author, two dc.date.issued fields etc which can be edited. Does it mean that the database itself is wrong? In that case, how do I get rid of this problem? Thanks On Thu, Jul 29, 2010 at 1:30 PM, Allen Lam allen.dsp...@gmail.com mailto:allen.dsp...@gmail.com wrote: Hi Koushik, First try to make sure there is no duplication in the database. Go into the Edit item page to check. If the problem is not with the db, it may be caused by incorrect indexing. There could be some errors in your config file. Without extra information it is only a wild guess. But remember
Re: [Dspace-tech] Publishers' policies in dspace
Hi Nabonita, Thanks for appreciation. That publisher policies function is a custom webapp built with custom servlets. It has its own independent database outside dspace's database. The publisher and journal data are not coming from dspace. They come from our staff effort to collect from various sources including SHERPA/RoMEO, DOAJ, and also inquiry results with some publishers. The pages looks harmonious with other dspace pages because they are using the same dspace display template. I am putting the source code of this webapp alongside with dspace source codes, so that when we repackage dspace src, the custom webapp is packaged and deployed with dspace together. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-30 12:11 PM, Nabonita Guha wrote: Dear Mr Lam, Customization of your dspace repository is quite interesting, particularly the browse option of publishers' policies (http://hub.hku.hk/publisher/browsePublisher). If you don't mind, can you please share with me how this customization is done? Thanks in anticipation. With best regards -- Nabonita Guha Library-cum-Information Officer Jawaharlal Nehru Centre for Advanced Scientific Research, Jakkur Post, Bangalore - 560064 Karnataka, INDIA Email: nabon...@jncasr.ac.in mailto:nabon...@jncasr.ac.in Web: http://lib.jncasr.ac.in -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how and where to add or edit metadata for jspui interface.. plz reply..
Find the tool to edit your schema: [your dspace host]/dspace-admin/metadata-schema-registry Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-29 2:00 PM, shashidhar chaturvedi wrote: Dear Sir, Thanks for your help. Sir, I have one more doubt that how can i add or edit meta data for jspui page. *I want to delete like author, serial number etc and add few new meta data in jspui interface.* Please tell me how can i do this. i am using *DSpace 1.6* I am waiting for your kind response. Thanks in advance. regards Shashidhar Chaturvedi -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Metadata appearing twice
Hi Koushik, First try to make sure there is no duplication in the database. Go into the Edit item page to check. If the problem is not with the db, it may be caused by incorrect indexing. There could be some errors in your config file. Without extra information it is only a wild guess. But remember that any changes to indexing config need a re-indexing afterward to see the effect. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-30 1:19 AM, Koushik Banerjee wrote: The same thing happens in both JSPUI and XMLUI. I guess that means the problem is not at the UI layer but something deeper. The Browse or Handle servlets? This dual-display happens while viewing a particular item i.e. url like [host]/[dspace or xmlui]/handle/number1/number2 also the author names are displayed twice when i browse using titles with an url [host]/[dspace or xmlui]/browse?type=title Any help is much appreciated. On Tue, Jul 27, 2010 at 5:47 PM, Koushik Banerjee koushik.baner...@gmail.com mailto:koushik.baner...@gmail.com wrote: Hello, I am trying out a DSpace 1.6 installation on postgresql. When I view an item, all metadata is displayed twice. It looks something like this Title: This is the sample title This is the sample title Authors: Author 1 Author 1 Author 2 Author 2 Issue Date: 21-May-2008 21-May-2008 etc etc. Anyone any idea. At what level can this problem be? Thanks. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Metadata appearing twice
Hi Koushik, The immediate task is to find out why there are duplicate entries in the db, and stop creating duplication again. I don't know your installation or customization history, so this is a wild guess again. There could be some errors made in your item submission form. Check the item submission xml under config. If it is not the cause of the problem..., I don't know. Please look back what changes you've made to the system recently. OK. The next step is to remove the duplicate entries in the database. Either you delete it manually in the edit item page one-by-one, or you do it in the database level, do some SQL queries and write some programs to automate the de-dup and delete process. Luckily you only have to deal with one db table named 'metadatavalue'. Hope this rough guide could kick start your rescue process. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-30 3:46 AM, Koushik Banerjee wrote: Thanks Allen. I checked the edit item page. That also has duplicate entries i.e. two dc.contributor.author, two dc.date.issued fields etc which can be edited. Does it mean that the database itself is wrong? In that case, how do I get rid of this problem? Thanks On Thu, Jul 29, 2010 at 1:30 PM, Allen Lam allen.dsp...@gmail.com mailto:allen.dsp...@gmail.com wrote: Hi Koushik, First try to make sure there is no duplication in the database. Go into the Edit item page to check. If the problem is not with the db, it may be caused by incorrect indexing. There could be some errors in your config file. Without extra information it is only a wild guess. But remember that any changes to indexing config need a re-indexing afterward to see the effect. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-30 1:19 AM, Koushik Banerjee wrote: The same thing happens in both JSPUI and XMLUI. I guess that means the problem is not at the UI layer but something deeper. The Browse or Handle servlets? This dual-display happens while viewing a particular item i.e. url like [host]/[dspace or xmlui]/handle/number1/number2 also the author names are displayed twice when i browse using titles with an url [host]/[dspace or xmlui]/browse?type=title Any help is much appreciated. On Tue, Jul 27, 2010 at 5:47 PM, Koushik Banerjee koushik.baner...@gmail.com mailto:koushik.baner...@gmail.com wrote: Hello, I am trying out a DSpace 1.6 installation on postgresql. When I view an item, all metadata is displayed twice. It looks something like this Title: This is the sample title This is the sample title Authors: Author 1 Author 1 Author 2 Author 2 Issue Date: 21-May-2008 21-May-2008 etc etc. Anyone any idea. At what level can this problem be? Thanks. -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to change jspui text plz reply....
Hi Shashidhar, To change text or links in the navbar, for jspui you have to edit the files webapp/layout/navbar*.jsp Hope this helps. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-28 12:52 PM, shashidhar chaturvedi wrote: Dear Sir, I am customizing DSpace 1.6. *I want to change jspui text like in navbar instead of communities-collections, i want department-section and instead of author i want submitter and all.* Please tell me which file i will change so that i will get that result. *I want to remove text like collection, community, author, hits, etc and instead these text i wnt to replace with new words.* Please reply as soon as possible. I am using *DSpace 1.6.* Thanks in advance. regards shashidhar chaturvedi NIC Trivandrum -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The Palm PDK Hot Apps Program offers developers who use the Plug-In Development Kit to bring their C/C++ apps to Palm for a share of $1 Million in cash or HP Products. Visit us here for more details: http://p.sf.net/sfu/dev2dev-palm___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Need ur help regarding browse by type
Dear Amjad, Here is a brief list of how our dspace instance, HKU Scholars Hub, prepared this Browse by Type function. 1. Each item should have a dc.type value. The values are controlled unique words. 2. In dspace.cfg, add dc.type into one of the search.index list (search.index.1, search.index.2, etc) 3. Run index-init 4. Prepare some dspace search URLs, write them into links for users. e.g. in our dspace instance we have a link /simple-search?query=(type:Journal) for searching journal items Consult the dspace help page for the format of the query string. This help page is supposed to help your users. 5. That's it. Our Browse by Type is actually a result of Search by Type. We predefined the search and users will get a list by clicking into a link. Simple, easy way to introduce additional aspects to classify and display items. Hope you find it useful. Best, Allen Lam. HKU Scholars Hub Administrator, http://hub.hku.hk On 2010-07-15 7:13 PM, AMJAD USMAN wrote: Respected Sir, hi. hope you will be fine, doing well. sir i need your help regarding browse by type. i want to add this facility to my dspace. can you tell me how can i do that ? waiting for your reply... From: Amjad NUST, Pakistan. Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up now. https://signup.live.com/signup.aspx?id=60969 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Storage of documents
Hi Amjad, Dspace is working in the application layer, while RAID is much close to layers about hardware and OS. There is no much relationship between them. In short, if your OS supports RAID, dspace can benefit from this feature. Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-07-14 8:33 PM, AMJAD USMAN wrote: hello every body, can anybody tell me whether DSpace supports RAID technology for storing data? From: Amjad Usman Marwat MSIT 9 , SEECS, NUST, H-12 Campus Islamabad. Hotmail: Trusted email with powerful SPAM protection. Sign up now. https://signup.live.com/signup.aspx?id=60969 -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ Dspace-general mailing list dspace-gene...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-general -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Error
A user typed in an incorrect URL and brought about this error. You can do nothing as long as users can access dspace services normally. If you hate getting this kind of exception reports causing by incorrect URLs, you may wish to find a programmer to fix your source code. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-07-15 2:39 AM, liss RR wrote: Hi all... I received this mail yesterday but I don't understand what I most do please help me!!! Asunto: DSpace: Error Interno de Servidor Ha ocurrido un error interno http://srvcoldiguv.xalapa.intra.uv.mx:8080/dspace: https://mailweb.uv.mx/owa/redir.aspx?C=06aa1099b2324d718b5fc6cb1dae6e08URL=http%3a%2f%2fsrvcoldiguv.xalapa.intra.uv.mx%3a8080%2fdspace%3a Fecha: 7/14/10 12:05 PM Sesión ID: 0E60CA9C6BA95D0F0FED7CC63ADA6518 -- URL Was: http://148.226.9.79:8080/dspace/bitstream https://mailweb.uv.mx/owa/redir.aspx?C=06aa1099b2324d718b5fc6cb1dae6e08URL=http%3a%2f%2f148.226.9.79%3a8080%2fdspace%2fbitstream -- Method: GET -- Parameters were: Exception: java.lang.NullPointerException at org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:106) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:151) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:99) at javax.servlet.http.HttpServlet.service(HttpServlet.java:627) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:581) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:873) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) at java.lang.Thread.run(Unknown Source) En Messenger están mis contactos con los que sí tengo contacto www.vivirmessenger.com -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] (no subject)
No, the design of dspace allows no sub-collection. It allows communities to have sub-communities, and communities/sub-communities to have collections. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-06-14 7:58 PM, Augustine Gitonga wrote: Colleagues, Is it possible to create SUB-COLLECTIONS? A collection withing a collection? Or it would only be wise to make the 'senior' colection a Sub-community and then make the 'sub-collections' collections? Let me know Regards, *The Lord is my Light and my Salvation Ps 27:1* */Augustine Gitonga/* */Nairobi/* */E-mail: /* */agnya...@yahoo.com/* mailto:agnya...@yahoo.com -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] want to add new menu in nav-bar in Dspace
Hi Shashidhar, In jspui, the default left menu is written in this file: jspui/layout/navbar-default.jsp Modify this file to customize the menu. Extra hints: banner, footers, etc are also defined in some other files in that directory and are customizable. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-06-09 7:20 PM, shashidhar chaturvedi wrote: -Respected Sir, I am Shashidhar Chaturvedi working in NIC Trivandrum. Sir i configure Dspace on Linux machine. i face one problem 1. In jspui i want to add and modify left menus How can i do this. Give me some tips. Sir, Kindly help me for solving the above problem Thanks in advance. regards Shashidhar Chaturvedi Programmer, NIC Trivandrum shashidharchaturve...@gmail.com mailto:shashidharchaturve...@gmail.com 09037695850 / / -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Batch import metadata help needed
Hi Renata, It seems you are missing one important step before batch import: to rewrite your csv file into xml files in dublin core format. There are existing tools to generate the needed xml files from some sources. These tools sometimes are called converters, transformers, crosswalks, or csv2dc, etc. Do some searching. As the tools are pre-built, they may or may not fully meet your requirement. If in-house programmers are available writing a custom-made one is not too difficult, and gives perfect results. Also remember that the xml files and other associated files needs to be put in suitable folders in a rigidly defined structure. Consult the dspace manual about this requirement. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-05-25 8:24 AM, Renata Dyer wrote: Dear dspace-tech list; I am new to the dspace world and need some basic help. This is what I am trying to do: I have exported over a 1000 records from the library management system into a csv format and would like to batch import these records (no attachments here) into the dspace. I found some documents on the wiki but I seem to miss the initial starting point. I have created the collection and the fields that will match the fields in my csv file. Then after creating a collection I go to the Import metadata and select the file to load it - but I got the error message: *An unknown error has occurred* I just have a feeling that I am missing the crucial step; do I need to have a separate plug-in installed? We are on Dspace 1.6.0. Sorry for asking a stupid question but I thought this would be a very time-consuming investigation for me while being an easy answer for an expert. If anyone has done something similar I would appreciate if you could share your procedures. Many thanks, *Renata Dyer* Manager, Systems and Electronic Services High Court of Australia Library http://www.hcourt.gov.au/library.html Canberra, ACT 2604 ph: 02 6270 6916 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] One Bitstream in Multiple DSpace Items?
Hi Stacy, Yes, it is perfectly possible. You have to work directly on the database. You need to insert a row in item2bundle table, marking down the bundle_id (containing the bitstream) and the item_id (of the extra item that you want to have the same bitstream). Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk On 2010-04-28 6:51 AM, penning...@rhodes.edu wrote: I know that there are plenty of different reasons not to do this (redundant metadata being only one), and you can probably do this better with the XMLUI interface, but does anyone know if it is possible to have a single bitstream referenced by multiple DSpace items, located in different collections? Thanks in advance for the help. -- Stacy Pennington Rhodes College penning...@rhodes.edu (901) 843-3968 -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] FW: Field names in DSpace
Hi Virginia, Sorry we do not have such a modified version. We've modified that piece of source code a lot but not in the way you want. We prefer the original dc.* field names in the full metadata display, like this: http://hub.hku.hk/handle/123456789/55831?mode=full The render() method already carries all sample codes you need to do the label translation. Look at somewhere around... label = I18nUtil.getMessage(metadata. + ); Get a java programmer. He should be able to implement it in the renderFull() method without much difficulty. Hope this helps. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk David Palmer wrote: -Original Message- From: Virginia Knight [mailto:virginia.kni...@bristol.ac.uk] Sent: Monday, April 19, 2010 10:16 PM Subject: Field names in DSpace I am setting up a repository using DSpace software and one modification we would like to make is to translate field names from the full version using DC to the shorter names our site users are likely to expect. I see that you have replied to a query about this on a DSpace Forum: http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08036.html saying that ItemTag.java needs to be modified. Do you have copy of your modified version of this file which I could look at? Virginia Knight -- -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Help
Hi Daniel, To facilitate knowledge exchange, discussions is better be done on public mailing list more than through person emails. If you reply please mail to Tech List of dspace. Thanks. Back on your question. I want to offer help but need your providing more information. Could you describe in details about your (unsuccessful) customization procedure: - what files (directories and names) you have edited and - what actions are done afterward - and your dspace version, OS, webapp container, etc. Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Daniel Francis wrote: Dear Allen, I am Daniel Francis currently working at the University of Dar es salaam, Tanzania as a Systems Administrator. Could you help me, when i try to customize the Sidebar of my jspui dspace interface and save there is no changes, i mean nothing changes. your help please! Regards, Daniel. -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Help
Hi Daniel, - Try restart tomcat. If it does not help... - Check if your dspace admin has privilege to write files into your [dspace.dir]/config directory. The top news and sidebar news data is written into that config folder. Check the file date of news-top.html. Does it remain unchanged after you edit the top news? If yes, write-privilege is the problem. Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Daniel Francis wrote: Dear Allen, Thank you for the prompt reply, i posted my proplem in the mailing list but there was no reply. I have installed Dspace 1.5.2 in ubuntu server 8.04, using tomcat 5.5 as webapp container. It's working fine, i'm just having a problem in customizing the Top News and the Sidebar news. I just login as an administrator and try to edit them but after saving nothing changes! The other problem is when i try to register a new user i get a system internal error but i have configured correctly the dspace.cfg file. Thank you once again for your assistance. Regards, Daniel -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace help
Hi Kumara, Please check your firewall setting: is port 8080 blocked? Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Kumara SS wrote: Hi all, Dspace is working successfully from http://localhost:8080 and i have created the administrator account. But when i give the ip address(http://ip address:8080), the page won't display. It says Error: Request timed out. Even though i have mentioned the ip address in dspace.cfg file, it won't display. How to make my dspace run from ip address so that i can access dspace from other systems? Details of the configuration files: 1. dspace (/usr/local/dspace/conf/dspace.cfg) #DSpace installation directory dspace.dir = /usr/local/dspace # DSpace host name - should match base URL. Do not include port number dspace.hostname = ipaddress # DSpace base host URL. Include port number etc. dspace.baseUrl = http://ipaddress:8080 # DSpace base URL. Include port number etc., but NOT trailing slash # Change to xmlui if you wish to use the xmlui as the default, or remove # /jspui and set webapp of your choice as the ROOT webapp in # the servlet engine. dspace.url = ${dspace.baseUrl} # The base URL of the OAI webapp (do not include /request). dspace.oai.url = ${dspace.baseUrl} # Name of the site #dspace.name = DSpace at My University dspace.name = TKDL-DSpace # Database settings # # Database name (oracle, or postgres) #db.name = postgres db.name = postgres #db.name = oracle # URL for connecting to database #db.url = jdbc:postgresql://localhost:5432/dspace db.url = jdbc:postgresql://localhost:5432/dspace # JDBC Driver #db.driver = org.postgresql.Driver db.driver = org.postgresql.Driver 2. Apache-Tomcat-5.5.28' server.xml Connector port=8080maxHttpHeaderSize=8192 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false redirectPort=8443 acceptCount=100 connectionTimeout=2 disableUploadTimeout=true URIEncoding=UTF-8 / Engine name=Catalina defaultHost=localhost Host name=localhost appBase=webapps unpackWARs=true autoDeploy=true xmlValidation=false xmlNamespaceAware=false Context path= docBase=/usr/local/dspace/webapps/jspui debug=0 reloadable=true cachingAllowed=false allowLinking=true/ Context path=/jspui docBase=/usr/local/dspace/webapps/jspui debug=0 reloadable=true cachingAllowed=false allowLinking=true/ Context path=/xmlui docBase=/usr/local/dspace/webapps/xmlui debug=0 reloadable=true cachingAllowed=false allowLinking=true/ Context path=/oai docBase=/usr/local/dspace/webapps/oai debug=0 reloadable=true cachingAllowed=false allowLinking=true/ /Host 3. And in Postgresql a) postgres.conf listen_addresses = 'localhost' #port = 5432 max_connections = 30 b) pg_hba.conf local all all trust hostall all 127.0.0.1/32 trust hostall all ::1/128 trust host dspace dspace 127.0.0.1 255.255.255.255 MD5 Tell me, what were the modifications to make? Please reply.. Thanks in advance With regards Kumara SS -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Browse by Author/Subject in Chinese
Hi Hayden, In our case, for items having chinese author names, there are usually pinyin or various kinds of latinized representation of the names in the record. All names are naturally ordered, i.e. A-Z list first and then the chinese names. So you'll see surnames Lee, then Li, then inside the chinese block there is 李. Our IR is open to the public. You are welcome to click into each section and page to see how the rows are listed. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Mr Havercamp wrote: Thanks Allen. If HKU is satisfied with natural ordering then it should be more than sufficient for our project as well. Are you handling pinyin, or latinized, names as well within your author lists? If so, are they listed along with the chinese names and how are they sorted on the screen? Cheers Hayden On 19/03/10 13:23, Allen Lam wrote: Hi Hayden, Part of our dspace items are having chinese titles and chinese author names. We do not have special ordering for any specific languages so that chinese texts are ordered in their natural ordering. We are storing data in UTF-8. The meaning of natural is that when each char (in english or chinese or any languages) of a string of text is interpreted as an integer value, the strings of integers are ordered from small to big. For example, a list of chinese names are naturally ordered like that: 何子雅 何存德 何存邦 何學儉 何學強 何宏德 何宗憲 何宗義 何定邦 何宛珊 because their numerical values are that: 20309 23376 38597 20309 23384 24503 20309 23384 37030 20309 23416 20745 20309 23416 24375 20309 23439 24503 20309 23447 25010 20309 23447 32681 20309 23450 37030 20309 23451 29642 It is subjective to define what is the correct order. I feel the natural ordering is correct enough for our use. You can re-define the ordering by providing information of stroke, binary or phonetic for each string of text you want to order in dspace. It means defining extra dc tags and supplying extra metadatavalues when you submit each item. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Mr Havercamp wrote: We have a DSpace instance which is storing metadata in the Chinese language. We are wondering whether anybody has tackled this and been successful in ordering the Author and Subject correctly. If so, did you use the stroke, binary or phonetic method for sorting the relevant fields. Cheers Hayden -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Browse by Author/Subject in Chinese
Hi Hayden, Part of our dspace items are having chinese titles and chinese author names. We do not have special ordering for any specific languages so that chinese texts are ordered in their natural ordering. We are storing data in UTF-8. The meaning of natural is that when each char (in english or chinese or any languages) of a string of text is interpreted as an integer value, the strings of integers are ordered from small to big. For example, a list of chinese names are naturally ordered like that: 何子雅 何存德 何存邦 何學儉 何學強 何宏德 何宗憲 何宗義 何定邦 何宛珊 because their numerical values are that: 20309 23376 38597 20309 23384 24503 20309 23384 37030 20309 23416 20745 20309 23416 24375 20309 23439 24503 20309 23447 25010 20309 23447 32681 20309 23450 37030 20309 23451 29642 It is subjective to define what is the correct order. I feel the natural ordering is correct enough for our use. You can re-define the ordering by providing information of stroke, binary or phonetic for each string of text you want to order in dspace. It means defining extra dc tags and supplying extra metadatavalues when you submit each item. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Mr Havercamp wrote: We have a DSpace instance which is storing metadata in the Chinese language. We are wondering whether anybody has tackled this and been successful in ordering the Author and Subject correctly. If so, did you use the stroke, binary or phonetic method for sorting the relevant fields. Cheers Hayden -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Items in more than one collection
Hi Claudia, Thanks for reminding. I forgot there is that button. It has been unused for a long time. Here's is the reason. It is author-oriented. Very often we find that this mapping tool cannot satisfy our needs. It requires admin to type in an author name and then pick out items from a list. But the search is not intelligent enough - it is case-sensitive; it needs a precise matching of punctuations within the keyword; it knows no word boundary. And sometimes it takes a long time to generating a long list, plus it is difficult to pick items from a long list. Our use case is often item-oriented - we have a list of itemIDs/handles/titles and want to map the items to several collections. An easier approach is to have an "Add Collection-Mapping" button in the Edit Item page. Having said "Add", it is logical to have "Delete" too. Along side with the original "Move" function the collection-mapping editing tool is complete. I customized the src to allow more actions in the item edit servlet. We also have commond line tools for batch changes to mapping. If these are generally wanted improvements I am pleased to help introduce them in future versions of dspace. What do you think? Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Claudia Jrgen wrote: Hello Alan, there is the functionality to map items to other than their owning collections via the web UI. Log in as admin (collection admin). Navigate to the collection you want to map an item to. JSPUI - item mapper in the admin tools XMLUI - item mapper in the context menu Search the item to be mapped and then map it. Hope that helps Claudia Jrgen -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Import Issues
Hi Caryn, If you are going to use shell command ls for this purpose, I have a suggestion to reduce manual editing: ls --ignore=contents --ignore=dublin_core.xml contents Not every version of linux supports this switch. If your linux does, it is possible to write a script to recursively run this command through all sub-dirs. Then all contents files creation can be finished in a second. What editor you are using to edit the contents files? IMHO, file encoding is still the main suspect in the issue. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Caryn Neiswender wrote: Hi, Allen~ Thanks for the tip! I actually did notice this was an issue with some of the contents files (I tried using a variety of methods to generate the contents file). In the end, the most effective method was to do ls contents, then remove the contents and dublin_core.xml line (very time consuming for 1,027 items). However, this actually didn't solve the issue... It seems like quite a strange (and lurking) issue! I was on a deadline, so I figured out a way to complete the load without resolving the issue. Once I have a moment or two, I'll go back and see what I can do to actually fix the problem. Thanks again, Caryn Original Message Subject: Re: [Dspace-tech] DSpace Import Issues From: Allen Lam allen.dsp...@gmail.com To: dspace-tech@lists.sourceforge.net Date: 2/18/2010 1:39 AM Hi Caryn, I am not sure if it is helpful. Just give a pointer to let you check against. From your description, the error could be caused by incorrect character encoding in your file that is named as contents. Make sure this contents file is **plain text**, with ANSI/ASCII contents and NOT saved in unicode or UTF-8 encoding. UTF-8 encoded text files have 3 extra bytes at the head and this could cause problem for the import program to process correctly. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Caryn Neiswender wrote: Hello, All~ I'm encountering a strange import issue, that I'm hoping someone on the list can help me track down. The command: /dspace/bin/import -a -e {email address} -c 10575/11 -s /dspace/import -m /dspace/import/test DSpace Version: 1.5.2 When I run a test run, everything looks perfectly fine, and multiple items seem to be added. When I run it live, I keep getting file not found. While the error message is the same, the system sometimes can't locate the contents file, sometimes the PDF, and sometimes the license. I do a ls on the directory, and all files are there (and non-blank). I have been able to load a few files, mostly through doing things like renaming the file (and adjusting the contents file), re-creating the contents file (either by hand, typing the file names, or using ls contents, then removing the contents and dublin_core.xml lines). The system reads the metadata just fine - it just can't seem to find the files. I also checked ownership on the import directory - all directories and files are owned by dspace. Any help you can provide would be extremely appreciated!!! Thanks, Caryn ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Caryn Neiswender Digital Projects Specialist UC Irvine Libraries (949) 824-9086 Curiosity sends us out To a world both larger and smaller Than what we know and believe in With a passion for finding an answer Or at least understanding our questions. -Excerpt from Julia Alvarez's Why I Am in Love with Librarians. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intel#174; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace Import Issues
Hi Caryn, I am not sure if it is helpful. Just give a pointer to let you check against. From your description, the error could be caused by incorrect character encoding in your file that is named as contents. Make sure this contents file is **plain text**, with ANSI/ASCII contents and NOT saved in unicode or UTF-8 encoding. UTF-8 encoded text files have 3 extra bytes at the head and this could cause problem for the import program to process correctly. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Caryn Neiswender wrote: Hello, All~ I'm encountering a strange import issue, that I'm hoping someone on the list can help me track down. The command: /dspace/bin/import -a -e {email address} -c 10575/11 -s /dspace/import -m /dspace/import/test DSpace Version: 1.5.2 When I run a test run, everything looks perfectly fine, and multiple items seem to be added. When I run it live, I keep getting file not found. While the error message is the same, the system sometimes can't locate the contents file, sometimes the PDF, and sometimes the license. I do a ls on the directory, and all files are there (and non-blank). I have been able to load a few files, mostly through doing things like renaming the file (and adjusting the contents file), re-creating the contents file (either by hand, typing the file names, or using ls contents, then removing the contents and dublin_core.xml lines). The system reads the metadata just fine - it just can't seem to find the files. I also checked ownership on the import directory - all directories and files are owned by dspace. Any help you can provide would be extremely appreciated!!! Thanks, Caryn ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Caryn Neiswender Digital Projects Specialist UC Irvine Libraries (949) 824-9086 Curiosity sends us out To a world both larger and smaller Than what we know and believe in With a passion for finding an answer Or at least understanding our questions. -Excerpt from Julia Alvarez's Why I Am in Love with Librarians. -- SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Download Intelreg; Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How to run dsrun command
Hi Vinsenso, stat-initial is written for Linux/Unix uses. To use it in windows... - open a command prompt - in the command prompt, change directory to your dspace\bin - type dsrun org.dspace.app.statistics.CreateStatReport -r stat-initial in command prompt (without quot), ENTER The above command is copied from the file stat-initial (open it by notepad or any text editor). Follow the same rule to execute other dsrun commands. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Vinsenso wrote: hi all need some help... i get confused about 'run the dsrun command'... how to run dsrun command in [dspace]\bin...?? example: stat-initial [Cause i want to active the statistic in my DSpace] when I do double click on stat-initial, what program should I use to open the file...?? I have tried to use Java(TM) 2 Platform Standard Edition binary, but it gave an error like this 'Invalid or corrupt jarfile C:\DSpace\bin\stat-initial' for additional : I'm using DSpace 1.5.2 and Windows Server 2003 Thx for helping...^^ -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Display abstract field as hyperlink
Hi, Ngamsritragul, There are many folds of issues you might need to consider: - Putting the abstract content in metadata can help searching because it usually contains useful keywords. - You need to turn on indexing on this abstract tag to enable searching. - Mixing abstract text with download link in the same tag do no good for indexing and searching. - Some abstracts contain special chars and some are just too long that could not display well in the browser. - adding too too many text contents in metadata can degrade indexing and searching speed. Your database may also grow in size in a speed you do not want to see. - When people download a file by a link in metadata, it is difficult to make a statistics count. - some more localized issues that only you know... Hope it helps. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Panyarak Ngamsritragul wrote: Dear Allen, Thanks for your reply... I am aware of what you have pointed out, and that could be an option to consider. I would (or would not?) be better if one can put abstract file in the corresponding field. But I was also triggered last night that putting hyperlink in abstract field might affect the search results... Any suggestion ? Panyarak Ngamsritragul Prince of Songkla University. On Wed, 18 Nov 2009, Allen Lam wrote: Hi, Ngamsritragul, You need not adding and showing the abstract metadata field at all, if you don't want to. Add it as a bitstream file. An example in our IR: http://hub.hku.hk/handle/123456789/55221 Is this a solution good for your case? Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Panyarak Ngamsritragul wrote: Hi, In our batch (bulk) importing process, we would like to eliminate the process of inputting a large amount of abstracts. This can be done by put a hyperlink to existing abstract file instead. By default, however, the display of abstract field does not support html tags... Can any of you suggest where I should modify to have DSpace support html tag in abstract field ? Thanks. Panyarak Ngamsritragul Prince of Songkla University. -- 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- 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
Re: [Dspace-tech] Display abstract field as hyperlink
Hi, Ngamsritragul, You need not adding and showing the abstract metadata field at all, if you don't want to. Add it as a bitstream file. An example in our IR: http://hub.hku.hk/handle/123456789/55221 Is this a solution good for your case? Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Panyarak Ngamsritragul wrote: Hi, In our batch (bulk) importing process, we would like to eliminate the process of inputting a large amount of abstracts. This can be done by put a hyperlink to existing abstract file instead. By default, however, the display of abstract field does not support html tags... Can any of you suggest where I should modify to have DSpace support html tag in abstract field ? Thanks. Panyarak Ngamsritragul Prince of Songkla University. -- 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
Re: [Dspace-tech] MINIMUM HARDWARE REQUIREMENTS FOR DSPACE INSTALLATION
Hi ff, Dspace itself is not hardware demanding. A desktop PC we bought nearly 10 years ago is running the newest version of dspace without problem. If you are talking about the minimum, I guess you need less than 500MB harddisk space for installation and 1GB ram for bootup and running various services. Besides, you need an Internet connection to install the system. But such minimum starting point will bring up a barebone dspace system only, good for evaluation and testing. The actual requirement of production scale depends on the purpose you are going to use the system. If there are lots of data files to store, you need lots of harddisk space. If you have plenty of public users, you need fast CPU, much more rams and fast Internet connection. All depends on your budget and needs. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk olufunmilayo favour wrote: Hi all. Please, what are the minimum hardware requirements for Dspace installation? Thanks. FF -- 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
Re: [Dspace-tech] About reset user password
Hi Agusmen, You should fix the SMTP setting of dspace and/or the SMTP setting of your server, to allow dspace to send out emails. Besides, you can create a new admin account by the create-administrator command. Then use your new account to fix up any problem in the admin interface. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Agusmen wrote: Hi, Today I try to login to my DSpace site using my user whose as an admin status, but I forgot my password. when I try to use the link Have you forgotten your password? then type my email anddress, and pressed the button I forgot my password I hope to get a message from the DSpace are sent to my email address, waiting for a moment and the result is I do not get an email from my Dspace site. Is there an expert friends could help me?? Thank you, sorry for bed explanation -- 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
Re: [Dspace-tech] FW: help windows installation
Hi Susan, Check these points: Find in dspace.cfg, what username you are using to login to postgres? Open pgAdminIII (provided by postgres) and check the Login Roles. Can you find the username? In pgAdminIII also check the properties of the dspace database. Who is the owner? Fix any conflicts that you discover. Best, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Kantargis, Susan wrote: Hello, I’ve been relocation dspace to a new windows server and must have missed a step along the line. This message comes up when I bring \jspui up with tomcat: WARN org.dspace.jsp @ anonymous:no_context:database_error:org.postgresql.util.PSQLException\colon; FATAL\colon; permission denied for database dspace Detail\colon; User does not have CONNECT privilege. org.postgresql.util.PSQLException: FATAL: permission denied for database dspace Detail: User does not have CONNECT privilege. Can someone please point to the right spot? *Sue Kantargis* Programmer Analyst *Department of Computing Resources** * Southern New Hampshire University 2500 North River Road Manchester, NH 03106 *Phone:* 603-668-2211 ext. 2337 *Fax:* 603-645-9775 Please consider the environment before printing this e-mail. -- 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
Re: [Dspace-tech] possible to search for records with/without bitstream?
Hi Platt, Without rewriting the dspace source, there is a way to make any field you like become searchable. The solution is to add the information into a metadata value. In the IR I am managing I created a metadata tag to describe the item type, so that we could filter out thesis having full -text or abstract-only or TOC-only. A little changes to the config file is needed if you wish your advanced search options to include your custom metadata tags. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Platt, Alice wrote: Hello all, DSpace 1.5.2: Does anyone know if it is possible to configure the Advanced Search so that the records displayed can be narrowed down by the presence, or lack of, a bitstream? We may have several records without bitstreams, and it seems it would be very helpful for people to search “full text,” if you will. Thanks, Alice Platt Digital Initiatives Librarian Shapiro Library Southern New Hampshire University 2500 North River Rd Manchester, NH 03106 USA Please consider the environment before printing this e-mail. -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] for help
Hi Parvez, Would you specify you are going to use the xmlui or jspui? They are very different in UI customization aspect. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Parvez Ahmad wrote: Dear Group members!! I have just installed DSpace on my PC, Now I want to customized the the main page of same. I have some points to ask to all of you - how can i add more language in default language array in frist page of data uploading page? - how can i remove the default footer? - How can i change the default background clour of main page. please five me your valuable suggestions!! -- Thanks Regards!!! Parvez Ahmad -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Unable to compile class for JSP
Hi Francis, Yes, the problem is on your java. Your java version is 1.3 which is not supporting generics and the modern for-loop syntax. Upgrade it to version 1.6 then there will be no problem. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Brouns, Francis wrote: Hi all, We are trying to install Dspace 1.5.2 on a Linux SLES server, using Oracle as database. After some initial problem with database setup, I now can create communities and collection and submit an item. However, when I try to access MyDSpace to take the workflow task, I get an Internal System error. The webpage source lists 2 errors while compiling /mydspace/main_jsp Could this be related to the Java version we are running? We are running IBM Java 1.5. - !-- Unable to compile class for JSP An error occurred at line: 78 in the jsp file: /mydspace/main.jsp Generated servlet error: /srv/www/tomcat5/base/work/Catalina/localhost/jspui/org/apache/jsp/mydspace/main_jsp.java:132: generics are not supported in -source 1.3 (try -source 1.5 to enable generics) ListString exportsAvailable = (ListString)request.getAttribute(export.archives); ^ An error occurred at line: 448 in the jsp file: /mydspace/main.jsp Generated servlet error: /srv/www/tomcat5/base/work/Catalina/localhost/jspui/org/apache/jsp/mydspace/main_jsp.java:805: for-each loops are not supported in -source 1.3 (try -source 1.5 to enable for-each loops) for(String fileName:exportsAvailable){ ^ 2 errors - Kind regard, Francis Brouns Open Universiteit Nederland -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Reindex question
Hi Edmir, It seems your are missing some steps in the installation of dspace, or some steps are not finished completely. There should be a bin directory under your dspace source. Run ant update to let it copy the bin directory to your dspace home. Run indexing commands from the bin of your dspace home, i.e. dspace/bin Hope this helps. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Edmir Carvalho Cavalcante wrote: Hi, [dspace]$ ls assetstore config exports handle-server log reports search upload My questions: How to run the shell script ./index-all? Do i need to download something? Under which directory to run the three commands? I did in the command prompt under Dspace installation directory/bin (LINUX) Thanks, Edmir -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Unable to compile class for JSP
Some more remarks... You said you are using IBM Java 1.5. There are two problems. 1. The error log said you are using 1.3. That means you have another 1.3 java for running your tomcat instance. Or you have added a parameter to enforce your 1.5 java to act like a 1.3 java. 2. Use only Sun's java. IBM's java may not be 100% compatible with Sun's. Hope it helps. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Brouns, Francis wrote: Hi all, We are trying to install Dspace 1.5.2 on a Linux SLES server, using Oracle as database. After some initial problem with database setup, I now can create communities and collection and submit an item. However, when I try to access MyDSpace to take the workflow task, I get an Internal System error. The webpage source lists 2 errors while compiling /mydspace/main_jsp Could this be related to the Java version we are running? We are running IBM Java 1.5. - !-- Unable to compile class for JSP An error occurred at line: 78 in the jsp file: /mydspace/main.jsp Generated servlet error: /srv/www/tomcat5/base/work/Catalina/localhost/jspui/org/apache/jsp/mydspace/main_jsp.java:132: generics are not supported in -source 1.3 (try -source 1.5 to enable generics) ListString exportsAvailable = (ListString)request.getAttribute(export.archives); ^ An error occurred at line: 448 in the jsp file: /mydspace/main.jsp Generated servlet error: /srv/www/tomcat5/base/work/Catalina/localhost/jspui/org/apache/jsp/mydspace/main_jsp.java:805: for-each loops are not supported in -source 1.3 (try -source 1.5 to enable for-each loops) for(String fileName:exportsAvailable){ ^ 2 errors - Kind regard, Francis Brouns Open Universiteit Nederland -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] html enties (html symbols)
Hi Terrance, Having seen your response, I do experiment on using the trick on the jspui and xmlui. I found that it works well in the jspui only. Are you using the xmlui? In the xmlui, not only the #xxx; chars cannot be reinterpreted, other originally good non-ASCII chars will be distorted by double-decoding. This does not happen in the jspui. I am not using the xmlui (partly due to the complexity and error-prone results of multiple layer translation of codes and data). Perhaps some other experienced dspace-xml/cocoon users could give some advices? Allen Lam. HKU Hub Administrator, http://hub.hku.hk Terrance Davis wrote: Hi Allen, I see this works nicely during the initial submission process, but on the edit-item pages after the submission is approved (and is live), I click Update twice with no change. The symbol does not replace the unicode value. (I am using DSpace 1.5.2, btw) I have tried various combinations of browsing off the page and back, hoping for the unicode replacement behavior you mention. Am I (hopefully) missing an obvious way to save twice on this page? I am guessing that in the initial submission process, navigating using Next and then going back merely saves the data in the session rather than finalizing it with a save to the database, thus allowing the useful side effect of unicode being re-interpreted before the data actually is submitted to the database. I'm just not sure how to get this behavior once I click the Edit... button on a live submission page. It isn't a multi-page submission, and I think that is my challenge. Best regards, Terrance On Oct 7, 2009, at 9:55 PM, Allen Lam wrote: Hi Terrance, The solution depends on how you are entering data to dspace. Take a common scenario as example. If the user is opening the web-based Edit Item tool, and wishes to add a copyright sign (a circle-c) to one of the fields, he can type in #169; and save twice. To type in Greek chars, e.g. #945; for alpha, #946; for beta, etc. You can find these magic numbers in the Unicode book or web (http://www.unicode.org/). Why save twice? After the first save the data will be recorded plainly as #169; in db. When it is redisplayed in the web browser edit tool, it will be interpreted as the circle-c char. Save it again. Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Terrance Davis wrote: Hi, My users of DSpace want to insert special symbols by editing metadata of approved submissions. Inserting as an html entity doesn't work, because the is re-interpreted as a amp; before inserting in the database. Is there a way to escape the ampersand so that the raw HTML entity is not mangled? (for instance prevent lt; from becoming amp;lt;) Or, do I need to edit the database directly in the database? The characters we want may cut and paste, but not submit properly to DSpace. Thanks in advance. -Terrance -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] html enties (html symbols)
Hi Terrance, The solution depends on how you are entering data to dspace. Take a common scenario as example. If the user is opening the web-based Edit Item tool, and wishes to add a copyright sign (a circle-c) to one of the fields, he can type in #169; and save twice. To type in Greek chars, e.g. #945; for alpha, #946; for beta, etc. You can find these magic numbers in the Unicode book or web (http://www.unicode.org/). Why save twice? After the first save the data will be recorded plainly as #169; in db. When it is redisplayed in the web browser edit tool, it will be interpreted as the circle-c char. Save it again. Cheers, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Terrance Davis wrote: Hi, My users of DSpace want to insert special symbols by editing metadata of approved submissions. Inserting as an html entity doesn't work, because the is re-interpreted as a amp; before inserting in the database. Is there a way to escape the ampersand so that the raw HTML entity is not mangled? (for instance prevent lt; from becoming amp;lt;) Or, do I need to edit the database directly in the database? The characters we want may cut and paste, but not submit properly to DSpace. Thanks in advance. -Terrance -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Help in Google Analytics
Hi, If you want Google to track your web site, as least you should enable Google to see it. No one other than yourself could see your localhost web sites. You should give it a proper domain name or IP and let the world access it. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Hardik Mishra wrote: Hello Sir, I have asked a question in your blog of google analytics code. My question is still awaiting moderator approval. http://blog.stuartlewis.com/2009/05/29/surfacing-google-analytics-stats-in-dspace/ *My Question : * I am running dspace in local. I have added code in header-default.jsp and in display-item.jsp I have added code but when i am generating file using dsrun , I am getting zero hits. In google Analytics accout ,it shows Tracking is not installed. I do have Website URL: http://localhost:8080/jspui http://localhost:8080/dspace Does the code works locally ? Please Help Me out. -- 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. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] reindexing question
Hi, Lucy, It seems you have some misconceptions that should be made clear first... - indexing in dspace has nothing to do with Google index - google analytics is not for making your contents searchable in google If you want your contents be searchable in google, open your door wide to let goolgle robots crawl your website. Actually there are a lot more robot senders other than google, e.g. msn, yahoo, ask, sogou, Most robots will visit your site uninvited. You could make robots live easier by: - telling them you have a site you want them to index - do not block robots access - made html sitemaps - and other tips you could find in the dspace wiki page Allen Lam. HKU Hub Administrator, http://hub.hku.hk Lucy Wang wrote: Hi Allen, Thanks for your help again and again. There are still someting I feel confused. I am on DSpace 1.5.1 on Window server 2003. My understanding is after DSpace is setup, Dspace will automically takes care of indexing issue. The reason I thought about reindexing because I found out that I can’t find the items in our school DSpace in Google, Google Scholars… Should I do something to make it happen? I deleted the robot in the server. Right now I am following Ensuring your instance is indexed at http://wiki.dspace.org/index.php/Ensuring_your_instance_is_indexed. when i register with googl analytics, it says google can’t index our site.. I really don't know what I am supposed to do. Maybe reindexing may solve the problem. I am looking forward to your mail. Thanks in millions Xiaocan (Lucy) Wang Indiana State University xiaocan.w...@indstate.edu mailto:xiaocan.w...@indstate.edu 812-237-3052 --- On *Fri, 9/18/09, Allen Lam /allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: dspace-tech DSpace-tech@lists.sourceforge.net Date: Friday, September 18, 2009, 1:29 AM Oh, yeah... Chuck just pointed out that the third command line should be dsrun org.dspace.search.DSIndexer -b Allen. Allen Lam wrote: Lucy, you cannot run linux/unix scripts in windows. Instead, you can write the 3 command lines into a plain text file, save it as index-init.bat into the same place of dsrun.bat. Then, in that directory you type index-init to execute. Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ Lucy Wang wrote: Hi Allen, Thanks for the help. Right now I am on DSpace 1.5.1 in window server 2003. I think I used the exact command in your mail. My questions: How to run the shell script in windows? Do i need to download something? Under which directory to run the three commands? I did in the command prompt under Dspace installation directory/bin. Thanks in millions. Lucy --- On *Thu, 9/17/09, Allen Lam /allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: dspace-tech DSpace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net Date: Thursday, September 17, 2009, 9:38 AM fix There should be three commands to run: dsrun org.dspace..browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter dsrun org.dspace..browse.DSIndexer -b /fix Allen. Allen Lam wrote: Hi, You are using Windoze so that the script cannot be run. As a replacement, run these two commands: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ http://hub.hku.hk/ http://hub.hku.hk/ Lucy Wang wrote: Hi Allen, I did run the index-init script, it look like as following in the command prompt: E:\DSpace_Test\bindsrun org.dspace.browse.IndexBrowse -f -r Using DSpace installation in: E:\DSpace_Test E:\DSpace_Test\bin How can I run the index-init? Many thanks. Lucy Indiana State University --- On *Fri, 2/27/09, Allen Lam /allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen..dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose
Re: [Dspace-tech] reindexing question
Hi, You are using Windoze so that the script cannot be run. As a replacement, run these two commands: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ Lucy Wang wrote: Hi Allen, I did run the index-init script, it look like as following in the command prompt: E:\DSpace_Test\bindsrun org.dspace.browse.IndexBrowse -f -r Using DSpace installation in: E:\DSpace_Test E:\DSpace_Test\bin How can I run the index-init? Many thanks. Lucy Indiana State University --- On *Fri, 2/27/09, Allen Lam /allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: Jewel jewel.brueggeman-ma...@washburn.edu, dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Date: Friday, February 27, 2009, 1:23 AM Hi Jewel, As Juergen suggested, InitializeBrowse is not there anymore. Run the scripts bin/index-init or bin/index-update as needed. The scripts aim to create a browse index and then a search index. Indexing helps you browse and search faster. Roughly speaking, the steps of indexing is to tokenize some search strings into word list, filter out undesirable words, some fine touches on the remaining word list, and then put them into a mini database (not that of postgres) recording what words can be found in which item. With regard to scheduled maintenance, it is NOT necessary to re-index dspace unless you've made changes to the indexing rules or have edited the database directly. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ Jewel wrote: I am in the process of determining what needs to be performed in terms of maintenance and scheduling for Dspace. One of my questions is regarding reinexing. On the Dspace wiki the steps on reindexing are here. http://wiki.dspace.org/index.php/Re-index_DSpace dsrun org.dspace.browse.InitializeBrowse dsrun org.dspace.search.DSIndexer My question is what exactly are these steps doing? I issued the first command and received an error and when I issues the second command it just returned me to my prompt but looked like it did so something. I am running version 1.5.1 on a Windows 2003 machine. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] reindexing question
fix There should be three commands to run: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter dsrun org.dspace.browse.DSIndexer -b /fix Allen. Allen Lam wrote: Hi, You are using Windoze so that the script cannot be run. As a replacement, run these two commands: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ Lucy Wang wrote: Hi Allen, I did run the index-init script, it look like as following in the command prompt: E:\DSpace_Test\bindsrun org.dspace.browse.IndexBrowse -f -r Using DSpace installation in: E:\DSpace_Test E:\DSpace_Test\bin How can I run the index-init? Many thanks. Lucy Indiana State University --- On *Fri, 2/27/09, Allen Lam /allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: Jewel jewel.brueggeman-ma...@washburn.edu, dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Date: Friday, February 27, 2009, 1:23 AM Hi Jewel, As Juergen suggested, InitializeBrowse is not there anymore. Run the scripts bin/index-init or bin/index-update as needed. The scripts aim to create a browse index and then a search index. Indexing helps you browse and search faster. Roughly speaking, the steps of indexing is to tokenize some search strings into word list, filter out undesirable words, some fine touches on the remaining word list, and then put them into a mini database (not that of postgres) recording what words can be found in which item. With regard to scheduled maintenance, it is NOT necessary to re-index dspace unless you've made changes to the indexing rules or have edited the database directly. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ Jewel wrote: I am in the process of determining what needs to be performed in terms of maintenance and scheduling for Dspace. One of my questions is regarding reinexing. On the Dspace wiki the steps on reindexing are here. http://wiki.dspace.org/index.php/Re-index_DSpace dsrun org.dspace.browse.InitializeBrowse dsrun org.dspace.search.DSIndexer My question is what exactly are these steps doing? I issued the first command and received an error and when I issues the second command it just returned me to my prompt but looked like it did so something. I am running version 1.5.1 on a Windows 2003 machine. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] reindexing question
Lucy, you cannot run linux/unix scripts in windows. Instead, you can write the 3 command lines into a plain text file, save it as index-init.bat into the same place of dsrun.bat. Then, in that directory you type index-init to execute. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Lucy Wang wrote: Hi Allen, Thanks for the help. Right now I am on DSpace 1.5.1 in window server 2003. I think I used the exact command in your mail. My questions: How to run the shell script in windows? Do i need to download something? Under which directory to run the three commands? I did in the command prompt under Dspace installation directory/bin. Thanks in millions. Lucy --- On *Thu, 9/17/09, Allen Lam /allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: dspace-tech DSpace-tech@lists.sourceforge.net Date: Thursday, September 17, 2009, 9:38 AM fix There should be three commands to run: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter dsrun org.dspace.browse.DSIndexer -b /fix Allen. Allen Lam wrote: Hi, You are using Windoze so that the script cannot be run. As a replacement, run these two commands: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ http://hub.hku.hk/ Lucy Wang wrote: Hi Allen, I did run the index-init script, it look like as following in the command prompt: E:\DSpace_Test\bindsrun org.dspace.browse.IndexBrowse -f -r Using DSpace installation in: E:\DSpace_Test E:\DSpace_Test\bin How can I run the index-init? Many thanks. Lucy Indiana State University --- On *Fri, 2/27/09, Allen Lam /allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: Jewel jewel.brueggeman-ma...@washburn.edu http://us.mc1110.mail.yahoo.com/mc/compose?to=jewel.brueggeman-ma...@washburn.edu, dspace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net dspace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net Date: Friday, February 27, 2009, 1:23 AM Hi Jewel, As Juergen suggested, InitializeBrowse is not there anymore. Run the scripts bin/index-init or bin/index-update as needed. The scripts aim to create a browse index and then a search index. Indexing helps you browse and search faster. Roughly speaking, the steps of indexing is to tokenize some search strings into word list, filter out undesirable words, some fine touches on the remaining word list, and then put them into a mini database (not that of postgres) recording what words can be found in which item. With regard to scheduled maintenance, it is NOT necessary to re-index dspace unless you've made changes to the indexing rules or have edited the database directly. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ http://hub.hku.hk/ Jewel wrote: I am in the process of determining what needs to be performed in terms of maintenance and scheduling for Dspace. One of my questions is regarding reinexing. On the Dspace wiki the steps on reindexing are here. http://wiki.dspace.org/index.php/Re-index_DSpace dsrun org.dspace.browse.InitializeBrowse dsrun org.dspace.search.DSIndexer My question is what exactly are these steps doing? I issued the first command and received an error and when I issues the second command it just returned me to my prompt but looked like it did so something. I am running version 1.5.1 on a Windows 2003 machine. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open
Re: [Dspace-tech] reindexing question
Oh, yeah... Chuck just pointed out that the third command line should be dsrun org.dspace.search.DSIndexer -b Allen. Allen Lam wrote: Lucy, you cannot run linux/unix scripts in windows. Instead, you can write the 3 command lines into a plain text file, save it as index-init.bat into the same place of dsrun.bat. Then, in that directory you type index-init to execute. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Lucy Wang wrote: Hi Allen, Thanks for the help. Right now I am on DSpace 1.5.1 in window server 2003. I think I used the exact command in your mail. My questions: How to run the shell script in windows? Do i need to download something? Under which directory to run the three commands? I did in the command prompt under Dspace installation directory/bin. Thanks in millions. Lucy --- On *Thu, 9/17/09, Allen Lam /allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: dspace-tech DSpace-tech@lists.sourceforge.net Date: Thursday, September 17, 2009, 9:38 AM fix There should be three commands to run: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter dsrun org.dspace.browse.DSIndexer -b /fix Allen. Allen Lam wrote: Hi, You are using Windoze so that the script cannot be run. As a replacement, run these two commands: dsrun org.dspace.browse.IndexBrowse -f -r dsrun org.dspace.browse.ItemCounter Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ http://hub.hku.hk/ Lucy Wang wrote: Hi Allen, I did run the index-init script, it look like as following in the command prompt: E:\DSpace_Test\bindsrun org.dspace.browse.IndexBrowse -f -r Using DSpace installation in: E:\DSpace_Test E:\DSpace_Test\bin How can I run the index-init? Many thanks. Lucy Indiana State University --- On *Fri, 2/27/09, Allen Lam /allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com/* wrote: From: Allen Lam allen.dsp...@gmail.com http://us.mc1110.mail.yahoo.com/mc/compose?to=allen.dsp...@gmail.com Subject: Re: [Dspace-tech] reindexing question To: Jewel jewel.brueggeman-ma...@washburn.edu http://us.mc1110.mail.yahoo.com/mc/compose?to=jewel.brueggeman-ma...@washburn.edu, dspace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net dspace-tech@lists.sourceforge.net http://us.mc1110.mail.yahoo.com/mc/compose?to=dspace-t...@lists.sourceforge.net Date: Friday, February 27, 2009, 1:23 AM Hi Jewel, As Juergen suggested, InitializeBrowse is not there anymore. Run the scripts bin/index-init or bin/index-update as needed. The scripts aim to create a browse index and then a search index. Indexing helps you browse and search faster. Roughly speaking, the steps of indexing is to tokenize some search strings into word list, filter out undesirable words, some fine touches on the remaining word list, and then put them into a mini database (not that of postgres) recording what words can be found in which item. With regard to scheduled maintenance, it is NOT necessary to re-index dspace unless you've made changes to the indexing rules or have edited the database directly. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk http://hub.hku.hk/ http://hub.hku.hk/ Jewel wrote: I am in the process of determining what needs to be performed in terms of maintenance and scheduling for Dspace. One of my questions is regarding reinexing. On the Dspace wiki the steps on reindexing are here. http://wiki.dspace.org/index.php/Re-index_DSpace dsrun org.dspace.browse.InitializeBrowse dsrun org.dspace.search.DSIndexer My question is what exactly are these steps doing? I issued the first command and received an error and when I issues the second command it just returned me to my prompt but looked like it did so something. I am running version 1.5.1 on a Windows 2003 machine. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
Re: [Dspace-tech] Customising Dspace Interface
To rapidly change the look of dspace, you should first go through these files: - login as admin and edit the News text - jspui/css/*.css - jspui/layout/*.jsp - new images to replace the banner, etc. Allen. HKU Hub Administrator, http://hub.hku.hk Lewatle Phaladi wrote: Hi All I am in the process of changing the look of my dspace at my university, i am using jspui, please give me advice on how to rapidly get done with that. Regards Lewatle This communication is intended for the addressee only. It is confidential. If you have received this communication in error, please notify us immediately and destroy the original message. You may not copy or disseminate this communication without the permission of the University. Only authorized signatories are competent to enter into agreements on behalf of the University and recipients are thus advised that the content of this message may not be legally binding on the University and may contain the personal views and opinions of the author, which are not necessarily the views and opinions of The University of the Witwatersrand, Johannesburg. All agreements between the University and outsiders are subject to South African Law unless the University agrees in writing to the contrary. -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Customization Dspace
Hi Hardik, You can copy your new jsp and associated files to your dspace deployed directory dspace/webapps/jspui/ You will see the editing effect immediately by refreshing your browser. Sometimes it may need restarting tomcat to take effect. No packaging is needed. This is good for fast testing during development. If you do not have Internet access, you can change dspace config to use localhost as domain. Take caution: Copy your new jsp and other files to your source directory when you finish testing. Next time when you repackage dspace, all files in the deployed directory will be removed. Allen. Hardik Mishra wrote: Hello Everyone I am in need of customization of JSPUI and i have enough details to do it. From material i got for customization says that after each change , i need to repackage using mvn. But i do not have internet at the place where i am doing customization. So, is there anyway to have that i made is get change reflected without internet. I think it won't be possible without internet. Please let me know ASAP. -- Best Regards Hardik Mishra Jr. Software Engineer Follow Us On Twitter : webinito *Webinito Networks *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. ___ Dspace-general mailing list dspace-gene...@mit.edu http://mailman.mit.edu/mailman/listinfo/dspace-general -- 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
Re: [Dspace-tech] [Dspace-general] show HTML data
Hi, Antonio, I would suggest a better approach is to remove html tags from dc values, as far as possible. If there are documents that needs to have html or other formatting codes included, attach these documents as bitstream files. Allen. HKU Hub Administrator, http://hub.hku.hk Antonio Cuomo wrote: dear D-Space developer/user i have a question: i have some html code in my Database in the description field, of course the html have been transformed in plain text. so the database entry is: h3 hello /h3 /brpit is a description p when DSpace shows the database content it actually shows the text: h3 hello /h3 /brpit is a description p while i wuold like to say the html resoults instead: *hello* it is a description How can i do it? i see two possibilities: - Overwrite the java class that take data from the database and send them to manakin in order to decode the html - working at Mankin level(but it seems me pretty much more complicated):in the file DIM-Handler.xsl xsl:if test=dim:fie...@element='description' and not(@qualifier)] ... xsl:copy-of select=./node()/ -- call some html decoder here ... /xsl:if I'm sure i'm not the first one who had this need... and i can see some security issues concerned with the solution can somebody give me some indication or a solution? Thank you very much Antonio ___ Dspace-general mailing list dspace-gene...@mit.edu http://mailman.mit.edu/mailman/listinfo/dspace-general -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to move an item from one collection to another
Hi Janice, In the edit item page there is a Move Item button to serve this purpose. Allen. HKU Hub Administrator, http://hub.hku.hk Janice de Oliveira E Silva Silveira wrote: Hello everyone, We are running DSpace 1.5.2 (xmlui). I have accidentally added an item to the wrong collection, and now I am looking for a path to move an item from one collection to another. Yes, I can either delete it and add it again, or export/import it but I guess there is another way to do it. But how??? Any thoughts? Many thanks, Janice Silveira -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] UIUtil month -1
Hi, I am not the author of the related codes but I am interesting in reading source codes. According to my understanding, the reason behind the -1 design was defined in org.dspace.content.DCDate, where -1 means undefined value for year, month, day, hours, minutes and seconds. DCDate is based on Calendar class of java. 0 is not a good choice to represent undefined value because 0 is a valid value in java.util.Calendar for y,M,d,h,m,s. (e.g. 0 means January when it is a month value). In dspace usage, when there is only year value with no month and day, submitters can just put in the year value (e.g. 1930) then sorting will be done correctly. Cheers, Allen. HKU Hub Administrator, http://hub.hku.hk Jochen Lienhard wrote: Hi, I have some metadata-sets, which only contains a year (no month and day). For sorting I put the date in like this 1930-00-00. In the short view I get now a funny date: 0-Uns-1930 I dont know the month 'Uns' ;-) So my question. Why did you programm month and date -1 and not 0 in UIUtil.java? Greetings Jochen -- Are you an open source citizen? Join us for the Open Source Bridge conference! Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250. Need another reason to go? 24-hour hacker lounge. Register today! http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Statistics in Dspace 1.5.2 xmlui version
In your dspace.cfg, find a line: webui.strengths.show = false Change it into true. The item count will be displayed. Allen. HKU Hub Administrator, http://hub.hku.hk Morupisi, Maitumelo wrote: Dear group I need some help in calculating the number of articles in each collection and displaying it against the collection name in the home page so that users can easily identify if there is something in that collection or not before even clicking on the collection for example Choose a community to browse its collections. Academic Services http://spiral.imperial.ac.uk/handle/10044/1/489 [2] Administrative Services http://spiral.imperial.ac.uk/handle/10044/1/491 [3] Faculty of Engineering http://spiral.imperial.ac.uk/handle/10044/1/1 [754] Faculty of Medicine http://spiral.imperial.ac.uk/handle/10044/1/9 [75] Faculty of Natural Sciences http://spiral.imperial.ac.uk/handle/10044/1/7 [653] Humanities http://spiral.imperial.ac.uk/handle/10044/1/1197 [17] Imperial College Business School http://spiral.imperial.ac.uk/handle/10044/1/643 [1216] Thank you Kind regards Maitumelo Morupisi University of Botswana -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] community collections export
If you are using postgres, the best set of db migration tool is postgres's own tools. Documentation is here: http://www.postgresql.org/docs/8.3/static/backup.html Allen HKU Hub Administrator, http://hub.hku.hk Mark Ludwig wrote: I am replicating my dspace repository on another system and cannot find any doc for moving the schema of communities and collections or users and groups. Is there any easy way to import/export this? -- Mark Ludwig Library Systems Manager Library Systems Group SUNY at Buffalo Buffalo, NY 14260 716 645 5952 -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] UI batch import
There is no problem without the bundle remark. The file will be treated as belonging to the default original bundle, to be listed in the web UI. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Van Ly wrote: [ ## in DSpaceBatchImportFormat.pdf: The contents file is a tab‐delimited text file listing the files to be included in the item. The first column contains the name of the file, and the second column indicates the bundle into which the file will be placed in the repository ] If the contents file has no second column for the bundle is there a problem for 1.4.2 DSpace? As default as of now, should I be requiring lines of the form FILENAME tab bundle:ORIGINAL in the contents file? Thanks. -- Van Ly https://lists.sourceforge.net/lists/listinfo/dspace-tech -- OpenSolaris 2009.06 is a cutting edge operating system for enterprises looking to deploy the next generation of Solaris that includes the latest innovations from Sun and the OpenSource community. Download a copy and enjoy capabilities such as Networking, Storage and Virtualization. Go to: http://p.sf.net/sfu/opensolaris-get ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] [Dspace-general] Dspace-FCKeditor
Hi, Antonio, That editor will add html tags to the output text. For most situations it seems it is not good to include html tags in metadatavalues. I'm just curious to ask what is the purpose of using this editor in dspace web interface? Allen Lam. HKU Hub Administrator, http://hub.hku.hk Antonio Cuomo wrote: Hi, I want to integrate D-Space with the FCKeditor... can you please suggest me any forum or any source for have some instruction? Thank you Antonio -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] i can't Login and register on dspace i installed
If you do not have LDAP server, you should not use this feature. In your dspace.cfg, set ldap.enable = false Restart and try again. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Ruth Anjo wrote: Good Day all, Please, i can't Login and register on dspace i installed. when i try to register or login i get the following An internal server error occurred on http://dspace.unijos.edu.ng/jspui: Date: 12/05/09 09:26 Session ID: D55AD1FBD6A6A248C5BB6F43CE85D672 -- URL Was: http://127.0.0.1/ldap-login -- Method: POST -- Parameters were: -- login_password: *not logged* -- login_submit: Log In -- login_netid: dspace-h...@unijos.edu.ng Exception: java.lang.NullPointerException at org.dspace.authenticate.LDAPHierarchicalAuthentication$SpeakerToLDAP.getDNOfUser(LDAPHierarchicalAuthentication.java:383) at org.dspace.authenticate.LDAPHierarchicalAuthentication.authenticate(LDAPHierarchicalAuthentication.java:214) at org.dspace.authenticate.AuthenticationManager.authenticateInternal(AuthenticationManager.java:199) at org.dspace.authenticate.AuthenticationManager.authenticate(AuthenticationManager.java:136) at org.dspace.app.webui.servlet.LDAPServlet.doDSPost(LDAPServlet.java:110) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147) at org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:647) at javax.servlet.http.HttpServlet.service(HttpServlet.java:729) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:875) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689) Thank you Ruth Anjo University of Jos at java.lang.Thread.run(Unknown Source) -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to adding static page
Hi Zollo, Dspace's header, footer, etc comes from tag libraries. You only need adding suitable tags to enclose your jsp file to attach the default layouts. Study the example of home.jsp that comes with dspace. Pay particular attention to dspace:XXX.../dspace:XXX You could write custom tags to customize the layout. If you are new to custom tag library, here is a good reference: http://java.sun.com/products/jsp/tutorial/TagLibrariesTOC.html Hope it helps. Allen. Zaya Kh wrote: Hi, Allen Thank you for your reply, I understood you, But I need header, footer sidebar, only I wish to change my main body. what do I do? Cheers, Zoloo On Mon, May 11, 2009 at 1:12 PM, Allen Lam allen.dsp...@gmail.com mailto:allen.dsp...@gmail.com wrote: Hi, Zoloo, You can put html or jsp files, and their associated files, under webapp, or under subdirectories of webapp. Put them into your source directory so that they will not be overwritten after re-packaging. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Zaya Kh wrote: Hi, all expert I'm using Dspace 1.5.1, But I inshalled E-Journal , So I cannot create static page on jspui. How can I do static page, Help me cheers, Zoloo -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net mailto:DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] how to adding static page
Hi, Zoloo, You can put html or jsp files, and their associated files, under webapp, or under subdirectories of webapp. Put them into your source directory so that they will not be overwritten after re-packaging. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Zaya Kh wrote: Hi, all expert I'm using Dspace 1.5.1, But I inshalled E-Journal , So I cannot create static page on jspui. How can I do static page, Help me cheers, Zoloo -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Half-OT: Tomcat won't start
First check: do you have servlet-api.jar in common/lib? If not, try placing a copy to there. If it does not help, it could involve some harder classpath issues. Perhaps reinstalling a new version of Tomcat is easier than fixing it. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Sergio Belkin wrote: DSpace dspace-tech@lists.sourceforge.net Hi, Tomcat was running well and suddenly stop of working. I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2 /etc/tomcat5/tomcat5.conf looks like as follows: JAVA_HOME=/usr/lib/jvm/java CATALINA_HOME=/usr/share/tomcat5 JASPER_HOME=/usr/share/tomcat5 CATALINA_TMPDIR=/usr/share/tomcat5/temp JAVA_ENDORSED_DIRS=/usr/share/tomcat5/common/endorsed JAVA_OPTS=$JAVA_OPTS -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib TOMCAT_USER=tomcat SHUTDOWN_WAIT=30 CATALINA_PID=/var/run/tomcat5.pid And var/log/tomcat5/catalina.out has: SEVERE: Begin event threw error java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Half-OT: Tomcat won't start
The exception is caused by Tomcat being unable to find a class called HttpServletRequest. This class is included with servlet-api.jar, which should have come handy with tomcat package. Tomcat discovers its libraries from common/lib. Try placing a copy of the jar in /usr/share/tomcat5/common/lib or var/lib/tomcat5/common/lib/ When you see similar error when you are running a webapp, place the jar in your application's WEB-INF/lib Hope it helps. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Sergio Belkin wrote: Hi, I reinstalled tomcat and problem persists, this the content of var/lib/tomcat5/common/lib/ total 0 lrwxrwxrwx 1 root root 44 Dec 17 12:27 naming-resources.jar - /usr/share/java/tomcat5/naming-resources.jar lrwxrwxrwx 1 root root 42 Dec 17 12:27 naming-factory.jar - /usr/share/java/tomcat5/naming-factory.jar lrwxrwxrwx 1 root root 27 Dec 17 12:27 jdtcore.jar - /usr/share/java/jdtcore.jar lrwxrwxrwx 1 root root 23 Mar 30 16:10 [jsp].jar - /usr/share/java/jsp.jar lrwxrwxrwx 1 root root 34 Mar 30 16:10 [jndi].jar - /usr/lib/jvm-exports/java/jndi.jar lrwxrwxrwx 1 root root 41 Mar 30 16:10 [jdbc-stdext].jar - /usr/lib/jvm-exports/java/jdbc-stdext.jar lrwxrwxrwx 1 root root 28 Mar 30 16:10 [javamail].jar - /usr/share/java/javamail.jar lrwxrwxrwx 1 root root 35 Mar 30 16:10 [jasper5-runtime].jar - /usr/share/java/jasper5-runtime.jar lrwxrwxrwx 1 root root 36 Mar 30 16:10 [jasper5-compiler].jar - /usr/share/java/jasper5-compiler.jar lrwxrwxrwx 1 root root 23 Mar 30 16:10 [jaf].jar - /usr/share/java/jaf.jar lrwxrwxrwx 1 root root 32 Mar 30 16:10 [commons-pool].jar - /usr/share/java/commons-pool.jar lrwxrwxrwx 1 root root 39 Mar 30 16:10 [commons-logging-api].jar - /usr/share/java/commons-logging-api.jar lrwxrwxrwx 1 root root 30 Mar 30 16:10 [commons-el].jar - /usr/share/java/commons-el.jar lrwxrwxrwx 1 root root 32 Mar 30 16:10 [commons-dbcp].jar - /usr/share/java/commons-dbcp.jar lrwxrwxrwx 1 root root 39 Mar 30 16:10 [commons-collections].jar - /usr/share/java/commons-collections.jar lrwxrwxrwx 1 root root 42 Mar 30 16:10 [ant]ant-jakarta-regexp.jar - /usr/share/java/ant/ant-jakarta-regexp.jar lrwxrwxrwx 1 root root 41 Mar 30 16:10 [ant]ant-apache-regexp.jar - /usr/share/java/ant/ant-apache-regexp.jar lrwxrwxrwx 1 root root 47 Mar 30 16:10 [ant]ant-apache-regexp-1.6.5.jar - /usr/share/java/ant/ant-apache-regexp-1.6.5.j 2009/3/30 Allen Lam allen.dsp...@gmail.com: First check: do you have servlet-api.jar in common/lib? If not, try placing a copy to there. If it does not help, it could involve some harder classpath issues. Perhaps reinstalling a new version of Tomcat is easier than fixing it. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Sergio Belkin wrote: DSpace dspace-tech@lists.sourceforge.net Hi, Tomcat was running well and suddenly stop of working. I am using tomcat5-5.5.23-0jpp.7.el5_2.1 on Centos 5.2 /etc/tomcat5/tomcat5.conf looks like as follows: JAVA_HOME=/usr/lib/jvm/java CATALINA_HOME=/usr/share/tomcat5 JASPER_HOME=/usr/share/tomcat5 CATALINA_TMPDIR=/usr/share/tomcat5/temp JAVA_ENDORSED_DIRS=/usr/share/tomcat5/common/endorsed JAVA_OPTS=$JAVA_OPTS -Dcatalina.ext.dirs=$CATALINA_HOME/shared/lib:$CATALINA_HOME/common/lib TOMCAT_USER=tomcat SHUTDOWN_WAIT=30 CATALINA_PID=/var/run/tomcat5.pid And var/log/tomcat5/catalina.out has: SEVERE: Begin event threw error java.lang.NoClassDefFoundError: javax/servlet/http/HttpServletRequest -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Postgresq 8.3x error
dspace 1.4.x does not work with postgres 8.3. Your workaround options are upgrading to dspace 1.5.x or downgrading postgres to 8.2. If you want to fix it in a hurry, changing postgres version is easier. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Jeffrey Trimble wrote: I've run into this error in Dspace 1.4.x when invoking index all (after upgrading to 8.3x). Exception in thread main org.postgresql.util.PSQLException: ERROR: operator does not exist: integer = character varying I've read some postings on other listservs the following solution. Has **anyone** seen or done this? Or is there another work around? CREATE FUNCTION pg_catalog.text(integer) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int4out($1));'; CREATE CAST (integer AS text) WITH FUNCTION pg_catalog.text(integer) AS IMPLICIT; COMMENT ON FUNCTION pg_catalog.text(integer) IS 'convert integer to text'; CREATE FUNCTION pg_catalog.text(bigint) RETURNS text STRICT IMMUTABLE LANGUAGE SQL AS 'SELECT textin(int8out($1));'; CREATE CAST (bigint AS text) WITH FUNCTION pg_catalog.text(bigint) AS IMPLICIT; COMMENT ON FUNCTION pg_catalog.text(bigint) IS 'convert bigint to text'; Thanks in advance, Jeffrey Trimble System LIbrarian William F. Maag Library Youngstown State University 330.941.2483 (Office) jtrim...@cc.ysu.edu mailto:jtrim...@cc.ysu.edu http://www.maag.ysu.edu http://digital.maag.ysu.edu -- ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.4x and postgresql 8.3
Hi, There are two facts for you to consider: 1. Debain is a fully configurable system such that you can uninstall/disable almost any packages, and install/enable any extra packages. 2. Upgrading dspace involves much more complicated procedures and risks than reinstalling postgres. I would suggest doing the dspace upgrade if it happens that you want such an upgrade right at this moment. Otherwise, do the postgres downgrade for a simple, fast and secure solution. You can go for a dspace upgrade in a later time when you are ready for it. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Christian Voelker wrote: Hello, I guess I have messed up seriously. I updated my debian system to the current stable release lenny which comes with version 8.3 of postgres only. Then I got some errors when browsing My site and finally found this explanation: http://www.nabble.com/Error-trying-to-create-administrator-td18963215.html Bradley McLean Aug 13, 2008; 06:25pm Yes, there is a problem with PG 8.3 and DSpace 1.4.2; PG 8.3 changed the default typecasting of certain literals in SQL. DSpace 1.5.X will work with PG 8.3, and DSpace 1.4.2 will work with earlier versions of PG. Too bad. Now I would like to know which way will be easier: Modifying DSpace 1.4 code to work with postgresql 8.3 or downgrading to an old version of the database not any longer supported by the distribution I use? What exactly ist wrong in the DSpace code as of version 1.4.2? Is the problem clearly located in a single class or is it spread all over the code and I would have to use find and replace, doing extensive testing afterwards? Thanks for your hints. Bye, Christian -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Exporting/importing the PostgreSQL database?
The db schema is changed while dspace version is changed. You errors may be caused by version mismatch between dspace and db. I suggest you re-create the old version db on the new machine, then run the upgrade scripts provided by dspace to upgrade the db schema upto 1.5.1 Hope this helps. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Stan Orlov wrote: Forgot to mention - I am running the latest versions of DSpace (1.5.1) and PostgreSQL (8.3) on both machines. And also the latest Apache and Tomcat 6. On Thu, Mar 19, 2009 at 6:26 AM, Stan Orlov stan.or...@msvu.ca mailto:stan.or...@msvu.ca wrote: Greetings! I have DSpace running on a Windows XP machine and am migrating it to a Windows 2003 server with the same structure. Installation went smoothly, jspui is accessible, but I can't properly transfer the PostgreSQL database. I tried to dump it using command line, backup using pgAdmin III, backup using Navicat for PostgreSQL and also used export Wizard in PostgreSQL. However, I can't import it properly using the same tools on the new machine. I have different errors depending on the tool used and can post them if that would help, but the root of the problem is probably in me missing some step somewhere. Since you probably have done this a million times, is there a bulletproof PostgreSQL export/import command or utility you could recommend? Cheers, Stanislav Orlov -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Exporting/importing the PostgreSQL database?
The all-time trusted tool for backup and restore is postgres' own pg_dump and pg_restore To see the command options: pg_dump --help pg_restore --help It can be tricky to use because you have to put into a good combination of flags. Some flags you may wish to use with pg_dump is -b and -Fc Anyway, you have already have the problem solved. You can try out these commands and options again for routine backup uses. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Stan Orlov wrote: Another crisis averted :) I tried to export the database via Navicat's MS Access format and it imported vi Navicat on the new box just fine (although I'll have to re-assign primary keys, apparently). Before, I was trying to export in a text delimited format, but it would mess up field lengths and primary/foreign keys. So, it seems to be working. Thanks for your advice! Cheers, Stan -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] registering new user problem in DSpace 1.4
Hi Vijay, Your quoted lines do not record the happening of java exceptions so that it is not useful. You should repeat your action to create the error in dspace. Then immediately view the tail of your tomcat log file. The error should normally be recorded with date and time as a stack trace in catalina.out. If not, look into other tomcat log files for the stack trace. If there is no logging of the error, there can be non-standard configuration in your tomcat that prevented it from recording exceptions. Fix your tomcat first. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Vijay Shrestha wrote: Hi all, I am sending the formation of catalina.out where I can not see things regarding my query. The log information is as Mar 3, 2009 3:32:25 PM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /opt/tomcat/jdk1.5.0_07/jre/lib/i386/client:/opt/tomcat/jdk1.5.0_07/jre/lib/i386:/opt/tomcat/jdk1.5.0_07/jre/../lib/i386 Mar 3, 2009 3:32:25 PM org.apache.coyote.http11.Http11BaseProtocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Mar 3, 2009 3:32:25 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 2763 ms Mar 3, 2009 3:32:26 PM org.apache.catalina.core.StandardService start INFO: Starting service Catalina Mar 3, 2009 3:32:26 PM org.apache.catalina.core.StandardEngine start INFO: Starting Servlet Engine: Apache Tomcat/5.5.17 Mar 3, 2009 3:32:26 PM org.apache.catalina.core.StandardHost start INFO: XML validation disabled Mar 3, 2009 3:32:27 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive ROOT.war Mar 3, 2009 3:32:29 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive dspace.war Mar 3, 2009 3:32:31 PM org.apache.catalina.startup.HostConfig deployWAR INFO: Deploying web application archive dspace-oai.war Mar 3, 2009 3:32:33 PM org.apache.coyote.http11.Http11BaseProtocol start INFO: Starting Coyote HTTP/1.1 on http-8080 Mar 3, 2009 3:32:34 PM org.apache.jk.common.ChannelSocket init INFO: JK: ajp13 listening on /0.0.0.0:8009 http://0.0.0.0:8009 Mar 3, 2009 3:32:34 PM org.apache.jk.server.JkMain start INFO: Jk running ID=0 time=0/55 config=null Mar 3, 2009 3:32:34 PM org.apache.catalina.storeconfig.StoreLoader load INFO: Find registry server-registry.xml at classpath resource Mar 3, 2009 3:32:34 PM org.apache.catalina.startup.Catalina start INFO: Server startup in 9455 ms On Tue, Mar 3, 2009 at 1:14 PM, Allen Lam allen.dsp...@gmail.com mailto:allen.dsp...@gmail.com wrote: Hi Vijay, It seems you've been locked by the problem for a long time. As some other people suggested earlier, the first step of solving your problem is to look into tomcat's log file catalina.out. You said you could not find anything inside catalina.out related to your problem. That's the problem: hints are there but you cannot see it. You should capture the related error log messages and find someone to help you interpret the log. Many people reading this mailing list are potential helpers if you could provide useful information to start thinking. Forget the Internal System Error message. It sweeps dust under the carpet. It is no use for debugging. Welcome your further queries. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - Show quoted text - Vijay Shrestha wrote: I configured locally DSpace 1.4 in the debian etch 4.0. I am also able to relocate the repository location to other location by configuring smbmount from the responses of DSpace-general. Now, I tried to I register new user in order to maintain different collection as my institution is holding different digital collections and each collection is assigned to different person. But I am not able to add new user. The DSpace shows internal error while registering new user. The error is as below Internal System Error The system has experienced an internal error. Please try to do what you were doing again, and if the problem persists, please contact us so we can fix the problem. Here in contact us there is my email address as I allow myself as administrator. I went through the DSpace manual as well. I did not find the location of xmlui.user.registration in configuration file. Please help me on this query I am looking forward your kind response. Regards vijay -- With Regards, Vijay Kumar Shrestha -- Open Source Business Conference (OSBC), March 24-25
Re: [Dspace-tech] Dspace 1.5.1 - enabling Statistics
Jewel, On Linux and Unix machines perl is usually pre-installed. In Windows it is not the case. You need to install a thing called activeperl. Google for it. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Jewel wrote: I am trying to enable the statistics in Dspace but when I issue the perl command to run stat-general it throws an error. The error is: Can't exec /bin/sh at C:/dspace/bin/state-general' I successfully installed Perl and my environment variable is correct. The first line in the stat scripts are: #!/bin/sh Everywhere I have looked states I need to use perl to run these scripts. I am running Dspace 1.5.1 on a Windows 2003 machine. Are setting up the stats different in this version? Do I need to edit the state-* scripts? Thanks, -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Dspace 1.5.1 - enabling Statistics
---BeginMessage--- There are two separate issues. 1. To run perl scripts in Windows, when ActivePerl is installed and path environment is set, open a command prompt, type perl [your-script] 2. some scripts under dspace/bin are not perl scripts. They are unix/linux shell scripts. e.g. stat-general is a script to run a java program. So, you need to run the program at the root of the classpath java -cp [valid_classpath_string] org.dspace.app.statistics.CreateStatReport -r stat-general If your class files are contained in a jar, you can add the -jar argument. It is not easy. Finding out your classpath string is a painful experience. type java -help and google a lot to see how to run a java program. You may need some java programmers to help. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Jewel Makda wrote: I already installed ActivePerl but it's when I issue the command it says there is an error in line 1 which is #/bin/sh My thought was maybe the stat-general and etc. scripts were not suppose to be run using perl. Allen Lam wrote: Jewel, On Linux and Unix machines perl is usually pre-installed. In Windows it is not the case. You need to install a thing called activeperl. Google for it. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Jewel wrote: I am trying to enable the statistics in Dspace but when I issue the perl command to run stat-general it throws an error. The error is: Can't exec /bin/sh at C:/dspace/bin/state-general' I successfully installed Perl and my environment variable is correct. The first line in the stat scripts are: #!/bin/sh Everywhere I have looked states I need to use perl to run these scripts. I am running Dspace 1.5.1 on a Windows 2003 machine. Are setting up the stats different in this version? Do I need to edit the state-* scripts? Thanks, ---End Message--- -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] reindexing question
Hi Jewel, As Juergen suggested, InitializeBrowse is not there anymore. Run the scripts bin/index-init or bin/index-update as needed. The scripts aim to create a browse index and then a search index. Indexing helps you browse and search faster. Roughly speaking, the steps of indexing is to tokenize some search strings into word list, filter out undesirable words, some fine touches on the remaining word list, and then put them into a mini database (not that of postgres) recording what words can be found in which item. With regard to scheduled maintenance, it is NOT necessary to re-index dspace unless you've made changes to the indexing rules or have edited the database directly. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Jewel wrote: I am in the process of determining what needs to be performed in terms of maintenance and scheduling for Dspace. One of my questions is regarding reinexing. On the Dspace wiki the steps on reindexing are here. http://wiki.dspace.org/index.php/Re-index_DSpace dsrun org.dspace.browse.InitializeBrowse dsrun org.dspace.search.DSIndexer My question is what exactly are these steps doing? I issued the first command and received an error and when I issues the second command it just returned me to my prompt but looked like it did so something. I am running version 1.5.1 on a Windows 2003 machine. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] streaming vedios files
Hi Shaji, DSpace is a system aimed at cataloging, indexing, searching, and to a certain extend, storing. It does NOT do streaming. To serve video streaming to your users, it needs another set of streaming hardware and software (usually highly demanding) that are independent from Dspace. Probably you need to buy the hardware/software at a cost or rent the service from a hosting company. RealNetworks, Apple Quicktime and Macromedia are some examples of such vendors. When you have the streaming server setup. You can add links to the video in dspace metadata, allowing users to search/browse available resources. Our dspace system have streaming video resources here: http://hub.hku.hk/handle/123456789/2020/browse?type=titlesubmit_browse=Browse+by+Title Hope you find these information useful. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk shaji ayyappan wrote: sir Please tell how include vedio streaming in dspace 1.5.0 (Linux platform) Shaji -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Messages.properties
It is better not to touch the source directly. Assume you have only one Messages.properties, place it in [your_dspace151_src]/dspace/modules/jspui/src/main/resources If you have multiple properties files for different languages, place them under different dirs under resources. After editing, run mvn package and then ant update. See the install doc for these commands. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk divyang patel wrote: Dear All i am using dspace 1.5.1 in fedora 9. I am facing difficulties in modifying Messages.properties This is the default path for the Messages.properties file in dsapce 1.5.1 */home/dspace/dspace-1.5.1-src-release/dspace-api/src/main/resources/* Where to place this file for necessary modification in jspui. After modification what are the steps needed to get work. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Sfx link only on specific items
Hi Yuyun, I edited ItemTag.java to enable showing or hiding a openurl link based on the presence or values of some qualifiers. Be a little bit more specific, in my case, in the renderFull() method, I added a section if (values[i].qualifier.equals(openurl)) { out.print(something_that_you_want_to_display); } When the item has dc.identifier.openurl, an icon and a link will be displayed. This is only a starting point to experiment. You can do similar editing to the render() method and using your wanted conditions to control the on/off status of any metadata display. Does this help? Let me know. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Yuyun Wirawati ISHAK (LIBRIS) wrote: Hi all I’ve enabled the sfx link and it works well. However, the link appears on every item record. I understand that some installations manage to display this link only on selected items (by using the metadata tag, I suppose). Does anyone has the instruction/guide on this process? Much appreciated, Yuyun -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Logout problem on Dspace 1.4.2
We have similar problem in our dspace system. It is caused by browser's cache of session data. The only solution is asking users to close the browser completely after logoff. I am also interested to know any better way to kill the session. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Van der Westhuizen, Ansie wrote: This message (and attachments) is subject to restrictions and a disclaimer. Please refer to http://www.unisa.ac.za/disclaimer for full details. Dear all We are working on DSpace 1.4.2 and are experiencing problems with logging out from MyDSpace. Although the system indicates that a user is “logged out” it doesn’t seem to really log one out. If another person logs in on the same PC, the previous user’s user id still displays on some of the screens. Is anyone else out there having a similar problem and could you help us with a solution please? Thank you *Ansie van der Westhuizen* Non-commercial Digital Developer IR Content Management: Collection Development Unisa Library PO Box 392 Unisa 0003 Phone: +27 12 429 3426 Fax: +27 12 429 2925 unisargb(hires)_s -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Creator name not showing on browse/search
Shaun, The third column in the browse-title page is supposed to display the author names, which is recorded in dc.contributor.author. Changing the heading to Creator(s) is not enough. You need to modify some jsp and servlets to have dc.creator show up. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Shaun Burriss wrote: Hello all, We have a problem on our DSpace where the creator name is not displaying on the browse/search results page. See here for an example http://images.swinburne.edu.au/browse-title. Can anyone help with this problem? Regards Shaun. -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Creator name not showing on browse/search
Hi Shaun, As far as I could remember, to have changes in the browse listing you may need to modify the following files: BrowseServlet.java BrowseListTag.java full.jsp single.jsp The jsp is for jspui only. Something else is needed to be done if you are using xmlui. The above files are related to browsing. Search result listing is another story. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Shaun Burriss wrote: Hi Allen, Thanks for your reply. Which jsp's do we need to modify to have dc.creator show up on the browse/results page, rather than dc.contributor.author? Regards, Shaun. Which jsp file should we modify? Allen Lam allen.dsp...@gmail.com 12/02/2009 11:54 am Shaun, The third column in the browse-title page is supposed to display the author names, which is recorded in dc.contributor.author. Changing the heading to Creator(s) is not enough. You need to modify some jsp and servlets to have dc.creator show up. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Shaun Burriss wrote: Hello all, We have a problem on our DSpace where the creator name is not displaying on the browse/search results page. See here for an example http://images.swinburne.edu.au/browse-title. Can anyone help with this problem? Regards Shaun. -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Internal server error
Your postgresql connection pool is used up. Restart your postgresql service the error will be gone. If you frequently meet the same error, you should tune your postgresql. There are plenty of config options in your postgresql.conf. e.g. max_connections, shared_buffers, work_mem, etc. Consult the document for the meaning of each option. http://www.postgresql.org/docs/7.4/static/runtime-config.html Find the document that fits the version you are using. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Miguel Pizarro wrote: Dear Dspace team: In the Dspace page I get the following message: Internal server error And when reviewing the log appears as follows: SQLNestedException: Cannot get a connection, pool exhausted javax.servlet.ServletException: Cannot get a connection, pool exhausted Anyone has any idea of the problem? Best regards, Miguel Pizarro Soporte Tecnológico Alerta al Conocimiento Fono: 56 (2) 233 79 08 -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] error on browse by date
It seems it is not a problem caused by indexing. If the index is empty it would show a normal empty table rather than java run-time error. Check your dspace's log and tomcat's log to find out the error messages. Look for what class and what function call caused the error. As you mentioned your database was changed. How it was changed? The solution could be a simple fix on config files or a complicated re-coding of the source code. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Van Ly wrote: Hi Everyone, I've a DSpace unable to respond without error to the following request: http://ses.library.usyd.edu.au/browse?type=date The local dspace.cfg has the following extra search.index lines than the default: search.index.13 = description:dc.description search.index.14 = department:dc.contributor.department After reading section 5.1.2 of the 1.5.1 DSpace Manual, I'm wanting to run index-all but it doesn't exist, index-init and index-update do, and I've tried running them as user dspace and root without effect. At a guess, I'm trying to fix the fault in the case the database was changed, as suggested by those search index lines, but the index wasn't updated somehow. Any clues to the solution? Thanks in advance. -- Van Ly : University of Sydney Library -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DSpace 1.4.2 search - how the indices are built and what all the files represent?
Hi, Susan, First of all, for normal uses it is not necessary to put index-all in a cron job. Re-indexing is necessary if you have done changes to the database directly (e.g. running SQL commands to del or insert data) or when you change the indexing options in dspace.cfg. Normal adding/deleting/editing items using dspace's web interface or api or shell script does not need doing re-indexing afterward because the index will be incrementally updated automatically in each operation. The purpose of index-all is to build an index of data to help speeding up searching. Data is built into a tree structure. The files you see under /dspace/search are records of the search tree. They are in binary format, containing pointers to data and fragments of data. Indexing is a strategy to trade space for time. You use up some hard disk spaces to store index file in order that you gain high speed in searching. If you are really interested in knowing the theories of indexing, have some reading on relational database design and indexing. When you decide to re-index all indexing must start from scratch. In dspace.cfg, you can change the indexing behavior by adding or removing or reordering the lines search.index.X = XXX.YYY Remove indexes that your systems do not need. Put important indexes in the front. Having a script to run for over two days is really annoying. You may wish to check for any bottle neck in your hardware or network. Is your CPU or network overloaded? Is there enough memory? Is the database too busy... In my case, I have about 30k of items. Index-all takes 1-2 hours to finish. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS] wrote: Hi, Could one of the developers or someone else who knows the answer, give me a short explanation of what happens in index-all when the search indices are built? What exactly is happening? Where is the data that ends up in the indices, extracted from (the .txt files I’m assuming)…?? How do your configuration parameters in dspace.cfg affect the building of the indices? What are the best parameters to use with org.dspace.search.DSIndexer so that the least amount of work has to be done to update the indices (it appears that we may not be using the correct/best parameters with this program in index-all since it looks like all the files under /dspace/search are being deleted are completely recreated from scratch each time we run the job, therefore it’s taking index-all 2 ½ days to run (and our repository is getting bigger and bigger every day). Another couple of questions…what determines how many files get built in /dspace/search and what, if anything, should I be able to tell about my search configuration (in dspace.cfg) by looking at the files under /dspace/search? We are having some problems with our online search in DSpace 1.4.2. For one thing, as mentioned above, our index-all cron is taking over 2 days to run to completion. Is this normal for a repository that currently has approximately 130,000 items in it? By the way, here are our configuration parameters for searching DSpace, from dspace.cfg: # Search settings # # Where to put search index files search.dir = ${dspace.dir}/search # Higher values of search.max-clauses will enable prefix searches to work on # large repositories # search.max-clauses = 2048 search.max-clauses = 102400 # Which Lucene Analyzer implementation to use. If this is omitted or # commented out, the standard DSpace analyzer (designed for English) # is used by default. # search.analyzer = org.dspace.search.DSAnalyzer # Chinese analyzer # search.analyzer = org.apache.lucene.analysis.cn.ChineseAnalyzer # Boolean search operator to use, current supported values are OR and AND # If this config item is missing or commented out, OR is used # AND requires all search terms to be present # OR requires one or more search terms to be present search.operator = AND # Fulltext Indexing settings # # Maximum number of terms indexed for a single field in Lucene. # Default is 10,000 words - often not enough for full-text indexing. # If you change this, you'll need to re-index for the change # to take effect on previously added items. # -1 = unlimited (Integer.MAX_VALUE) search.maxfieldlength = -1 # Fields to Index for Search # # DC metadata elements.qualifiers to be indexed for search # format: - search.index.[number] = [search field]:element.qualifier # - * used as wildcard ### changing these will change your search results, ### ### but will NOT automatically change your search displays ### #search.index.1 = author:dc.contributor.* #search.index.2 = author:dc.creator.* #search.index.3 = title:dc.title
Re: [Dspace-tech] Tomcat 5.5.27
Hi Gary and others, In the last few years I upgraded tomcat from 4.X to 5.X and then to 6.X (and at the same time upgraded dspace from 1.3 to 1.5) and have never noticed similar exception. I am interested to know is there anyone else experienced similar problem? To escape quote char in Messages.properties, add a back-slash: use \ to replace For safety, do some experiments before doing large-scale replacement. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Gary Browne wrote: Hi techies Following an upgrade from tomcat 5.5.26 to 5.5.27, we experienced exceptions with the subject-search servlet such as: Exception: org.apache.jasper.JasperException: /controlledvocabulary/search.jsp(59,41) Attribute value LocaleSupport.getLocalizedMessage(pageContext, jsp.controlledvocabulary.search.title) is quoted with which must be escaped when used within the value I since discovered that this is due to the fact that 5.5.27 strictly enforces the quoting requirements of the JSP spec. So my question is, does this error stem from some value in Messages.properties which contains quotes, or are there other places in the code which may need changing (for JSP spec compliance purposes)? If the former, how should the quotes be escaped in Messages.properties. Thanks Gary - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Tomcat 5.5.27
Hi Gary and others, In the last few years I upgraded tomcat from 4.X to 5.X and then to 6.X (and at the same time upgraded dspace from 1.3 to 1.5) and have never noticed similar exception. I am interested to know is there anyone else experienced similar problem? To escape quote char in Messages.properties, add a back-slash: use \ to replace For safety, do some experiments before doing large-scale replacement. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Gary Browne wrote: Hi techies Following an upgrade from tomcat 5.5.26 to 5.5.27, we experienced exceptions with the subject-search servlet such as: Exception: org.apache.jasper.JasperException: /controlledvocabulary/search.jsp(59,41) Attribute value LocaleSupport.getLocalizedMessage(pageContext, jsp.controlledvocabulary.search.title) is quoted with which must be escaped when used within the value I since discovered that this is due to the fact that 5.5.27 strictly enforces the quoting requirements of the JSP spec. So my question is, does this error stem from some value in Messages.properties which contains quotes, or are there other places in the code which may need changing (for JSP spec compliance purposes)? If the former, how should the quotes be escaped in Messages.properties. Thanks Gary - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace migration
Hi Rod, Besides assetstore, there are other directories in dspace that could use up plenty of disk space. Depending on your configuration and pattern of usage, these directories may include history, log, reports, upload, etc. Other than redirecting them one-by-one to a remote drive, consider installing your whole tomcat and webapps in your remote drive. Like what Kim suggested in a previous mail, you need to config postgres separately. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Rod Harris wrote: Hi all I'm migrating the repository in a dspace 1.4 instance to a separate server running a dspace 1.5 instance.. On the dspace 1.5 machine I've got about 20G for / and /home but I've also got a network mounted 500G drive. In the dspace.cfg I pointed the assetstore directory to the network drive, but is this all I need to do to ensure data is stored on the network mounted drive? If I dump my postgres data from the 1.4 instance and then import it to the 1.5 instance where will it go? The reason I ask is that I installed postgres through 'yum' and I suspect it'll still try to store data on the / file system. I'd really appreciate if someone can explain (or point me to something that explains) the conceptual arrangement of data and directories used in dspace + postgres. Cheers. Rod - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] dspace migration
An appendix for something missing... Other than redirecting them one-by-one to a remote drive, consider installing your whole dspace home, webapps, and perhaps your apache document dir in your remote drive. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Search on a filename
Gagan mandayam wrote: Hi DSpacers, How to *search for a particular submitted file, based on its name*? For example, if a file's name is 'Mill Data Sheet', and I search by typing a part string, say 'Mill', it should list out all the files/items present across the entire communities/collections. ( of course, each file is internally a bitstream ). gagan m, Bangalore hi, Gagan, If your bitstream filenames are not stored within DC metadata it is not searchable. Bitstream filenames are stored in db table bitstream. If you really need this function, you have to program it by writing custom queries. Another way out is to include the filename in DC and include this field in indexing. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] DOI to item
Horan, Gabrielle wrote: DSPACE Version 1.4.2 with ORACLE I tried to insert the identifier.doi into the registry through the interface /dspace-admin/metadata-field-registry?dc_schema_id=1 But I kept getting an internal error, but cannot find the error in the tomcat log. I added the identifier.doi manually to the METADATAFIELDREGISTRY table and added the DOI option to the submission interface. Perhaps I should have added this to my own namespace? But I get an error also trying to add my own. I would have to insert it manually into METADATASCHEMAREGISTRY? Should I do that and move the identifier.doi over to it? I hope someone can help. Thank you and kind regards, Gabrielle. In the first place you should find out why there is error in using dspace interface to add an additional dc field. Besides checking tomcat's log, dspace log and your database's log may contain some hints. I have never tried adding a row to METADATAFIELDREGISTRY table manually. Will dspace show up the new row of data in its admin interface? Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Changing default url
Jewel wrote: Hello, I have tried to locate if there are any instructions on how to change the default url that is given when installing Dspace. I have Dspace running on: Windows Server 2003 Tomcat Version 6.0.18 Dspace version 1.5.1. After everything is setup the url is as follows: http://www.mydomain.com:8080/jspui/ Am I able to change this url to be? What options to do I have? http://www.mydomain.com I am not sure how tomcat and Dspace work together in terms of directory structure. Thanks! Jewel Jewel, url and many other configurations and options are defined in config/dspace.cfg Edit this file BEFORE you compile or deploy dspace. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] mapfile error in itemimport
Miguel Pizarro wrote: Dear friends: At import ítems appear the following error: Generating mapfile: map_ACS java.io.FileNotFoundException: map_ACS (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:106) at java.io.FileInputStream.init(FileInputStream.java:66) at java.io.FileReader.init(FileReader.java:41) at org.dspace.app.itemimport.ItemImport.readMapFile(ItemImport.java:738) at org.dspace.app.itemimport.ItemImport.addItems(ItemImport.java:473) at org.dspace.app.itemimport.ItemImport.main(ItemImport.java:415) java.io.FileNotFoundException: map_ACS (No such file or directory) For your help, Best regards, Miguel Pizarro Soporte Tecnológico Alerta al Conocimiento Fono: 56 (2) 233 79 08 Try to give the map file a full pathname, and make sure you have write access to that folder. Hope it helps. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] How change uri handle from http://hdl.handle.net/ to http://myip in all items
Miguel Pizarro wrote: Hi: Someone know how change the uri http://hdl.handle.net/ to http://myip in all ítems Best regards, Miguel Pizarro Soporte Tecnológico Alerta al Conocimiento Fono: 56 (2) 233 79 08 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech You can do it by changing the value of handle.prefix in dspace.cfg to yourip. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] URL Question
There are no simple java variables containing the bitstream filenames in display-item.jsp. The bitstream list table you see is dynamically generated by ItemTag.java. You might need to customize this java file to add extra contents to the item display page. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk Hi, I need to create a dynamic link to the URL for the primary bitstream in my display-item.jsp. I know that if I use %= handle %, I can get the handle for the item. How would I get the rest of the URL. Lets say the url is http://myhost/bitstream/12345/33/1/myfile.flv I can hard code in the http://myhost/bitstream/ I can use %= handle = to get 12345/33/ What can I use to get 1/myfile.flv ? Is there something that I can use to get all of that together at once so that I am not hard coding and part of the URL ? Thanks, in advance, for the help. Jason Fowler, CA Archives and Special Collections Librarian The Southern Baptist Theological Seminary 502-897-4573 [EMAIL PROTECTED] - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech
Re: [Dspace-tech] Postgres won't work after violent shutdown
Hi, I also have bad experience of using postgresql under windows. It is less stable than running in unix/linux. I would suggest: 1. Look into your event log to discover why postgres could not start. Then fix it accordingly. 2. If you cannot fix it, back up the data directory and then uninstall postgres. Reinstall the SAME version of postgres again. When it starts happily, copy the data directory back to replace the default one. Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk juuventud wrote: Thanks Mr Havercamp I've been trying to switch the service on by all the methods I can think of, but in Services it just goes on and then off again immediately. Postgres.exe is not in the Task Manager's list of Processes. My Server IP has not changed and the postgresql.conf is set to listen on all addresses. Can you suggest anything I should do about the Service not running? Thanks a lot. Mr Havercamp wrote: juuventud wrote: Hi all I've been on this problem for two days! Would seriously appreciate some suggestions. My server went down unexpectedly, and since restarting, the Postgres db won't come back on. . . . Many thanks Juuventud I haven't used windows in a while but I can try a couple of suggestions to kick things off. When you look in the Services list (you get to it via control panel-administration i think) is postgres showing as running? Also, in the task manager, is postgres.exe there? Are there any more details in the logs (Event Viewer?)? You may also want to check the config files in case your machine's ip address has changed since the reboot and postgres is still listening on the old ip. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech -- Regards, Allen Lam. HKU Hub Administrator, http://hub.hku.hk - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100url=/ ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech