[dspace-tech] Problem with Uploading files in Dspace 6.3
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) at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561) at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:117) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:56) at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:137) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:565) at org.glassfish.grizzly.threadpool.AbstractThreadPool$Worker.run(AbstractThreadPool.java:545) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute with name file-upload-listner at org.apache.catalina.session.ManagerBase.checkSessionAttribute(ManagerBase.java:835) at org.apache.catalina.session.Standa
[dspace-tech] Re: Problem with Uploading files in Dspace 6.3
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) > at > org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:77) > at > org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:561) > at > org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112) > at > org.glas
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.catal