Re: [Dspace-tech] Dspace is losing session persistence on Internet Explorer after click on handle, any idea why?
Andrea thank for your comment. We verified that the IP stays the same. The user loses his session when the browser is redirected from the handle system, after the user clicks on the link http://hld.handle.net/PREFIX/ID. The request referer is empty. At this date we could not replicate this issue and the problem is confined to Internet Explorer. I think we have 2 approaches to solve it: . the easy one change the value of webui.session.invalidate but this represents a security risk . Remove the link of the handle on confirmation page, and present other with http://example.com/handle/PREXIF/ID We are going to test the second approach. Thanks again! -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Split up input-forms.xml?
Hi Alan Perhaps this will work: http://xml.silmaril.ie/includes.html See: http://www.w3.org/TR/xinclude/ Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 12 March 2015 at 15:07, Alan Orth alan.o...@gmail.com wrote: Hey, all. Our institution has many groups collaborating on one DSpace repository and we have many sets of metadata terms. In the beginning we thought it was clever to add them to input-forms.xml, but now this file is nearly 6,000 lines, which is a pain to manage and causes problems when we rebase on top of new upstream DSpace releases in git. :) I had a look at the controlled vocabulary functionality, which allows you to break out terms to separate XML files, but this has the unfortunate side effect of then storing the values as a hierarchy, for example, Organization A::Subjects::Subject A, as opposed to just Subject A. This breaks basically everything that relies on metadata aggregation or searching (not to mention it is ugly). Is there some way to split up input-forms.xml? What are other DSpace users at large institutions doing? For the record, we're using DSpace 4.3. Thanks, Alan -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Split up input-forms.xml?
Hey Alan, we did split the input forms up into different forms - using quite a variety and both in English and German, the form map etc. Here ist how you can do it input-forms.xml ?xml version=1.0 encoding='iso-8859-1' ? !DOCTYPE input-forms SYSTEM input-forms.dtd [ !ENTITY map SYSTEM path to the form map !ENTITY basic SYSTEM path to the form basic ... ] input-forms map; form-definitions basic; /form-definitions ... /input-forms We are using 4.2. Hope this helps Claudia Jürgen Am 12.03.2015 um 14:07 schrieb Alan Orth: Hey, all. Our institution has many groups collaborating on one DSpace repository and we have many sets of metadata terms. In the beginning we thought it was clever to add them to input-forms.xml, but now this file is nearly 6,000 lines, which is a pain to manage and causes problems when we rebase on top of new upstream DSpace releases in git. :) I had a look at the controlled vocabulary functionality, which allows you to break out terms to separate XML files, but this has the unfortunate side effect of then storing the values as a hierarchy, for example, Organization A::Subjects::Subject A, as opposed to just Subject A. This breaks basically everything that relies on metadata aggregation or searching (not to mention it is ugly). Is there some way to split up input-forms.xml? What are other DSpace users at large institutions doing? For the record, we're using DSpace 4.3. Thanks, Alan -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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] How to embed html in input-forms.xml hint/hint tags
Hello DSpacers, We have an instance of DSpace 3.1 XMLUI. It renders escaped html that is embedded in hint/hint tags of input-forms.xml. We're working with a new instance of 5.1 XMLUI. I've added the same escaped html into hint/hint tags of its new input-forms.xml. It does not render the html. Any insights would be appreciated. I'm happy to provide further context. Cheers, Courtney. Courtney Earl Matthews Digital Repository Librarian University of Waterloo Library (519) 888-4567 ext. 30185 courtney.e.matth...@uwaterloo.camailto:courtney.e.matth...@uwaterloo.ca -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Customizing display of controlled vocabulary terms
Hi there, I'm using Dspace 4.0 and trying to use the controlled vocabulary option as part of the submission process. Right now if you select a term from the controlled vocabulary a term to assign to a submission it shows as this: Research Subject Categories::HUMANITIES and RELIGION (the default controlled vocabs in Dspace) I would like it to just show the last component of the selection (HUMANITIES AND RELIGION), and store that in the metadata, and not the hierarchical part preceding it. Has anyone had any success in editing their controlled vocabularies in this way? Or could someone point me to the place in Dspace where I would be able to customize this? Thank you! Roger Gillis Mount Saint Vincent University -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Customizing display of controlled vocabulary terms
Hi Roger Perhaps this will help: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Controlled_Vocabulary Cheers hg *Hilton Gibson* Ubuntu Linux Systems Administrator JS Gericke Library Room 1025C Stellenbosch University Private Bag X5036 Stellenbosch 7599 South Africa Tel: +27 21 808 4100 | Cell: +27 84 646 4758 On 12 March 2015 at 19:12, Roger Gillis roger.gil...@gmail.com wrote: Hi there, I'm using Dspace 4.0 and trying to use the controlled vocabulary option as part of the submission process. Right now if you select a term from the controlled vocabulary a term to assign to a submission it shows as this: Research Subject Categories::HUMANITIES and RELIGION (the default controlled vocabs in Dspace) I would like it to just show the last component of the selection (HUMANITIES AND RELIGION), and store that in the metadata, and not the hierarchical part preceding it. Has anyone had any success in editing their controlled vocabularies in this way? Or could someone point me to the place in Dspace where I would be able to customize this? Thank you! Roger Gillis Mount Saint Vincent University -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ ___ 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 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] OAI ListRecords fails with until parameter without from parameter
Our instance of DSpace 3.1 seems to have an OAI bug. The following request works fine: https://uwspace.uwaterloo.ca/oai/request?verb=ListRecordsfrom=2000-01-01T01:00:00Zuntil=2015-03-12T17:13:03Zset=col_10012_5254metadataPrefix=oai_dc But the same request without the from parameter, as constructed by our 5.1 instance's ORE client, gives a noRecordsMatch error. https://uwspace.uwaterloo.ca/oai/request?verb=ListRecordsuntil=2015-03-12T17:13:03Zset=col_10012_5254metadataPrefix=oai_dc Has anyone encountered this before? Is there a workaround? BTW, the from without the until works fine, too. Thanks, Chris -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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 - defaults
Hi, On 12/03/15 19:21, Sean Carte wrote: On 12 March 2015 at 01:01, Andrea Schweer schw...@waikato.ac.nz wrote: On 11/03/15 21:09, Sean Carte wrote: I have a follow-up question: I have enabled the 'initial questions' page in item-submission.xml, but we would prefer the checkboxes to be unchecked as it is the exception rather than the norm that we need multiple titles or a previously published date. Is there any way to make this happen? Not easily. However -- are you using JSPUI or XMLUI? In XMLUI, I don't think those questions make much difference at all. I think this is different in JSPUI, but I'm not sure. We're using the XMLUI and the problem is that it adds two additional clicks at the start of almost every submission, as only a small percentage of submissions actually require the previously published date field. I think I worked out the solution: skip the first step and modify the date published field so that it isn't required. That would have been my suggestion, yes :) cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Repeating pairs of metadata fields
Hi Courtney, On 13/03/15 01:06, Courtney Earl Matthews wrote: We’re specifically interested in providing a way for the user to link their item (article) to their externally hosted dataset. I think in the short-term we’ll adopt the fixed list approach using the dc.identifier set-up as our example. For a fixed list of link types, that sounds like the best option to me. Would you share an example of the enhancement requests you mentioned? We’re using XMLUI too. Our group had a brief conversation about storing triples in bitstreams. I'm not sure the details are written down in a way I can easily copypaste, but this came up in the context of thesis submissions. There had been a number of requests from higher degree students to add various types of links to their thesis record -- off the top of my head, this included datasets, source code, geo data, audiovisual content hosted elsewhere, links to the research group's home page, etc. Sometimes there might be multiple links in the same category. This got us thinking that it would be nice to give students more freedom to add URLs to related content (presumably still subject to some sort of auditing/approval process by repository staff). And since there might be multiple links of the same type, in terms of user friendliness it would be good to have some way of distinguishing between them, so that end users know what's what. We never actually got around to working on this. However, I do have a working example of including content from an XML bitstream on the item's page. This is what we do for LERNZdb, a freshwater quality data repository; the item pages embed a Google map with markers for the data collection sites (eg http://lernzdb.its.waikato.ac.nz/handle/123456789/1140) and these coordinates come from an XML bitstream rather than from the item's metadata. (Never mind that we later added the geo coordinates to the item metadata for a different purpose, as you can see on the full item view -- the geo coordinates in the Google map don't know about those metadata values.) There is a complicating factor in our case: the repositories in question don't use the XMLUI submission process for theses, instead the theses are submitted using a standalone PHP application and come in via SWORD. So if we were to implement this, we probably would create the external links XML file in the PHP application. That said, I've written quite a few custom submission steps and I think it'd be pretty easy to write submission step code where the UI component lets users add a number of (type,description,link) triples and the processing component saves these to an XML bitstream and attaches it to the submission. https://wiki.duraspace.org/display/DSDOC5x/Submission+User+Interface#SubmissionUserInterface-CreatingnewSubmissionSteps cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Broken pipe
I would start by checking any maximum file size options in tomcat and/or httpd that might be sitting in front of it. cheers stuart -- I have a new phone number: 04 463 5692 From: Herbert Nguruwe nguru...@cput.ac.za Sent: Thursday, 12 March 2015 6:56 p.m. To: dspace-tech@lists.sourceforge.net Subject: [Dspace-tech] Broken pipe Hi, I am Cape Peninsula University of Technology library systems developer, we recently upgraded our Dspace from 4.2 to 5.0 Since then Tomcat we cannot view/download our documents and the stack trace from tomcat is as follows if they is anyone who can help. Mar 11, 2015 11:46:38 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [bitstream] in context with path [/jspui] threw exception [org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe] with root cause java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:499) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:342) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:432) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:420) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126) at org.dspace.core.Utils.copy(Utils.java:238) at org.dspace.core.Utils.bufferedCopy(Utils.java:264) at org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:224) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at
[Dspace-tech] Viewing bitstreams in submissions only works for admin users
Hello All, We recently moved to DSpace 5 and we are noticing some odd behavior with submissions. It seems like only locally created Admin accounts can view bitstreams of submissions regardless of what permissions non-admin accounts have. For example: - A submission comes in to a collection. That collection has 'Accept/Reject Edit Metadata' set to 'Group A' - 'Group A' has two members in it: o The on the box admin created account (done via /bin/dspace user add) that is the uber admin essentially of the site o A second account that was automatically generated from an LDAP login, it has no further admin rights - If the second accounts 'accepts' the task in that collection and then it can view/edit accept/reject as appropriate but when you click on the PDF submission directly the system just seems to hang, no PDF is presented - The admin account can view/edit accept/reject but when you click on the PDF it loads as expected. Any ideas what might be the cause? (If it helps we started with a 1.8 box before doing the upgrade, everything else seems to work as expected) Thanks, Tim == Tim Ribaric Acting Head, Library Systems Technologies Digital Services Librarian Computer Science Philosophy Liaison Librarian @elibtronic -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Split up input-forms.xml?
Hey, all. Our institution has many groups collaborating on one DSpace repository and we have many sets of metadata terms. In the beginning we thought it was clever to add them to input-forms.xml, but now this file is nearly 6,000 lines, which is a pain to manage and causes problems when we rebase on top of new upstream DSpace releases in git. :) I had a look at the controlled vocabulary functionality, which allows you to break out terms to separate XML files, but this has the unfortunate side effect of then storing the values as a hierarchy, for example, Organization A::Subjects::Subject A, as opposed to just Subject A. This breaks basically everything that relies on metadata aggregation or searching (not to mention it is ugly). Is there some way to split up input-forms.xml? What are other DSpace users at large institutions doing? For the record, we're using DSpace 4.3. Thanks, Alan -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Repeating pairs of metadata fields
Hi Andrea, thanks for your response. We're specifically interested in providing a way for the user to link their item (article) to their externally hosted dataset. I think in the short-term we'll adopt the fixed list approach using the dc.identifier set-up as our example. Would you share an example of the enhancement requests you mentioned? We're using XMLUI too. Our group had a brief conversation about storing triples in bitstreams. Cheers, Courtney. From: Andrea Schweer [mailto:schw...@waikato.ac.nz] Sent: Monday, March 09, 2015 4:57 PM To: Courtney Earl Matthews; dspace-tech@lists.sourceforge.net Subject: Re: [Dspace-tech] Repeating pairs of metadata fields Hi Courtney, On 10/03/15 07:57, Courtney Earl Matthews wrote: Does anyone have experience creating pairs of repeatable metadata fields within the input-forms.xml? Alternatives? I would like to enable the user to enter the name of a related resource paired with its URI (dc.relation, dc.relation.uri) and then repeat as needed. The DSpace metadata model doesn't let you associate split metadata like that. If the names of your related resources are a fixed list (eg Source Code, Dataset) then you could create custom metadata fields, eg uw.relation.sourcecode uw.relation.dataset ... and set this up in input-forms the same way as dc.identifier is currently set up in the stock DSpace input forms: https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/input-forms.xml#L120 and with the list of possible names set up as value pairs: https://github.com/DSpace/DSpace/blob/dspace-5.1/dspace/config/input-forms.xml#L236 If you want users to enter a free-text description of the related resource, it gets much trickier. This is actually on a list of enhancement requests for some of my repositories; the request there was for triples (type of link from set of fixed options, optional free-text description, URL). I've been thinking of writing a custom submission step that stores these triples in an XML bitstream attached to the item; since we're using XMLUI, we can then read in that bitstream from the XSL that generates the item page and add the links to the page together with their description and type. You could cheat and as your users to enter them as eg name|link and then process that as required in your theme code -- it's a bit of an ugly hack but depending on whether you do self-submission or mediated submission, it could work? cheers, Andrea -- Dr Andrea Schweer IRR Technical Specialist, ITS Information Systems The University of Waikato, Hamilton, New Zealand -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Broken pipe
Hi, I am Cape Peninsula University of Technology library systems developer, we recently upgraded our Dspace from 4.2 to 5.0 Since then Tomcat we cannot view/download our documents and the stack trace from tomcat is as follows if they is anyone who can help. Mar 11, 2015 11:46:38 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [bitstream] in context with path [/jspui] threw exception [org.apache.catalina.connector.ClientAbortException: java.net.SocketException: Broken pipe] with root cause java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:109) at java.net.SocketOutputStream.write(SocketOutputStream.java:153) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputBuffer.java:215) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:480) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:366) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWrite(InternalOutputBuffer.java:240) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:84) at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:192) at org.apache.coyote.Response.doWrite(Response.java:499) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:402) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:342) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:432) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:420) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.java:91) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:126) at org.dspace.core.Utils.copy(Utils.java:238) at org.dspace.core.Utils.bufferedCopy(Utils.java:264) at org.dspace.app.webui.servlet.BitstreamServlet.doDSGet(BitstreamServlet.java:224) at org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:119) at org.dspace.app.webui.servlet.DSpaceServlet.doGet(DSpaceServlet.java:67) at javax.servlet.http.HttpServlet.service(HttpServlet.java:620) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:314) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:722) Kind Regards --- Herbert K. Nguruwe eResearch Systems Developer CPUT Libraries Cape Peninsula University of Technology Cape Town, South Africa e-mail: nguru...@cput.ac.zamailto:nguru...@cput.ac.za Tel: +27219538467 [cid:image001.png@01CFFF1C.7FDEAAA0]
Re: [Dspace-tech] Item Submission - defaults
On 12 March 2015 at 01:01, Andrea Schweer schw...@waikato.ac.nz wrote: On 11/03/15 21:09, Sean Carte wrote: I have a follow-up question: I have enabled the 'initial questions' page in item-submission.xml, but we would prefer the checkboxes to be unchecked as it is the exception rather than the norm that we need multiple titles or a previously published date. Is there any way to make this happen? Not easily. However -- are you using JSPUI or XMLUI? In XMLUI, I don't think those questions make much difference at all. I think this is different in JSPUI, but I'm not sure. Hi Andrea We're using the XMLUI and the problem is that it adds two additional clicks at the start of almost every submission, as only a small percentage of submissions actually require the previously published date field. I think I worked out the solution: skip the first step and modify the date published field so that it isn't required. Thanks for the comments. Sean -- -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] Cant access some archived file without login
Your assistance is greatly required, most file that have been archived in our Dspace repository when trying to access these files you will be asked to login before you can view the file. Users who are not registered on our repository should be able to have access to files without registering or logging in. How do i resolve this? Thank you for your usual support. Martyns -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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] CAS with dspace 5
I am trying to add CAS authentication to dspace 5 (JSPUI) I added +dependency + groupIdcas/groupId + artifactIdcasclient/artifactId + version2.1.1/version + /dependency which according to http://search.maven.org/#artifactdetails|cas|casclient|2.1.1|jarhttp://search.maven.org/#artifactdetails%7Ccas%7Ccasclient%7C2.1.1%7Cjar is the latest version The pom there says that casclient has dependency groupIdservletapihttp://search.maven.org/#/groupId artifactIdservletapihttp://search.maven.org/#/artifactId version2.3/version /dependency Looking at the tomcat which versionhttp://tomcat.apache.org/whichversion.html page I gather that I am stuck with tomcat5. Am I right about that ? Is there another CAS integration ? Monika Monika Mevenkamp phone: 609-258-4161 Lewis Library,Washington Road and Ivy Lane, Princeton University, Princeton, NJ 08544 -- Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/___ 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