[opencms-dev] File too large for opencms

Kelvin kelvin.ang at resonance.com.sg
Fri Aug 20 08:33:31 CEST 2004


Thanks all,

Its working now.

At 01:29 AM 8/17/2004, you wrote:
>You have to increase your db (I guess: if mysql, set-variable   =
>max_allowed_packet=<xx>M in you're my.cnf or on windows my-medium,
>my-max or whatever u use as configfile)
>
>-----Original Message-----
>From: opencms-dev-bounces at opencms.org
>[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Kelvin
>Sent: Monday, August 16, 2004 7:07 PM
>To: opencms-dev at opencms.org
>Subject: [opencms-dev] File too large for opencms
>
>
>Hi all,
>
>I have a flash(.swf) file that I need to put into opencms. But when i
>upload the file(1.2mb) as a binary file onto opencms, I have a error
>saying
>that the file is too big.
>Can I change the any property somewhere to get the opencms filesystem to
>
>accept the file?
>
>
>14 Filesystem exception. Detailed error: CmsException ID: 14. root cause
>was com.opencms.core.CmsException: 4 Sql exception. Detailed
>error: [com.opencms.file.mySql.CmsDbAccess] Communication link failure:
>com.mysql.jdbc.PacketTooBigException.
>root cause was java.sql.SQLException: Communication link failure:
>com.mysql.jdbc.PacketTooBigException
>         at
>com.opencms.file.CmsObject.replaceResource(CmsObject.java:870)
>         at
>com.opencms.workplace.CmsNewResourceUpload.getContent(CmsNewResourceUplo
>ad.java:285)
>         at
>com.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java:1
>71)
>         at
>com.opencms.template.cache.CmsUri.callCanonicalRoot(CmsUri.java:185)
>         at
>com.opencms.template.cache.CmsElementCache.callCanonicalRoot(CmsElementC
>ache.java:149)
>         at
>com.opencms.launcher.CmsXmlLauncher.generateOutput(CmsXmlLauncher.java:2
>85)
>
>
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please
>visit http://mail.opencms.org/mailman/listinfo/opencms-dev
>
>
>
>_______________________________________________
>This mail is send to you from the opencms-dev mailing list
>To change your list options, or to unsubscribe from the list, please visit
>http://mail.opencms.org/mailman/listinfo/opencms-dev






More information about the opencms-dev mailing list