Homepage | Products | OX Knowledge Base | Support | Try Now | Contact | Company
OX Logo
Results 1 to 3 of 3
  1. #1

    Default Request rejected because its size exceeds the maximum configured size of 100.0 MB

    Hi there,

    when I upload a file (3 GB) I get an error saying that the "size exceeds the maximum configured size of 100.0 MB".

    I have already adjusted the MAX_UPLOAS_SIZE in the following files:
    • server.properties
    • infostore.properties
    • attachment.properties



    Code:
    com.openexchange.groupware.upload.impl.UploadException: UPL-0005 Categories=USER_INPUT Message='Request rejected because its size exceeds the maximum configured size of
     100.0 MB' exceptionID=891172064-12
    java.io.IOException: Max. byte count of 104857600 exceeded.
            at com.openexchange.tools.stream.CountingInputStream.read(CountingInputStream.java:133)
            at com.openexchange.tools.servlet.DelegateServletInputStream.read(DelegateServletInputStream.java:97)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.makeAvailable(MultipartStream.java:999)
            at org.apache.commons.fileupload.MultipartStream$ItemInputStream.read(MultipartStream.java:903)
            at java.io.InputStream.read(InputStream.java:101)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:100)
            at org.apache.commons.fileupload.util.Streams.copy(Streams.java:70)
            at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:347)
            at com.openexchange.ajax.AJAXServlet.processUploadStatic(AJAXServlet.java:1042)
            at com.openexchange.ajax.requesthandler.AJAXRequestData.processUpload(AJAXRequestData.java:1114)
            at com.openexchange.ajax.requesthandler.AJAXRequestData.hasUploads(AJAXRequestData.java:1074)
            at com.openexchange.file.storage.json.actions.files.AJAXInfostoreRequest.requireBody(AJAXInfostoreRequest.java:476)
            at com.openexchange.file.storage.json.actions.files.AJAXInfostoreRequest.requireFileMetadata(AJAXInfostoreRequest.java:484)
            at com.openexchange.file.storage.json.actions.files.NewAction.handle(NewAction.java:84)
            at com.openexchange.file.storage.json.actions.files.AbstractFileAction.perform(AbstractFileAction.java:181)
            at com.openexchange.ajax.requesthandler.DefaultDispatcher.perform(DefaultDispatcher.java:214)
            at com.openexchange.ajax.requesthandler.DispatcherServlet.handle(DispatcherServlet.java:388)
            at com.openexchange.ajax.requesthandler.DispatcherServlet.doPost(DispatcherServlet.java:313)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at com.openexchange.ajax.AJAXServlet.service(AJAXServlet.java:526)
            at com.openexchange.ajax.SessionServlet.service(SessionServlet.java:364)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:408)
            at com.openexchange.http.grizzly.servletfilter.RequestReportingFilter.doFilter(RequestReportingFilter.java:120)
            at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:398)
            at com.openexchange.http.grizzly.servletfilter.WrappingFilter.doFilter(WrappingFilter.java:209)
            at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:398)
            at com.openexchange.http.grizzly.service.http.OSGiAuthFilter.doFilter(OSGiAuthFilter.java:140)
            at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.doFilter(OSGiServletHandler.java:398)
            at com.openexchange.http.grizzly.service.http.OSGiServletHandler$FilterChainImpl.invokeFilterChain(OSGiServletHandler.java:376)
            at org.glassfish.grizzly.servlet.ServletHandler.doServletService(ServletHandler.java:252)
            at org.glassfish.grizzly.servlet.ServletHandler.service(ServletHandler.java:194)
            at com.openexchange.http.grizzly.service.http.OSGiMainHandler.service(OSGiMainHandler.java:189)
            at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
            at org.glassfish.grizzly.http.server.HttpHandlerChain.service(HttpHandlerChain.java:196)
            at org.glassfish.grizzly.http.server.HttpHandler.doHandle(HttpHandler.java:164)
            at org.glassfish.grizzly.http.server.OXHttpServerFilter.handleRead(OXHttpServerFilter.java:351)
            at org.glassfish.grizzly.filterchain.ExecutorResolver$9.execute(ExecutorResolver.java:119)
            at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeFilter(DefaultFilterChain.java:265)
            at org.glassfish.grizzly.filterchain.DefaultFilterChain.executeChainPart(DefaultFilterChain.java:200)
            at org.glassfish.grizzly.filterchain.DefaultFilterChain.execute(DefaultFilterChain.java:134)
            at org.glassfish.grizzly.filterchain.DefaultFilterChain.process(DefaultFilterChain.java:112)
            at org.glassfish.grizzly.ProcessorExecutor.execute(ProcessorExecutor.java:78)
            at org.glassfish.grizzly.nio.transport.TCPNIOTransport.fireIOEvent(TCPNIOTransport.java:770)
            at org.glassfish.grizzly.strategies.AbstractIOStrategy.fireIOEvent(AbstractIOStrategy.java:112)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.run0(WorkerThreadIOStrategy.java:115)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy.access$100(WorkerThreadIOStrategy.java:55)
            at org.glassfish.grizzly.strategies.WorkerThreadIOStrategy$WorkerThreadRunnable.run(WorkerThreadIOStrategy.java:135)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$MDCProvidingRunnable.run(CustomThreadPoolExecutor.java:2500)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.runTask(CustomThreadPoolExecutor.java:817)
            at com.openexchange.threadpool.internal.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:844)
            at java.lang.Thread.run(Thread.java:745)
    Where does the restriction of 100 mb come from?

    Thanks in advance!

  2. #2
    Join Date
    Sep 2007
    Location
    Germany
    Posts
    494

    Default

    Please check com.openexchange.servlet.maxBodySize in server.properties.
    This maxBodySize is the max http PUT request size.

  3. #3

    Default

    Quote Originally Posted by Wolfgang Rosenauer View Post
    Please check com.openexchange.servlet.maxBodySize in server.properties.
    This maxBodySize is the max http PUT request size.
    Thanks a lot. Thats it!

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •