[opencms-dev] File too large for opencms

Tim Howland thowland at organic.com
Mon Aug 16 19:19:28 CEST 2004


looks like your mysql configuration is the problem- check mysql.conf for
maximum packet size. The default is about 1Mb; you should set it to 10.

Tim 

-----Original Message-----
From: Kelvin [mailto:kelvin.ang at resonance.com.sg] 
Sent: Monday, August 16, 2004 1: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



More information about the opencms-dev mailing list