Re: [dspace-tech] Re: Problem with Uploading files in Dspace 6.3
Thanks for the reply, I'd already noticed that but hadn't change the code. I'll be doing that and tell you the result. Thinking about the possibility that can be a bug in the latest version, I installed Dspace version 6.2 and had the same results. Also I'd test with Apache Tomcat and Glassfish with no positive results. So it can be a bug not resolved from other versions ago. Taking in consideration this issue affects such an important functionality, I'd appreciate if somebody who uses JSPUI can tell me if the file upload is working for you. Best regards. El miércoles, 29 de agosto de 2018, 7:16:10 (UTC-6), Alan Orth escribió: > > Hello, > > Sorry, I don't know. We only use XMLUI for submission. But anyways, I > notice that there's a typo in your log file: > > ip_addr=10.202.46.20:general_jspui_error:javax.servlet.ServletException\colon; > > java.lang.IllegalArgumentException\colon; setAttribute\colon; > Non-serializable attribute with name file-upload-listner > > At least, that's not how you spell "listener" in English. I wonder if > there is some syntax error caused by a spelling mistake in the JSPUI code? > > Regards, > > On Thu, Aug 23, 2018 at 7:53 PM Franklin Rodríguez Vargas < > fran...@gmail.com > wrote: > >> This is the form where I'm submitting the file, when I click next shows >> an "Internal Server" error page and the dump is copied in the log of the >> application server. >> >> In the past, we had an installation of Dspace 5.x and never had this >> problem before. >> >> Any help would be appreciated. >> >> >> >> >> >> El martes, 21 de agosto de 2018, 16:16:38 (UTC-6), Franklin Rodríguez >> Vargas escribió: >>> >>> Have anybody have problems uploading files in Dspace 6.3 using JSPUI? >>> >>> I'm in trouble uploading files either with simple or HTML5 interface, >>> this is the stacktrace: >>> >>> 2018-08-21 15:14:52,186 WARN org.dspace.app.webui.servlet.DSpaceServlet >>> @ >>> em...@domain.com:session_id=e54362ea5fb6906f54e0cd34798c:ip_addr=10.202.46.20:general_jspui_error:javax.servlet.ServletException\colon; >>> >>> java.lang.IllegalArgumentException\colon; setAttribute\colon; >>> Non-serializable attribute with name file-upload-listner >>> javax.servlet.ServletException: java.lang.IllegalArgumentException: >>> setAttribute: Non-serializable attribute with name file-upload-listner >>> at >>> org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1513) >>> at >>> org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:265) >>> at >>> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:122) >>> at >>> org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:80) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) >>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) >>> at >>> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) >>> at >>> org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) >>> at >>> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) >>> at >>> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) >>> at >>> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316) >>> at >>> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) >>> at >>> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) >>> at >>> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673) >>> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) >>> at >>> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415) >>> at >>> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282) >>> at >>> com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) >>> at >>> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) >>> at >>>
[dspace-tech] After update from version 6.2 to 6.3 the item list in JSP UI is not showing the thumbnails
Hello, After update from version 6.2 to 6.3 the item list in JSP UI is not showing the thumbnails generated using Imagemagick. Basically i keep the same thumbnails configuration in dspace.cfg and local.cfg. Somebody had the same problem or know how to fix this, please? Thank you. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
Re: [dspace-tech] Re: Problem with Uploading files in Dspace 6.3
Hello, Sorry, I don't know. We only use XMLUI for submission. But anyways, I notice that there's a typo in your log file: ip_addr=10.202.46.20:general_jspui_error:javax.servlet.ServletException\colon; java.lang.IllegalArgumentException\colon; setAttribute\colon; Non-serializable attribute with name file-upload-listner At least, that's not how you spell "listener" in English. I wonder if there is some syntax error caused by a spelling mistake in the JSPUI code? Regards, On Thu, Aug 23, 2018 at 7:53 PM Franklin Rodríguez Vargas < frankr...@gmail.com> wrote: > This is the form where I'm submitting the file, when I click next shows an > "Internal Server" error page and the dump is copied in the log of the > application server. > > In the past, we had an installation of Dspace 5.x and never had this > problem before. > > Any help would be appreciated. > > > > > > El martes, 21 de agosto de 2018, 16:16:38 (UTC-6), Franklin Rodríguez > Vargas escribió: >> >> Have anybody have problems uploading files in Dspace 6.3 using JSPUI? >> >> I'm in trouble uploading files either with simple or HTML5 interface, >> this is the stacktrace: >> >> 2018-08-21 15:14:52,186 WARN org.dspace.app.webui.servlet.DSpaceServlet >> @ em...@domain.com: >> session_id=e54362ea5fb6906f54e0cd34798c:ip_addr=10.202.46.20:general_jspui_error:javax.servlet.ServletException\colon; >> java.lang.IllegalArgumentException\colon; setAttribute\colon; >> Non-serializable attribute with name file-upload-listner >> javax.servlet.ServletException: java.lang.IllegalArgumentException: >> setAttribute: Non-serializable attribute with name file-upload-listner >> at >> org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1513) >> at >> org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:265) >> at >> org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:122) >> at >> org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:80) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) >> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) >> at >> org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1682) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:344) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) >> at >> org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) >> at >> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78) >> at >> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:256) >> at >> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214) >> at >> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:316) >> at >> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:160) >> at >> org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:734) >> at >> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:673) >> at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:99) >> at >> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:174) >> at >> org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:415) >> at >> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:282) >> at >> com.sun.enterprise.v3.services.impl.ContainerMapper$HttpHandlerCallable.call(ContainerMapper.java:459) >> at >> com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:167) >> at >> org.glassfish.grizzly.http.server.HttpHandler.runService(HttpHandler.java:201) >> at >> org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:175) >> at >> org.glassfish.grizzly.http.server.HttpServerFilter.handleRead(HttpServerFilter.java:235) >> at >> org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119) >> at >> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:284) >> at >> org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:201) >> at >> org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:133) >> at >> org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
Re: [dspace-tech] DSpace REST API - /items/find-by-metadata-field
Hello, Filippo. You need to POST a MetadataEntry object with the request[0]. For example, in DSpace 5.x this works: $ curl -s -H "accept: application/json" -H "Content-Type: application/json" -X POST "http://server16.iss.it:8080/rest/items/find-by-metadata-field; -d '{"key": "dc.contributor.author","value": "Petrini"}' Note that the API only returns exact text matches (no wildcard), and you will probably need to specify the language to actually match anything as well: $ curl -s -H "accept: application/json" -H "Content-Type: application/json" -X POST "http://server16.iss.it:8080/rest/items/find-by-metadata-field; -d '{"key": "dc.contributor.author","value": "Petrini","language": "en_US"}' The language can also be a literal null (without quotes). It all depends on how your metadata is entered into the database. [0] https://wiki.duraspace.org/display/DSDOC5x/REST+API Cheers, On Tue, Aug 28, 2018 at 4:14 PM Filippo Santoro wrote: > Dear all, > I'm using the DSpace REST APIs for an external application. I have some > difficult to use the end point /items/find-by-metadata-field to search an > item based on a particular metadata. > In fact, using Postman with the following request: > > > http://server16.iss.it:8080/rest/items/find-by-metadata-field?key=dc.contributor.author=Petrini > > I get an HTTP500 error (internal server error). What is the right syntax > for using it? > > Thanks in advance > > Filippo > > -- > All messages to this mailing list should adhere to the DuraSpace Code of > Conduct: https://duraspace.org/about/policies/code-of-conduct/ > --- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dspace-tech+unsubscr...@googlegroups.com. > To post to this group, send email to dspace-tech@googlegroups.com. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- Alan Orth alan.o...@gmail.com https://picturingjordan.com https://englishbulgaria.net https://mjanja.ch "In heaven all the interesting people are missing." ―Friedrich Nietzsche -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
Re: [dspace-tech] DSpace import batch files
Hello, the options to ingest content are explained here: https://wiki.duraspace.org/display/DSDOC6x/Ingesting+Content+and+Metadata Hope this helps Claudia Jürgen Am 29.08.2018 um 06:27 schrieb Dr. A Madhava Rao: Dear Sir, We are using Dspace on Windows version. We need to import the content and upload the batch files. Requesting you to provide us the procedure. Regards Madhav -- Claudia Juergen Eldorado Technische Universität Dortmund Universitätsbibliothek Vogelpothsweg 76 44227 Dortmund Tel.: +49 231-755 40 43 Fax: +49 231-755 40 32 claudia.juer...@tu-dortmund.de www.ub.tu-dortmund.de Wichtiger Hinweis: Die Information in dieser E-Mail ist vertraulich. Sie ist ausschließlich für den Adressaten bestimmt. Sollten Sie nicht der für diese E-Mail bestimmte Adressat sein, unterrichten Sie bitte den Absender und vernichten Sie diese Mail. Vielen Dank. Unbeschadet der Korrespondenz per E-Mail, sind unsere Erklärungen ausschließlich final rechtsverbindlich, wenn sie in herkömmlicher Schriftform (mit eigenhändiger Unterschrift) oder durch Übermittlung eines solchen Schriftstücks per Telefax erfolgen. Important note: The information included in this e-mail is confidential. It is solely intended for the recipient. If you are not the intended recipient of this e-mail please contact the sender and delete this message. Thank you. Without prejudice of e-mail correspondence, our statements are only legally binding when they are made in the conventional written form (with personal signature) or when such documents are sent by fax. -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
[dspace-tech] Re: DSpace import batch files
Hi a good article about the different options for importing items to DSpace can be found here: https://duraspace.org/migrating-to-dspace/ Am Mittwoch, 29. August 2018 06:27:16 UTC+2 schrieb Dr. A Madhava Rao: > > Dear Sir, > > We are using Dspace on Windows version. We need to import the content and > upload the batch files. Requesting you to provide us the procedure. > > Regards > Madhav > -- All messages to this mailing list should adhere to the DuraSpace Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/ --- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to dspace-tech+unsubscr...@googlegroups.com. To post to this group, send email to dspace-tech@googlegroups.com. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.