Dear Bolette,

*"My question is should I simply accept the 2GB limit (I can still upload
larger files from command line) or is there a setting that I am missing?"*

1. You shouldn't accept the 2GB limit. There are many installations around
where files larger than 2GB have been successfully uploaded. The reason why
this problem is not trivial, is that the actual cause could be in many
different places: DSpace application code (java), Operating system, Tomcat
configuration, ...
2. Based on what you posted, I don't think you're missing a setting, but
then again, I'm not super familiar with today's JSPUI.

Especially the 2GB challenges did ring a bell for me, as we had a big quest
to tackle this for XMLUI:
https://jira.lyrasis.org/browse/DS-2359

So maybe, as a first test: spin up XMLUI, try it there, and see if you can
get it to work. That way, you can confirm or eliminate the UI part as the
potential cause.

Hope this helps !!!

Bram

[image: logo] Bram Luyten
250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586
Gaston Geenslaan 14, 3001 Leuven, Belgium
atmire.com
<http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=braml>


On Wed, 26 Feb 2020 at 09:12, Bolette A. Jurik <b...@kb.dk> wrote:

> Hello everyone,
>
> I am currently setting up the jspui for our dspace 6.3 installation, and
> when testing I seem to run into a 2GB upper limit on the file size in the
> upload step.
>
> I have set
> upload.max = -1
>
> I get "Internal System Error" on the jspui and i need to reset the Tomcat.
>
> I have attached the log. I think the important part is this:
>
> 2020-02-24 10:24:24,337 ERROR
> org.dspace.app.webui.servlet.SubmissionController @ Error loading step
> class'org.dspace.submit.step.UploadWithEmbargoStep':
> javax.servlet.ServletException: org.apache.jasper.JasperException: An
> exception occurred processing JSP page /submit/upload-file-list.jsp at line
> 147
>
> 144:     List<Bitstream> bitstreams =
> ContentServiceFactory.getInstance().getItemService().getNonInternalBitstreams(context,
> subInfo.getSubmissionItem().getItem());
> 145:     List<Bundle> bundles = null;
> 146:
> 147:     if (bitstreams.get(0) != null) {
> 148:         bundles = bitstreams.get(0).getBundles();
> 149:     }
> 150:
>
>
> Stacktrace:
>     at org.dspace.app.webui.util.JSPManager.showJSP(JSPManager.java:71)
>     at
> org.dspace.app.webui.submit.JSPStepManager.showJSP(JSPStepManager.java:370)
>     at
> org.dspace.app.webui.submit.step.JSPUploadStep.showUploadFileList(JSPUploadStep.java:580)
>     at
> org.dspace.app.webui.submit.step.JSPUploadStep.showUploadPage(JSPUploadStep.java:498)
>     at
> org.dspace.app.webui.submit.step.JSPUploadWithEmbargoStep.doPostProcessing(JSPUploadWithEmbargoStep.java:391)
>     at
> org.dspace.app.webui.submit.JSPStepManager.doStepEnd(JSPStepManager.java:407)
>     at
> org.dspace.app.webui.submit.JSPStepManager.processStep(JSPStepManager.java:250)
>     at
> org.dspace.app.webui.servlet.SubmissionController.doStep(SubmissionController.java:505)
>     at
> org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:443)
>     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:648)
>     at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:292)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>     at
> org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>     at
> org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:66)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>     at
> org.dspace.utils.servlet.DSpaceWebappServletFilter.doFilter(DSpaceWebappServletFilter.java:78)
>     at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240)
>     at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207)
>     at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212)
>     at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
>     at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
>     at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)
>     at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
>     at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
>     at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:509)
>     at
> org.apache.coyote.ajp.AbstractAjpProcessor.process(AbstractAjpProcessor.java:877)
>     at
> org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:684)
>     at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1520)
>     at
> org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1476)
>     at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
>     at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
>     at
> org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
>     at java.lang.Thread.run(Thread.java:748)
>
> My question is should I simply accept the 2GB limit (I can still upload
> larger files from command line) or is there a setting that I am missing?
> Hope you can help.
>
> Best regards
> Bolette Jurik
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/dspace-tech/89a3751f-5e0a-4555-b89f-37112c289764%40googlegroups.com
> <https://groups.google.com/d/msgid/dspace-tech/89a3751f-5e0a-4555-b89f-37112c289764%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/dspace-tech/CACwo3X0jg8%3DFV7apzoeX-WeyQcCcGkwMR25u71yTjNfweei4YQ%40mail.gmail.com.

Reply via email to