« Return to Thread: RE: daisy Digest, Vol 57, Issue 10 - uploading large attachments

RE: daisy Digest, Vol 57, Issue 10 - uploading large attachments

by steven.lungren :: Rate this Message:

Reply to Author | View in Thread

Our web.xml includes the parameter setting to allow 1000MB file uploads, but we still get the same error message "...Only 97656 kbytes are allowed."

Here are the lines from web.xml:
    <init-param>
      <param-name>upload-max-size</param-name>
      <param-value>1024000</param-value>
    </init-param>

In myconfig.xml, we have this:

  <target path="/daisy/repository/httpconnector">
    <configuration>        
      <upload>
         <!-- threshold beyond which files are directly written to disk (in bytes) -->
         <threshold>50000</threshold>
         <!-- Maximum upload size (in bytes), -1 for no maximum -->
           <maxsize>-1</maxsize>
         <!-- Location for temporary upload files, default java.io.tmpdir -->
         <!-- tempdir></tempdir -->
       </upload>
    </configuration>
  </target>


Should I find java.io.tmpdir somewhere on our Daisy server?

Does the uploaded file go directly to the repository? Is there something in MySQL that would restrict file upload size? Is there something that needs to be reset, or cache cleared, in order for large attachments to be allowed?


Thanks,
Steve
------------------------------

Message: 2
Date: Mon, 15 Jun 2009 10:05:35 +0200
From: Karel Vervaeke <karel@...>
Subject: Re: [daisy] uploading large attachments
To: "Daisy: open source CMS - general mailinglist"
        <daisy@...>
Message-ID:
        <9a99f5510906150105n3b590a6bxeb1b55136dc57d4b@...>
Content-Type: text/plain; charset=windows-1252

Double-check web.xml.  It looks like you have set upload-max-size to
100 MB instead of 1000 MB.

Regards,
Karel

On Fri, Jun 12, 2009 at 8:30 PM, <steven.lungren@...> wrote:

> We're having trouble uploading large attachments to Daisy.
>
> After increasing file upload limits in web.xml (to 1000MB) and myconfig.xml
> (to -1 for unlimited), according to the documented instructions
> (http://daisycms.org/daisydocs-2_1/admin/217-cd.html), we cannot upload a
> 200+MB file using an Attachment document type.
>
> This message appears after unsuccessful upload, on the Attachment data  tab
> | Upload data field:
>
> "Upload size too large (283152 kbytes). Only 97656 kbytes are allowed."
>
> We're using Daisy 2.1 (with Tomcat) on a Microsoft XP server (and there is
> plenty of available space on the server).
>
> We'd appreciate any suggestions for overcoming this problem.
>
> Thanks,
> Steve
> _______________________________________________
> daisy community mailing list
> Professional Daisy support:
> http://outerthought.org/en/services/daisy/support.html
> mail to: daisy@...
> list information: http://lists.cocoondev.org/mailman/listinfo/daisy

_______________________________________________
daisy community mailing list
Professional Daisy support: http://outerthought.org/en/services/daisy/support.html
mail to: daisy@...
list information: http://lists.cocoondev.org/mailman/listinfo/daisy

 « Return to Thread: RE: daisy Digest, Vol 57, Issue 10 - uploading large attachments