<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>Hi 
all</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2>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. </FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>No exception is 
thrown during the applet upload. If I disable "Use upload applet", a 
CmsVfsResourceNotFoundException is thrown.</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>Now, 
I've set/checked some values to try and fix the 
problem:</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>1.) In 
my.cnf: max_upload_packet=64M</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>2.) In 
opencms-workplace.xml: 
<maxfileuploadsize>-1</maxfileuploadsize></FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>3.) In catalina.bat: 
CATALINA_OPTS="-Xmx256m -Xms8m"</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>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... </FONT></SPAN><SPAN 
class=643400015-24062009><FONT face=Arial size=2>Is there anything else I need 
to check?</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial size=2>Any solution, tip or 
idea is most welcome.</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2>Cheers,</FONT></SPAN></DIV>
<DIV><SPAN class=643400015-24062009><FONT face=Arial 
size=2>Paul</FONT></SPAN></DIV></BODY></HTML>