Hi Bart,

Did you check the variable max_allowed_packet under [mysqld] in your
mysql configuration file? This should be at least 5 MB.

Kind regards, Henk.

T. +31-(0)6-29054903
E. [EMAIL PROTECTED]
I. http://www.mmatch.nl

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, November 18, 2003 12:19 AM
> To: [EMAIL PROTECTED]
> Subject: large file uploads
> 
> 
> Hi,
> 
> I am trying to upload large (between 1 and 5 MB) files to the 
> attachment object in the editwizard, but I get a runtime 
> error (included at bottom). Everything works fine for files < 1MB.
> 
> I'm using Tomcat 4.1, Mysql 4.0. I tried to raise the 
> max_allowed_packet var in mysql, but this didn't solve it. Is 
> there a file size limit in Dove?
> 
> In the logging I find:
> 2003-11-17 23:59:39,950 ERROR 
> mmbase.storage.database.AbstractDatabaseStorage  - 
> Communication link failure: com.mysql.jdbc.PacketTooBigException
> 
> 
> I also get the error while using the generic editors. Then I 
> find in the logging:
> 
> 2003-11-18 00:10:08,654 ERROR org.mmbase.util.HttpPost  - 
> readContentLength(): java.io.FileNotFoundException: 
> \tmp\form_1069110608654 (The system cannot find the path specified)
> 2003-11-18 00:10:08,654 INFO  org.mmbase.util.HttpPost  - 
> readPostFormData(): begin
> 2003-11-18 00:10:08,654 ERROR org.mmbase.util.HttpPost  - 
> readPostFormData(): Reached end of file: 
> java.lang.NullPointerException
> 
> Anyone has a clue what might be wrong? 
> 
> Thanks a lot,
> 
> Bart
> 


Reply via email to