Hi,

The maximum upload size for DSpace is controlled in dspace.cfg by

# Maximum size of uploaded files in bytes, negative setting will result in no 
limit being set
# 512Mb
upload.max = 536870912

I hope this helps,
Gabriela

-----Original Message-----
From: Jewel [mailto:[email protected]] 
Sent: Friday, May 15, 2009 1:34 PM
To: [email protected] Tech
Subject: [Dspace-tech] Increase Upload Size

We have an item we would like to include in Dspace but the file size is 
1GB. I had read that 2GB should work via the web but it's not. The 
server send me the following error. Where do I go to increase this amount?

Exception:
java.io.IOException: the request was rejected because its size 
(868680562) exceeds the configured maximum (536870912)
    at 
org.dspace.app.webui.util.FileUploadRequest.<init>(FileUploadRequest.java:139) 

    at 
org.dspace.app.webui.servlet.SubmissionController.wrapMultipartRequest(SubmissionController.java:1277)
 

    at 
org.dspace.app.webui.servlet.SubmissionController.doDSPost(SubmissionController.java:257)
 

    at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
 

    at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 

    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 

    at 
org.dspace.app.webui.filter.RegisteredOnlyFilter.doFilter(RegisteredOnlyFilter.java:98)
 

    at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 

    at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 

    at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 

    at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
 

    at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) 

    at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) 

    at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 

    at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
 

    at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Unknown Source)
Caused by: 
org.apache.commons.fileupload.FileUploadBase$SizeLimitExceededException: 
the request was rejected because its size (868680562) exceeds the 
configured maximum (536870912)
    at 
org.apache.commons.fileupload.FileUploadBase$FileItemIteratorImpl.<init>(FileUploadBase.java:914)
 

    at 
org.apache.commons.fileupload.FileUploadBase.getItemIterator(FileUploadBase.java:331)
 

    at 
org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:349)
 

    at 
org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:126)
 

    at 
org.dspace.app.webui.util.FileUploadRequest.<init>(FileUploadRequest.java:113) 

    ... 21 more

-- 
J


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to