Re: [Dspace-tech] Build failed
Hi Moturi, seems as if you ran the command from the wrong directory. After having run mvn package you got: [dspace-source]/dspace/target/dspace-1.5.1-build.dir run ant [target] from there. Hope that helps Claudia Jürgen sowmyamoturi schrieb: I was trying to rebuild the dspace to finish the process of installing commenting add on for dspace but iam getting an error Source resource does not exist bash-2.05$ ant Buildfile: build.xml BUILD FAILED /home/csta1/aravind/dspace-1.5.1-src-release/dspace/src/main/config/build.xml:88: Source resource does not exist: /home/csta1/aravind/dspace-1.5.1-src-release/dspace/src/main/config/config/dspace.cfg Total time: 2 seconds Can you please let me know what is wrong? Thanks in advance. Regards, Moturi. attachment: Claudia_Juergen.vcf-- 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] Return search query as RSS feed
What is the state of OpenSearch for DSpace 1.6? Is is already committed to trunk version and if so, how can I access the search interface. Thanks, Mika 2009/6/5 Richard Rodgers rrodg...@mit.edu: Mika Alexandre: There is a widely adopted set of conventions for expressing search results in standard formats called OpenSearch - http://www.opensearch.org Mark Wood and I wrote an implementation for DSpace that includes RSS and Atom, and is available on both the JSP and XML UIs. We hope to have it included in the 1.6 release if there is interest from the community in doing so. Thanks, Richard mikan.d.dspace listmail wrote: Alexandre, After my post I got a reply from Urban Andersson at Univerisy of Gothenburg, where they have developed such a utility. With their help we have implemented a working search with XML results in DSpace. I think feature like this should definelety be included in default DSpace installation. Below is the reply I got. Im sure Urban will share the code with the community if needed. Cheers, Mika -- Hello Mika, I have made a modification (copy) of the SimpleSearchServlet, and corresponding JSP, to have it return XML (not actual RSS, but that should be easy to adapt) instead of HTML. This is a small fix that should be easy to implement. Although I am not sure if it is sufficient for you. An example of this: http://gupea.ub.gu.se:8080/dspace/simple-search-snabbsok?query=helsinkirpp=50submit=Go We use this for a quick search function on our web pages: http://www.ub.gu.se/ Also we generate various DSpace RSS feeds directly from postgres SQL queries on our web pages, but that is done outside of DSpace. I have not done anything with the RSS class in DSpace. There might be some cache issues etc that you would want to look at when implementing RSS (my solution simply returns straight XML instead of the web page). Please let me know if you want to have at look at the above. / Urban - Näytä lainattu teksti - mikan.d.dspace listmail wrote: - Näytä lainattu teksti - Hi, Has anyone tried/done the following on DSpace: modify the search code so, that it would return any given search as RSS feed? This shouldn't be too hard to implement, since DSpace already contains the functionality to provide RSS feeds from a set of items. What Im hoping to achieve, is to be able to create customized feeds to author/institutional webpages (or live bookmarks) with ease. This would actually allow a creation of virtual collections of any kind very easily. If this hasnt been done before, could someone throw in a few hints on where/how to start experiencing? On a general level, Im thinking of adding a RSS parameter to search query, which would throw the search results to the class/function that creates RSS feeds and returns them to the user. Maybe a parameter for a number of returned items could be used as well. I'd like to know where can I find: 1) Class that runs/processes search and results 2) Class that creates RSS feeds Thanks for any tips, Mika -- 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-t...@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] SWORD and DSpace HowTo Available?
Hi Sue, I'm testing various import options for DSpace 1.5.2, and I'm struggling with SWORD, which seems like a great idea. I'm having trouble accessing my SWORD servicedocument, and I'm sure that I just didn't set something up correctly. (See the dspace.log file error below - it results in an HTTP Status 500 error when you go to http://dlynx.rhodes.edu/sword/servicedocument and authenticate). 2009-09-08 15:40:35,885 ERROR org.apache.catalina.core.ContainerBase. [Catalina].[localhost].[/sword].[servicedocument] @ Servlet.service () for servlet servicedocument threw exception java.lang.NullPointerException at org.purl.sword.base.Collection.marshall(Collection.java:459) This occurs if you have a collection that has no title. This can occur if you use the DSpace web user interface to create a collection, but don't complete the process of creating the collection. The best fix is to make sure all your collections have a title, but I've also fixed it up for DSpace 1.6. If you want to copy the code fix into your installation, see: - http://scm.dspace.org/trac/dspace/changeset/4249/dspace/trunk/dspace-sword/dspace-sword-api Is anyone aware of a basic DSpace and SWORD HowTo document that would take me, more or less, step-by-step through the setup process, if I wanted to use the SWORD demonstration client to submit items to a DSpace collection? I'm not aware of one. The main settings you need to get correct are the content type (application/zip) the package format (http://purl.org/net/sword-types/METSDSpaceSIP ), and make sure the package is created correctly. An example package can be found in [dspace-src]/dspace-sword/example/example.zip. A PHP class (for online or offline scripting use) can be found at http://php.swordapp.org/ and this includes a class that can create (and optionally deposit) packages for you: require('packager_mets_swap.php'); // Create a new package with the root and directory of the input files, and the root and directory of the created package $package = new PackagerMetsSwap($rootin, $dirin, $rootout, $fileout); // Add metadata to the package $package-setType($test_type); $package-setTitle($title); $package-setAbstract($abstract); foreach ($creators as $creator) { $package-addCreator($creator); } // Add a file to the package $package-addFile($filename, $mimetype); // Now deposit the package require(swordappclient.php); $sac = new SWORDAPPClient(); $dr = $sac-deposit($depositurl, $username, $password, $onbehalfof, $filename, $packageformat, $pacakgecontenttype); I hope this helps, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- 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] Build failed
Hello Moturi, Make sure you cd into the target/dspace-1.5.1-build.dir and run ant from that location. Steven Williams Webmaster Technology Integration Services University of Texas Libraries University of Texas at Austin PCL 1.128G -Original Message- From: sowmyamoturi [mailto:sowmyamot...@gmail.com] Sent: Wednesday, September 09, 2009 12:37 AM To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Build failed I was trying to rebuild the dspace to finish the process of installing commenting add on for dspace but iam getting an error Source resource does not exist bash-2.05$ ant Buildfile: build.xml BUILD FAILED /home/csta1/aravind/dspace-1.5.1-src-release/dspace/src/main/config/build.xml:88: Source resource does not exist: /home/csta1/aravind/dspace-1.5.1-src-release/dspace/src/main/config/config/dspace.cfg Total time: 2 seconds Can you please let me know what is wrong? Thanks in advance. Regards, Moturi. -- View this message in context: http://www.nabble.com/Build-failed-tp25358873p25358873.html Sent from the DSpace - Tech mailing list archive at Nabble.com. -- 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] DSpace-tech Digest, Vol 41, Issue 15
Answer on Message 2: Dear I believe all ‘Custom’ Codes should be written in \dspace-1.5.2-src-release\dspace\modules For JSP : Follow the tree structure under \dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-webapp\src\main\webapp An example: If you want to change the file full.jsp (\dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-webapp\src\main\webapp\browse\full.jsp) 1. Build, under modules, the same tree structure as in \browse directory under \dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-webapp\src\main\webapp • Create the \browse directory under \dspace-1.5.2-src-release\dspace\modules\jspui\src\main\webapp • Copy the full.jsp (\dspace-1.5.2-src-release\dspace\modules\jspui\src\main\webapp\browse\full.jsp) • Change this file For Java Classes : Follow the tree structure under \dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-api\src\main An example: If you want to change the file BrowseListTag.java (\dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java) 2. Build, under modules, the same tree structure as in the directories under \dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\jsptag [starting from the \java folder] • Create the \java\org\dspace\app\webui\jsptag directory under \dspace-1.5.2-src-release\dspace\modules\jspui\src\main\ • Copy the BrowseListTag.java (dspace-1.5.2-src-release\dspace-jspui\dspace-jspui-api\src\main\java\org\dspace\app\webui\jsptag\BrowseListTag.java) • Change this file Yours Sincerely Christof Verdonck Email:christof.verdo...@uhasselt.be -Original Message- From: dspace-tech-requ...@lists.sourceforge.net [mailto:dspace-tech-requ...@lists.sourceforge.net] Sent: woensdag 9 september 2009 1:25 To: dspace-tech@lists.sourceforge.net Subject: DSpace-tech Digest, Vol 41, Issue 15 Send DSpace-tech mailing list submissions to dspace-tech@lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/dspace-tech or, via email, send a message with subject or body 'help' to dspace-tech-requ...@lists.sourceforge.net You can reach the person managing the list at dspace-tech-ow...@lists.sourceforge.net When replying, please edit your Subject line so it is more specific than Re: Contents of DSpace-tech digest... Today's Topics: 1. Re: small correction for dspace_migrate (John Davison) 2. Customize Dspace 1.5 using JSP (Khan, Baseer) 3. SWORD and DSpace HowTo Available? (penning...@rhodes.edu) 4. Can Stemming be turned off in DSpace Lucene searches? (Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY]) 5. Re: Can Stemming be turned off in DSpaceLucenesearches? (Kim Shepherd) -- Message: 1 Date: Tue, 08 Sep 2009 14:22:56 -0400 From: John Davison j...@ohiolink.edu Subject: Re: [Dspace-tech] small correction for dspace_migrate To: Stuart Lewis s.le...@auckland.ac.nz Cc: dspace-tech@lists.sourceforge.net dspace-tech@lists.sourceforge.net Message-ID: 4aa6a100.3050...@ohiolink.edu Content-Type: text/plain; charset=ISO-8859-1; format=flowed Collection-based export is working as expected when using the -m (migrate) flag in DSpace 1.5.2 with one exception. /bin/export ItemExport --type=COLLECTION --id=collID --dest=dest_dir --number=seq_num -m This will correctly remove the handle file, as well as the following metadata fields from dublin_core.xml: dcvalue element=date qualifier=accessioned/dcvalue dcvalue element=date qualifier=available/dcvalue dcvalue element=date qualifier=issued/dcvalue* dcvalue element=description qualifier=provenance/dcvalue dcvalue element=format qualifier=extent/dcvalue dcvalue element=format qualifier=mimetype/dcvalue (*Date.issued is retained if the item has been published before.) It also removes dc.identifier.uri in all cases. The dspace_migrate script uses a regular expression to only remove identifier.uri fields that start with http://hdl (retaining non-handle based identifier.uri elements), while ItemExport.java is eliminating all identifier.uri fields. Line 474: if ((!migrate) || (migrate !( (dcv.element.equals(date) qualifier.equals(issued)) || (dcv.element.equals(date) qualifier.equals(accessioned)) || (dcv.element.equals(date) qualifier.equals(available)) || (dcv.element.equals(identifier) qualifier.equals(uri)) || (dcv.element.equals(description) qualifier.equals(provenance)) || (dcv.element.equals(format) qualifier.equals(extent)) ||
[Dspace-tech] Changing DSpace time zone
Hello, I'm running a DSpace 1.5.2 installation, and I need to change the default time zone that Dspace is using from UTC to UTC -4 to timestamp submissions. We're going to be using Dspace for time-sensitive submission of files, and having the time in UTC is going to undoubtedly confuse some of the users reviewing the submisssions. Anyone know of a way to do this? I poured through the dspace.cfg file and checked the Wiki and manual, but couldn't come up with anything. Any help would be greatly appreciated. Cheers, Eric -- Eric Kurzenberger Digital Media Coordinator Yale School of Architecture Yale University 180 York St. New Haven, CT 06511 T: 203.436.4176 F: 203.432.7175 -- 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] SWORD and DSpace HowTo Available?
Stuart, Thanks again for the excellent help. The problem with my SWORD servicedocument was a collection that didn't have a name attached to it. I added the name via SQL and the servicedocument started being created without a problem. Also, thanks for the pointers on how to get started, particularly with a PHP option info. SWORD is looking promising, and I'm looking forward to diving in with it... Stacy -Original Message- From: Stuart Lewis [mailto:s.le...@auckland.ac.nz] Sent: Wednesday, September 09, 2009 4:23 AM To: Pennington_Stacy Cc: dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] SWORD and DSpace HowTo Available? Hi Sue, I'm testing various import options for DSpace 1.5.2, and I'm struggling with SWORD, which seems like a great idea. I'm having trouble accessing my SWORD servicedocument, and I'm sure that I just didn't set something up correctly. (See the dspace.log file error below - it results in an HTTP Status 500 error when you go to http://dlynx.rhodes.edu/sword/servicedocument and authenticate). 2009-09-08 15:40:35,885 ERROR org.apache.catalina.core.ContainerBase. [Catalina].[localhost].[/sword].[servicedocument] @ Servlet.service () for servlet servicedocument threw exception java.lang.NullPointerException at org.purl.sword.base.Collection.marshall(Collection.java:459) This occurs if you have a collection that has no title. This can occur if you use the DSpace web user interface to create a collection, but don't complete the process of creating the collection. The best fix is to make sure all your collections have a title, but I've also fixed it up for DSpace 1.6. If you want to copy the code fix into your installation, see: - http://scm.dspace.org/trac/dspace/changeset/4249/dspace/trunk/dspace-sword/dspace-sword-api Is anyone aware of a basic DSpace and SWORD HowTo document that would take me, more or less, step-by-step through the setup process, if I wanted to use the SWORD demonstration client to submit items to a DSpace collection? I'm not aware of one. The main settings you need to get correct are the content type (application/zip) the package format (http://purl.org/net/sword-types/METSDSpaceSIP ), and make sure the package is created correctly. An example package can be found in [dspace-src]/dspace-sword/example/example.zip. A PHP class (for online or offline scripting use) can be found at http://php.swordapp.org/ and this includes a class that can create (and optionally deposit) packages for you: require('packager_mets_swap.php'); // Create a new package with the root and directory of the input files, and the root and directory of the created package $package = new PackagerMetsSwap($rootin, $dirin, $rootout, $fileout); // Add metadata to the package $package-setType($test_type); $package-setTitle($title); $package-setAbstract($abstract); foreach ($creators as $creator) { $package-addCreator($creator); } // Add a file to the package $package-addFile($filename, $mimetype); // Now deposit the package require(swordappclient.php); $sac = new SWORDAPPClient(); $dr = $sac-deposit($depositurl, $username, $password, $onbehalfof, $filename, $packageformat, $pacakgecontenttype); I hope this helps, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- 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] help! migration causes slow loading of files
Thanks Van - will chekc on it Thanks so much Susan Federico Lazcano wrote: El Tuesday 08 September 2009 21:29:28 Van Ly escribió: On 09/09/2009, at 2:19 AM, susan teague rector wrote: For example, here's a couple of larger files (although they're still on ~24 mb) on our production instance: https://dizzyg.library.vcu.edu/bitstream/10156/2476/1/TESI%20VALE.pdf These files never open, but rather just spin. Hi Susan, I am able to slowly fetch all that file and it renders partially as it downloads. You may want to check the local network interface is OK or too busy or if there is network traffic throttling deliberately slowing transfers somewhere in-between. Best wishes, Van Ly vly at usyd dot edu dot au Check for errors in the ethernet interface, for example la...@dev:~$ ifconfig eth0 Link encap:Ethernet HWaddr 00:e0:4c:84:8e:27 inet addr:200.XX.XXX.XX Bcast:200.XX.XXX.XX Mask:255.255.255.224 inet6 addr: fe80::2e0:4cff:fe84:8e27/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2670273 errors:62604 dropped:0 overruns:0 frame:0 TX packets:1238207 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:424462774 (404.7 MB) TX bytes:285456371 (272.2 MB) Interrupt:11 Base address:0xec00 is really really slow. We're planning to check the network interface card. -- 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
[Dspace-tech] Java out of memory error : urgent plz
Hello , We have recently run the Dspace statistics on the server , since then the website is going on and off , It generally gives the java language out of memory error http 500 , When I searched for it shows me the memory needs to be increased for tomcat , This is the output of the free command on the server free -m -t total used free sharedbuffers cached Mem: 1004702302 0 18361 -/+ buffers/cache:322681 Swap: 1992124 1868 Total:2996826 2170 The java opts in the /etc/profile is JAVA_OPTS=-Xmx512M -Xms64M -Dfile.encoding=UTF-8 So can anyone suggest me what is the best thing I need to do , Do I add additional RAM to the server or increase the memory stubs . Please advise . Thank you, Baseer. -- 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] Searching of text from PDF files
On Tue, Sep 01, 2009 at 03:55:11PM +1000, Gary Browne wrote: When a user searches via the dspace web interface, is the search run across the content of text pdfs or just the metadata? If so, does the pdf submitted to the repository need to have been previously OCR'd, or does the repository attempt to extract index text from all pdfs? DSpace doesn't include OCR code. The full-text extractor (which feeds the indexing) requires actual coded-character text in the PDF to work with. If all you have is a bag of bitmaps (such as you often get from scanning paper documents into PDF) then they contain nothing useful to extract; you'll need to OCR or otherwise recover the character data before ingesting the file into DSpace. -- Mark H. Wood, Lead System Programmer mw...@iupui.edu Friends don't let friends publish revisable-form documents. pgpXE4WuvkrNX.pgp Description: PGP signature -- 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] small correction for dspace_migrate
Hi John, Thanks for spotting that. I've opened a JIRA issue for it to make sure it gets addressed before 1.6 is released: - http://jira.dspace.org/jira/browse/DS-303 Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ On 9/09/2009, at 6:22 AM, John Davison wrote: Collection-based export is working as expected when using the -m (migrate) flag in DSpace 1.5.2 with one exception. /bin/export ItemExport --type=COLLECTION --id=collID --dest=dest_dir --number=seq_num -m This will correctly remove the handle file, as well as the following metadata fields from dublin_core.xml: dcvalue element=date qualifier=accessioned/dcvalue dcvalue element=date qualifier=available/dcvalue dcvalue element=date qualifier=issued/dcvalue* dcvalue element=description qualifier=provenance/dcvalue dcvalue element=format qualifier=extent/dcvalue dcvalue element=format qualifier=mimetype/dcvalue (*Date.issued is retained if the item has been published before.) It also removes dc.identifier.uri in all cases. The dspace_migrate script uses a regular expression to only remove identifier.uri fields that start with http://hdl (retaining non-handle based identifier.uri elements), while ItemExport.java is eliminating all identifier.uri fields. Line 474: if ((!migrate) || (migrate !( (dcv.element.equals(date) qualifier.equals(issued)) || (dcv.element.equals(date) qualifier.equals(accessioned)) || (dcv.element.equals(date) qualifier.equals(available)) || (dcv.element.equals(identifier) qualifier.equals(uri)) || (dcv.element.equals(description) qualifier.equals(provenance)) || (dcv.element.equals(format) qualifier.equals(extent)) || (dcv.element.equals(format) qualifier.equals(mimetype) { out.write(utf8, 0, utf8.length); -John Stuart Lewis wrote: Hi John, I was transferring a few collections from a DSpace 1.5.2 development server to a production instance this morning and encountered a small issue with the dspace_migrate bash script. Since the item exporter in 1.6 has a migrate option (-m flag) this script might get removed, so I'm posting this simple fix just in case anyone else encounters the same problem. Thanks for reporting this problem. The -m 'migrate' flag was introduced in 1.5.2, so you could try running that instead. It would be good to know if it works for you to give us more confidence in removing the dspace_migrate script. We also have an open issue to make the -m 'migrate' flag more configurable (http://jira.dspace.org/jira/browse/DS-287 ) I've noted the bug in the JIRA issue to remove the dspace_migrate script, so if we decide not to remove it, then we can make sure it gets fixed before we release 1.6. Thanks, Stuart Lewis IT Innovations Analyst and Developer Te Tumu Herenga The University of Auckland Library Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand Ph: 64 9 373-7599 x81928 http://www.library.auckland.ac.nz/ -- 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] Java out of memory error : urgent plz
On 10/09/2009, at 6:41 AM, Khan, Baseer wrote: When I searched for it shows me the memory needs to be increased for tomcat , This is the output of the free command on the server I picked up the following jsp page for revealing memory state you could find useful. To use, put it in your webapps directory as `mem- status.jsp' and point your browser at it. It is as follows: 1 %@ page import=java.lang.management.* % 2 %@ page import=java.util.* % 3 html 4 head 5 titleJVM Memory Monitor/title 6 /head 7 /html 8 table border=0 width=100% 9 trtd colspan=2 align=centerh3Memory MXBean/h3/ td/tr 10 trtd 11 width=200Heap Memory Usage/tdtd 12 %= 13 ManagementFactory.getMemoryMXBean().getHeapMemoryUsage() 14 % 15 /td/tr 16 trtdNon-Heap Memory 17 Usage/tdtd 18 %= 19 ManagementFactory.getMemoryMXBean().getNonHeapMemoryUsage() 20 % 21 /td/tr 22 trtd colspan=2nbsp;/td/tr 23 trtd colspan=2 align=centerh3Memory Pool MXBeans/ h3/td/tr 24 % 25 Iterator iter = ManagementFactory.getMemoryPoolMXBeans ().iterator(); 26 while (iter.hasNext()) { 27 MemoryPoolMXBean item = (MemoryPoolMXBean) iter.next(); 28 % 29 trtd colspan=2 30 table border=0 width=100% style=border: 1px #98AAB1 solid; 31 trtd colspan=2 align=centerb%= item.getName() %/ b/td/tr 32 trtd width=200Type/tdtd%= item.getType() %/td/tr 33 trtdUsage/tdtd%= item.getUsage() %/td/tr 34 trtdPeak Usage/tdtd%= item.getPeakUsage() %/td/tr 35 trtdCollection Usage/tdtd%= item.getCollectionUsage () %/td/tr 36 /table 37 /td/tr 38 trtd colspan=2nbsp;/td/tr 39 % 40 } 41 % 42 /table 43 preHERE/pre Best wishes, Van Ly vly at usyd dot edu dot au -- 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