Re: [Dspace-tech] help! migration causes slow loading of files
Hi Susan, does the newly copied assetstore and its contents got the proper rights i.e. does it belong to the dpace user? And does your dspace.cfg point to this assetstore? Claudia susan teague-rector schrieb: Hi all, I noticed someone else asked a similar question to mine (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html) recently. We're still stuck - we've tried to copy the assetstore over 2 times today to our new server to no avail. I've also tried to reindex, but that doesn't seem to affect my ability to view the files. Thanks in advance, Susan susan teague-rector wrote: Hi All, I migrated my database, assetstore application to a new server this morning (after doing a test migration last week) All seems great until I click on a pdf (or other file) in a record. The server just sits and spins and the file never opens. I've migrated to a new linux server with twice the amount of memory, so it seems like memory shouldn't be the problem. I'm not seeing anything at all in the error logs. I'm still running Dspace 1.4.1 Does anyone have any ideas what may have happened? Thanks so much, Susan -- 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 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] help! migration causes slow loading of files
hi Claudia, It does have the proper rights - checked that yesterday eve. My dspace.cfg points there At this point, we think we may have a network issue, but we're still looking into that. thanks so much for your help and let me know if you have other ideas about what it could be. Like I said, we've moved to a much larger server and I thought that would increase the load time of the files. I've also increased the JAVA_OPTS memory to a gig... thanks! Claudia Jürgen wrote: Hi Susan, does the newly copied assetstore and its contents got the proper rights i.e. does it belong to the dpace user? And does your dspace.cfg point to this assetstore? Claudia susan teague-rector schrieb: Hi all, I noticed someone else asked a similar question to mine (http://www.mail-archive.com/dspace-tech@lists.sourceforge.net/msg08681.html) recently. We're still stuck - we've tried to copy the assetstore over 2 times today to our new server to no avail. I've also tried to reindex, but that doesn't seem to affect my ability to view the files. Thanks in advance, Susan susan teague-rector wrote: Hi All, I migrated my database, assetstore application to a new server this morning (after doing a test migration last week) All seems great until I click on a pdf (or other file) in a record. The server just sits and spins and the file never opens. I've migrated to a new linux server with twice the amount of memory, so it seems like memory shouldn't be the problem. I'm not seeing anything at all in the error logs. I'm still running Dspace 1.4.1 Does anyone have any ideas what may have happened? Thanks so much, Susan -- 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 -- 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 Creative Commons license display problem
Hello Federico, You will need to create the Mime Type using the Admin UI. The bitstream-formats.xml is only used when performing a fresh install. Call your format CC License with a Mime Type of text/html. Hope this helps. Steve -Original Message- From: Federico Lazcano [mailto:federico.lazc...@gmail.com] Sent: Thursday, September 03, 2009 12:59 AM To: dspace-tech@lists.sourceforge.net Cc: Williams, Steven D Subject: Re: [Dspace-tech] DSpace Creative Commons license display problem El Friday 28 August 2009 13:58:50 Thompson-Young, Alexia A escribió: All, Two patches to address the mime type issue for the CC license have been submitted: http://jira.dspace.org/jira/browse/DS-295 With these patches, someone using FireFox will see the CC license displayed properly. Many thanks to Steve Williams and Ladd Hanson for working on this. FYI, Lexie No luck for me. :-( Using Dspace 1.5.2, Ubuntu 8.04.3, Tomcat 5.5. Frontend with Apache mod_proxy_ajp. I have applied patches, packaged with mvn, updated with ant, updated bitstream-formats.xml with new mimetype from patch. dsp...@dspace:/dspace/config/registries$ diff bitstream-formats.xml bitstream-formats.xml.orig 59,67d58 !-- Used by system: do not remove -- bitstream-type mimetypetext/html/mimetype short_descriptionCC License/short_description descriptionItem-specific Creative Commons license agreed upon to submission/description support_level1/support_level internaltrue/internal /bitstream-type Then restarted Tomcat. An item uploaded pre-patch still show mimetype text/plain: $ wget http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/21/license_text?sequence=3 --02:44:47-- http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/21/license_text?sequence=3 = `license_text?sequence=3' Resolviendo www.bdbf.edu.ar... 200.3.126.141 Conectando a www.bdbf.edu.ar|200.3.126.141|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 13.771 (13K) [text/plain] An item uploaded post-patch now show application/octet-stream (?!?!?!) $ wget http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/25/license_text?sequence=3 --02:48:15-- http://www.bdbf.edu.ar/xmlui/bitstream/handle/123456789/25/license_text?sequence=3 = `license_text?sequence=3.1' Resolviendo www.bdbf.edu.ar... 200.3.126.141 Conectando a www.bdbf.edu.ar|200.3.126.141|:80... conectado. Petición HTTP enviada, esperando respuesta... 200 OK Longitud: 13.684 (13K) [application/octet-stream] Still far away from the desired text/html mimetype. Now Firefox (Windows GNU/Linux) tries to execute the CC License. It still works on MS Internet Explorer. Am I doing something wrong? Anyone tried this patch? Thanks in advance. -- Federico Lazcano -- 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] small correction for dspace_migrate
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. Transferring Items Between DSpace Instances: http://www.dspace.org/1_5_2Documentation/ch09.html#N1382D DSpace System Documentation lists the auto-generated fields the dspace_migrate script removes from dublin_core.xml prior to moving a collection (date.accessioned, date.available, description.provenance, etc.). The script also removes the handle file. When I attempted to import the collection into the production instance, I ended up with two handles-- one newly created and one left over from the dev server because it was still listed in the dublin_core.xml file as a dc.identifier.uri value. Here's the fix: Lines 101 and 104 perform the deletion of several element/qualifier pairs from the dublin_core.xml metadata, but a small typo occurs twice on the lines that should remove the handle. Removing one character from both lines fixes the problem. This: | $SED /element=\identifier\ qualifier=\uri\\http:\/\/hdl/d Should be this: | $SED /element=\identifier\ qualifier=\uri\http:\/\/hdl/d Note: removing the extra escape character (backslash \) before the greater than () symbol causes the script to correctly remove any dc.identifier.uri that starts with http://hdl without removing any non-handle URIs nor removing any local accession numbers stored in dc.indentifer.other. I hope this helps, John Davison OhioLINK DRC -- 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, 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