[opencms-dev] Large files upload fails

Shi Yusen shiys at langhua.cn
Thu Jun 25 15:06:24 CEST 2009


Perhaps you should use 
max_allowed_packet
rather than
max_upload_packet

BTW, I just heard the first ice breaker of China will be designed by
Norway, is this a business of your institute?

Regards,

Shi Yusen/Beijing Langhua Ltd.

在 2009-06-24三的 17:24 +0200,Paul-Inge Flakstad写道:
> Hi all
>  
> I'm pretty sure this question is asked on a regular basis in here, and
> my apologies for asking it again. I just couldn't find any solution.
>  
> OpenCms misbehaves when I try to upload large files. One of two
> scenarios occur: either 1.) The upload applet closes and no file
> is visible in the workplace, or 2.) The upload applet closes and the
> file is visible in the workplace, but a
> CmsVfsResourceNotFoundException is thrown when I try to view the
> file. 
>  
> No exception is thrown during the applet upload. If I disable "Use
> upload applet", a CmsVfsResourceNotFoundException is thrown.
>  
> Now, I've set/checked some values to try and fix the problem:
>  
> 1.) In my.cnf: max_upload_packet=64M
> 2.) In opencms-workplace.xml:
> <maxfileuploadsize>-1</maxfileuploadsize>
> 3.) In catalina.bat: CATALINA_OPTS="-Xmx256m -Xms8m"
>  
> After changing to this, an upload of a 2.7MB .pdf file worked (which
> didn't work prior to the change), but I still can't upload a
> 16.0MB .pdf file... Is there anything else I need to check?
>  
> Any solution, tip or idea is most welcome.
>  
> Cheers,
> Paul
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev




More information about the opencms-dev mailing list