[Dspace-tech] Item submission customisation and thumbnail
Hi all, I've emailed about this earlier in Dec 2012. Would be great if there's any experts on this to help. The DSpace repository version we are using is DSpace 1.8.2. I have 2 issues that I require assistance: 1. I would like to check is it possible to amend the upload section to add field to upload thumbnail in item submission form? Currently, we are using Mirage. There is an option to select thumbnail bitstream to upload after the item is submitted to the system(under Context- Edit this item-Item bitstreams -Upload a new bitstream) I would like it to be added into the initial item submission. I can't find the file to edit upload section in item submission form. Also, I'm not able to identify the exact field for the form to post to. 2. Currently we are using the filter-media function to generate the thumbnail of image files(jpeg,png, bmp etc). The image looks rather fuzzy even after I tweak the image size in dspace.cfg. Is there any other files to amend in order to enhance the resolution or clarity of the generated thumbnail? Thanks and Regards, Melisa SP Library -Original Message- From: Melisa Ong Sent: 26 December 2012 12:48 To: 'dspace-tech@lists.sourceforge.net' Subject: DSpace 1.8.2 - thumbnail upload in item submission form and generated thumbnail clarity Hi all, The DSpace repository version we are using is DSpace 1.8.2. I have 2 issues that I require assistance: 1. I would like to check is it possible to amend the upload section to add field to upload thumbnail in item submission form? Currently, we are using Mirage. There is an option to select thumbnail bitstream to upload after the item is submitted to the system(under Context- Edit this item-Item bitstreams -Upload a new bitstream) I would like it to be added into the initial item submission. I can't find the file to edit upload section in item submission form. Also, I'm not able to identify the exact field for the form to post to. 2. Currently we are using the filter-media function to generate the thumbnail of image files(jpeg,png, bmp etc). The image looks rather fuzzy even after I tweak the image size in dspace.cfg. Is there any other files to amend in order to enhance the resolution or clarity of the generated thumbnail? Thanks and Regards, Melisa SP Library -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] [Dspace-general] Item submission customisation and thumbnail
Melisa Ong Hi all, 1. I would like to check is it possible to amend the upload section to add field to upload thumbnail in item submission form? Currently, we are using Mirage. There is an option to select thumbnail bitstream to upload after the item is submitted to the system(under Context- Edit this item-Item bitstreams -Upload a new bitstream) I would like it to be added into the initial item submission. I can't find the file to edit upload section in item submission form. Also, I'm not able to identify the exact field for the form to post to. It´s not possible without coding. you must modify (i think) the class UploadStep https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/submit/step/UploadStep.java 2. Currently we are using the filter-media function to generate the thumbnail of image files(jpeg,png, bmp etc). The image looks rather fuzzy even after I tweak the image size in dspace.cfg. Is there any other files to amend in order to enhance the resolution or clarity of the generated thumbnail? The low quality of thumbnails has been noticed before by other users in this list I ignore any aproach to enhance it, but other people are giving a try to integration with multivio (http://www.multivio.org) We have tested it and the results looks excellent. Best Luck Emilio Thanks and Regards, Melisa SP Library -Original Message- From: Melisa Ong Sent: 26 December 2012 12:48 To: 'dspace-tech@lists.sourceforge.net' Subject: DSpace 1.8.2 - thumbnail upload in item submission form and generated thumbnail clarity Hi all, The DSpace repository version we are using is DSpace 1.8.2. I have 2 issues that I require assistance: 1. I would like to check is it possible to amend the upload section to add field to upload thumbnail in item submission form? Currently, we are using Mirage. There is an option to select thumbnail bitstream to upload after the item is submitted to the system(under Context- Edit this item-Item bitstreams -Upload a new bitstream) I would like it to be added into the initial item submission. I can't find the file to edit upload section in item submission form. Also, I'm not able to identify the exact field for the form to post to. 2. Currently we are using the filter-media function to generate the thumbnail of image files(jpeg,png, bmp etc). The image looks rather fuzzy even after I tweak the image size in dspace.cfg. Is there any other files to amend in order to enhance the resolution or clarity of the generated thumbnail? Thanks and Regards, Melisa SP Library -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ Dspace-general mailing list dspace-gene...@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-general -- Emilio Lorenzo Arvo Consultores AVISO LEGAL Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al remitente y borre dicho mensaje y cualquier documento adjunto que pudiera contener. No hay renuncia a la confidencialidad ni a ningún privilegio por causa de transmisión errónea o mal funcionamiento. Cualquier opinión expresada en este mensaje pertenece únicamente al remitente, y no representa necesariamente la opinión de Arvo Consultores, a no ser que expresamente se diga y el remitente esté autorizado para hacerlo. Los correos electrónicos no son seguros, no garantizan la confidencialidad ni la correcta recepción de los mismos, dado que pueden ser interceptados, manipulados, destruidos, llegar con demora, incompletos, o con virus. Arvo Consultores no se hace responsable de las alteraciones que pudieran hacerse al mensaje una vez enviado. En caso de que el receptor no quiera recibir mas correos de esta dirección deberá notificarlo a la dirección a...@arvo.es. -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette:
Re: [Dspace-tech] Item submission customisation and thumbnail
On Tue, Jan 15, 2013 at 9:14 AM, Melisa Ong melisa_...@sp.edu.sg wrote: 2. Currently we are using the filter-media function to generate the thumbnail of image files(jpeg,png, bmp etc). The image looks rather fuzzy even after I tweak the image size in dspace.cfg. Is there any other files to amend in order to enhance the resolution or clarity of the generated thumbnail? There is a patch with this functionality waiting for review before it gets to DSpace 4.0. The patch can be applied cleanly to both DSpace 3.0 and 1.8.x. https://github.com/DSpace/DSpace/pull/154 Apply it this way: patch -p1 154.patch Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Item submission customisation and thumbnail
I forgot to say that it would be beneficial to hear back from you how the patch works for you and any comments you may have. It would speed up when it gets merged. Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] REstore and Backup of DataBase
On Tue, Jan 15, 2013 at 6:48 AM, Parul dubey parul.du...@itsl.in wrote: Wanted to know that I have uploaded some documents to DSPace , so how should I take backup of database and incase of system failure , how can it be restored toanother Systems having dspace installed. Hi Parul, the complete backup procedure is described here: https://wiki.duraspace.org/display/DSDOC3x/Upgrading+From+1.8.x+to+3.x#UpgradingFrom1.8.xto3.x-BackupyourDSpace To restore the database, just execute the sql file. There are also other ways how you can take backup of your DSpace contents (this includes hierarchy, items and bitstreams; doesn't include configuration and customizations), recommended is AIP backup. It is also the easiest for migration of content from one instance to another: https://wiki.duraspace.org/display/DSDOC3x/AIP+Backup+and+Restore Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Any plugin for using Dspace for Ipad and Android
Currently i am using Dspace 3.0 , Is there any plugin by which i could use the DSpace through my Ipad or through my Andoid phone. . if yes, send me the link from where to download the link or if not then tell me an alternative to meet this. your thankful Saurabh -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] DSpace and other databases
Hello Everyone. Is anyone using DSpace with a database other than the official supported ones? So does anyone use DSpace with another Database then Postgresql or Oracle? Thanks in advanced! Pascal Becker -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] DSpace and other databases
On Tue, Jan 15, 2013 at 10:23 AM, Becker, Pascal-Nicolas p.bec...@tu-berlin.de wrote: Is anyone using DSpace with a database other than the official supported ones? So does anyone use DSpace with another Database then Postgresql or Oracle? Hi Pascal, you can look at our public database of users and filter by database type: http://www.dspace.org/whos-using-dspace Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Item submission customisation and thumbnail
Hi Emilio and helix84, Thank you so much for the info. Will test these solutions out and update again. Thanks and Regards, Melisa SP Library -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Item Preview fields
Thanks for the Reply. Also kindly suggest how to customize the following: The default preview fields are: Issue date , Title , Author How can I remove the Issue date and add new metadata fields like Volume , Edition ... I had gone through the previous mail but not able to resolve this. Any help would be appreciated. JSPUI DSPace: 1.8.2 Operating System : Windows Regards Parul Dubey ITSL Limited -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] Item Preview fields
Parul, I think the relevant info is in page 201 of the DSPACE 1.8 documentation 6.2.36 JSP Web Interface (JSPUI) Settings Property: webui.itemdisplay.default regards, Emilio Thanks for the Reply. Also kindly suggest how to customize the following: The default preview fields are: Issue date , Title , Author How can I remove the Issue date and add new metadata fields like Volume , Edition ... I had gone through the previous mail but not able to resolve this. Any help would be appreciated. JSPUI DSPace: 1.8.2 Operating System : Windows Regards Parul Dubey ITSL Limited -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Emilio Lorenzo Arvo Consultores AVISO LEGAL Este mensaje es privado y confidencial y solamente para la persona a la que va dirigido. Si usted ha recibido este mensaje por error, no debe revelar, copiar, distribuir o usarlo en ningún sentido. Le rogamos lo comunique al remitente y borre dicho mensaje y cualquier documento adjunto que pudiera contener. No hay renuncia a la confidencialidad ni a ningún privilegio por causa de transmisión errónea o mal funcionamiento. Cualquier opinión expresada en este mensaje pertenece únicamente al remitente, y no representa necesariamente la opinión de Arvo Consultores, a no ser que expresamente se diga y el remitente esté autorizado para hacerlo. Los correos electrónicos no son seguros, no garantizan la confidencialidad ni la correcta recepción de los mismos, dado que pueden ser interceptados, manipulados, destruidos, llegar con demora, incompletos, o con virus. Arvo Consultores no se hace responsable de las alteraciones que pudieran hacerse al mensaje una vez enviado. En caso de que el receptor no quiera recibir mas correos de esta dirección deberá notificarlo a la dirección a...@arvo.es. -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Submitted Item Preview
Thanks for the reply I have added the Metadata filed(Volume) to dspace.cfg file as webui.itemdisplay.default = dc.title, dc.title.alternative, \ dc.contributor.*, dc.subject, dc.data.issued(date), \ dc.publisher, dc.identifier.citation, \ dc.relation.ispartofseries, dc.description.abstract, \ dc.description, dc.identifier.govdoc, \ dc.identifier.uri(link), dc.identifier.isbn, \ dc.identifier.issn, dc.identifier.ismn, dc.identifier, dc.Volume Also I have updated the Messages.properties file(C:\dspace-1.8.2-src-release\dspace-api\src\main\resources\ Messages.properties) Add metadata.dc.Volume = Volume But it is still not working. Regards Parul Dubey -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] ORE error
I'm running DSpace 3 with XMLUI and am trying to use OAI-ORE harvester to create a mirror copy of the production server, but I receive the following error when I run this command: http://[full-URL-to-OAI-PMH]/request?verb=ListRecordsmetadataPrefix=ore Any ideas why that is? [Fatal Error] ore.xsl:22:134: The prefix xsi for attribute xsi:schemaLocation associated with an element type atom:entry is not bound. file:/c:/dspace/config/crosswalks/oai/metadataFormats/ore.xsl; Line #22; Column #134; org.xml.sax.SAXParseException; systemId: file:/c:/dspace/config/crosswalks /oai/metadataFormats/ore.xsl; lineNumber: 22; columnNumber: 134; The prefix xsi for attribute xsi:schemaLocation associated with an element type atom:entry is not bound. Jan 15, 2013 10:24:04 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [oai] in context with path [/oai] threw ex ception java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl er(TransformerImpl.java:1178) at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl er(TransformerImpl.java:1060) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp l.java:1279) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp l.java:1262) at com.lyncode.xoai.dataprovider.util.XSLTUtils.transform(XSLTUtils.java :137) at com.lyncode.xoai.dataprovider.OAIDataProvider.createRecord(OAIDataPro vider.java:696) at com.lyncode.xoai.dataprovider.OAIDataProvider.build(OAIDataProvider.j ava:657) at com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider. java:195) at org.dspace.xoai.util.XOAICacheManager.handle(XOAICacheManager.java:21 9) at org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.jav a:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin t.java:1822) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) at java.lang.Thread.run(Thread.java:722) Alain Tschanz -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] virus checker unavailable
This morning in my installation (1.8.2) some one tried to upload a file and got an error because the virus checker was unavailable. The same user tried it again now and it worked well. Why would it have been unavailable? Can it only be used by one user at a time? I have it enabled it so that it runs when users upload files via the UI. I'm wondering if I should tell the user that if this happens again, to just try later because it probably means that it's being used right now. Many thanks! Jose -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] ORE error
Hi Alain, there is a problem with the ore.xsl file (c:/dspace/config/crosswalks/oai/ metadataFormats/ore.xsl). Replace it by the following one: https://gist.github.com/4539900/download On 15 January 2013 15:33, Alain Tschanz atsch...@njstatelib.org wrote: I’m running DSpace 3 with XMLUI and am trying to use OAI-ORE harvester to create a mirror copy of the production server, but I receive the following error when I run this command: http://[full-URL-to-OAI-PMH]/request?verb=ListRecordsmetadataPrefix=ore** ** ** ** Any ideas why that is? ** ** [Fatal Error] ore.xsl:22:134: The prefix xsi for attribute xsi:schemaLocation associated with an element type atom:entry is not bound. file:/c:/dspace/config/crosswalks/oai/metadataFormats/ore.xsl; Line #22; Column #134; org.xml.sax.SAXParseException; systemId: file:/c:/dspace/config/crosswalks /oai/metadataFormats/ore.xsl; lineNumber: 22; columnNumber: 134; The prefix xsi for attribute xsi:schemaLocation associated with an element type atom:entry is not bound. Jan 15, 2013 10:24:04 AM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [oai] in context with path [/oai] threw ex ception java.lang.NullPointerException at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl er(TransformerImpl.java:1178) at org.apache.xalan.transformer.TransformerImpl.createSerializationHandl er(TransformerImpl.java:1060) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp l.java:1279) at org.apache.xalan.transformer.TransformerImpl.transform(TransformerImp l.java:1262) at com.lyncode.xoai.dataprovider.util.XSLTUtils.transform(XSLTUtils.java :137) at com.lyncode.xoai.dataprovider.OAIDataProvider.createRecord(OAIDataPro vider.java:696) at com.lyncode.xoai.dataprovider.OAIDataProvider.build(OAIDataProvider.j ava:657) at com.lyncode.xoai.dataprovider.OAIDataProvider.handle(OAIDataProvider. java:195) at org.dspace.xoai.util.XOAICacheManager.handle(XOAICacheManager.java:21 9) at org.dspace.xoai.DSpaceOAIDataProvider.doGet(DSpaceOAIDataProvider.jav a:139) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621)*** * at javax.servlet.http.HttpServlet.service(HttpServlet.java:728)*** * at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV alve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV alve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica torBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j ava:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j ava:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java: 936) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal ve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav a:407) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp 11Processor.java:1004) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process( AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoin t.java:1822) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor. java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor .java:603) at java.lang.Thread.run(Thread.java:722) ** ** ** ** Alain Tschanz ** ** -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette -- Thanks, João Melo (My Portfolio http://www.lyncode.com/m/jmelo/)
Re: [Dspace-tech] How do I share solr statistics server between two dspace servers?
Thanks for the response. My notes are below: djlfldj Hi Michael, in theory (I've never done it, either) what you're doing is correct and exactly what I'd have done. I.e. use only one of the solr instances to store data for both instances. When you get it working you can even manually export the previous data from the orphan solr instance to the shared one. You correctly allowed and tested access to server1 from server2. On Jan 12, 2013 2:26 AM, Michael Reynolds reyno...@uw.edu wrote: But how to get dspace on server2 to send its solr client search statistics to server1? I tried setting the server property in modules/solr-statistics.cfg on server2 to server=http://server1/solr/statistics;. That didn't work -- from netstat -an on server2 I could see connections from 127.0.0.1:some port to 127.0.0.1:8080 when I did searches, so clearly dspace on server2 was ignoring my server setting. There must be some subtle problem in this part. It seems correct to me. I assume you did restart Tomcat after changing configuration. And of course it must be done in [dspace]/config, not [dspace-source]/dspace/config. As you noted, the original setting (use solr on localhost) is still in effect. Perhaps you accidentally have solr-statistics.server property set in dspace.cfg? (And why not, since the ip address for server1 was not bound here!) I didn't understand this part. -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
Re: [Dspace-tech] How do I share solr statistics server between two dspace servers?
Sorry for my previous abortive reply! Grrr, trying to figure out Windows Live Mail formatting -- never mind, using gmail instead... Thanks, helix84, for your reply. My comments are below... On Sat, Jan 12, 2013 at 2:34 AM, helix84 heli...@centrum.sk wrote: Hi Michael, in theory (I've never done it, either) what you're doing is correct and exactly what I'd have done. I.e. use only one of the solr instances to store data for both instances. When you get it working you can even manually export the previous data from the orphan solr instance to the shared one. You correctly allowed and tested access to server1 from server2. On Jan 12, 2013 2:26 AM, Michael Reynolds reyno...@uw.edu wrote: But how to get dspace on server2 to send its solr client search statistics to server1? I tried setting the server property in modules/solr-statistics.cfg on server2 to server=http://server1/solr/statistics;. That didn't work -- from netstat -an on server2 I could see connections from 127.0.0.1:some port to 127.0.0.1:8080 when I did searches, so clearly dspace on server2 was ignoring my server setting. There must be some subtle problem in this part. It seems correct to me. I assume you did restart Tomcat after changing configuration. And of course it must be done in [dspace]/config, not [dspace-source]/dspace/config. Yup, changed in the production dspace directory and restarted tomcat. I'm puzzled a bit, though, as to why you're puzzled it didn't work. The docs (rather ambiguously) say that the server property defines both where the solr client sends statistics as well as where the solr server listens for data. Since server2 does not own the server1 ip address, of course the server2 solr server won't be able to listen at server1:8080. So I'd figured the design of dspace simply wasn't set up for this; I just tried it as a long shot. So you think it might actually work to specify another server's ip address here? That would be great if I can get it to work. As you noted, the original setting (use solr on localhost) is still in effect. Perhaps you accidentally have solr-statistics.server property set in dspace.cfg? Alas, no, it is set in modules/solr-statistics.cfg. However, your comment prompted another thought: what about the modules/discovery.cfg? There's the search.server setting there. Again, tho, the documentation makes no mention of how to set this up for the server running on another host. I had not tried setting that also to point to server1:8080. Worth a try? (And why not, since the ip address for server1 was not bound here!) I didn't understand this part. As mentioned above, I really didn't expect this to work, since the ip address for server1 is not available on server2, so I didn't really expect any of this to work on server2. Since the dspace docs are written in such a way that they assume you are using a local ip address for this setting, I had assumed that the design of dspace did not allow for this setting to refer to a remote server. Do you have knowledge of the design of dspace beyond the docs? I haven't had a chance to look through the dspace solr java code myself. Thanks again for your reply and for any advice! --Mike -- Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and more. Get SQL Server skills now (including 2012) with LearnDevNow - 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only - learn more at: http://p.sf.net/sfu/learnmore_122512___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
[Dspace-tech] Restricted Item Setting
I am using Dspace 3.0 jspui with discovery. I want to know what this restricted item setting is for. In my dspace.cfg file I tried to make the values of harvest.includerestricted.oai = true, harvest.includerestricted.rss = true harvest.includerestricted.subscription = true all as false but i cant see any change on my interface settings or any functionality. Can any one explain in detail as the manual doesn't cover much for understanding. Secondly I also want users who are not authenticated on my dspace can only see meta data and attached bitstream of an item but cannot view or download it untill they are properly authenticated. I mean whenever they click the view or open or bitstream name hyperlink they must always direct to login page. Any help in this regard shall highly be appreciated. -- Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 ___ DSpace-tech mailing list DSpace-tech@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-tech List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette