[opencms-dev] file upload fails in 5rc2: max_allowed_packet

Sven Dittmar dittmar at rus.uni-stuttgart.de
Mon Feb 10 15:31:25 CET 2003


Hi there,

one of our users tried to upload a 800kb PDF and got this error message:

com.opencms.core.CMSException: 0 Unknown exception.
java.lang.IllegalAArguentmException: Paket is larger than 
max_allowed_packet from server configuration of 1047552 bytes.

ErrorLog of OC says:

[10.02.2003 15:24:36] <opencms_critical> [CmsElementXml 
(CmsNewResourceUpload/explorer_files_new_upload)] Non OpenCms error 
occured in getContent for template class 
com.opencms.workplace.CmsNewResourceUpload

We run jakarta-tomcat-4.1.12 on a linux-box and I searched all logfiles 
and all other files including the source of 5rc2 for the string 
"max_allowed_packet" but with out success (find . -type f -exec grep -i 
max_allowed {} \;).

Has anyone else discovered such a problem?

Best Regards,
-- 
Sven Dittmar, RUS Infodienste ------ mailto:dittmar at rus.uni-stuttgart.de
Computing Center University of Stuttgart (RUS)   phone: +49.711.685.5990
Allmandring 30, D-70550 Stuttgart, Germany       fax:   +49.711.678.7626
--------------------------------------- http://www.rus.uni-stuttgart.de/




More information about the opencms-dev mailing list