<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.6396.0">
<TITLE>Error in uploading the file</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hi,</FONT>
<BR> <FONT SIZE=2 FACE="Arial">I try to upload a file to the 950 KB file to OpenCMS. But i'm getting the following error:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">com.opencms.core.cmsException: 0 Unknown exception. Detailed Error: CmsException ID: 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">root cause was java.lang.IllegalArgumentException: Packet is larger than max_allowed_packet from server configuration of 1048576 bytes</FONT></P>
<P> <FONT SIZE=2 FACE="Arial">at cms.opencms.template.cache.CmsElementXml.getContent(CmsElementXml.java: 194).</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Even i tried increasing the limit of workplace.file.maxuploadsize property in opencms.properties file to 2 mb. But still i'm getting that error.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">I'm running opencms 5.0 in Win XP.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Help is appreciated.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Hari.</FONT>
</P>
</BODY>
</HTML>