<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML DIR=ltr><HEAD><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"></HEAD><BODY><DIV><FONT face='Arial' color=#000000 size=2>
<DIV><FONT face=Arial size=2><SPAN 
class=015412422-03042005>Hi,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=015412422-03042005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=015412422-03042005>I am testing 
OpenCms, and my settings are: OpenCms 6.0 beta 1 + MySQL 4.1 + TomCat 5.0. 
</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=015412422-03042005></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=015412422-03042005>When I tried to 
publish a binary file (e.g. MS Word document) of around 2M in size, I got 
the following error messages:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN 
class=015412422-03042005></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=015412422-03042005>
<DIV class=main><SPAN class=head><STRONG><FONT face=Arial color=#000099 
size=2>Validating links ...<BR></FONT></STRONG></SPAN><SPAN 
class=head><STRONG><FONT face=Arial color=#000099 size=2>... finished validating 
links<BR></FONT></STRONG></SPAN><SPAN class=head><STRONG><FONT face=Arial 
color=#000099 size=2>Publishing resources ...<BR></FONT></STRONG></SPAN><FONT 
face=Arial><FONT size=2><SPAN class=head><STRONG><FONT color=#000099>Publishing 
files ...<BR></FONT></STRONG></SPAN><SPAN class=note><FONT color=#666666>( 1 / 1 
) Publishing file </FONT></SPAN><SPAN>/<SPAN 
class=015412422-03042005>test/test1</SPAN>/Poster2.ppt </SPAN><SPAN>... 
</SPAN></FONT></FONT><SPAN class=err><STRONG><FONT face=Arial color=#990000 
size=2>Error publishing file /sites/default/<SPAN 
class=015412422-03042005>test</SPAN>/<SPAN 
class=015412422-03042005>test1</SPAN>/Poster2.ppt<BR></FONT></STRONG></SPAN><SPAN 
class=throw><STRONG><FONT face=Arial color=#990000 size=2>Exception 
org.opencms.file.CmsVfsResourceNotFoundException: 
[org.opencms.db.mysql.CmsVfsDriver.readFile] 
af0682d6-a487-11d9-9305-5781d08c36fe [Code 2 - Resource not found!]<BR>at 
org.opencms.db.generic.CmsVfsDriver.readFile(CmsVfsDriver.java:963)<BR>at 
org.opencms.db.generic.CmsProjectDriver.publishFileContent(CmsProjectDriver.java:1035)<BR>at 
org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:921)<BR>at 
org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java:1368)<BR>at 
org.opencms.db.CmsDriverManager.publishProject(CmsDriverManager.java:4665)<BR>at 
org.opencms.db.CmsSecurityManager.publishProject(CmsSecurityManager.java:2539)<BR>at 
org.opencms.file.CmsObject.publishProject(CmsObject.java:1889)<BR>at 
org.opencms.threads.CmsPublishThread.run(CmsPublishThread.java:82)<BR></FONT></STRONG></SPAN><SPAN><FONT 
face=Arial size=2>Statistics: published files: 1, published folders: 0, deleted 
folders: 0, duration: 00:00:00<BR></FONT></SPAN><SPAN class=throw><FONT 
face=Arial><FONT size=2><STRONG><FONT color=#990000>Exception 
org.opencms.file.CmsVfsResourceNotFoundException: 
[org.opencms.db.mysql.CmsVfsDriver.readFile] 
af0682d6-a487-11d9-9305-5781d08c36fe [Code 2 - Resource not found!]<BR>at 
org.opencms.db.generic.CmsVfsDriver.readFile(CmsVfsDriver.java:963)<BR>at 
org.opencms.db.generic.CmsProjectDriver.publishFileContent(CmsProjectDriver.java:1035)<BR>at 
org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:921)<BR>at 
org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java:1368)<BR>at 
org.opencms.db.CmsDriverManager.publishProject(CmsDriverManager.java:4665)<BR>at 
org.opencms.db.CmsSecurityManager.publishProject(CmsSecurityManager.java:2539)<BR>at 
org.opencms.file.CmsObject.publishProject(CmsObject.java:1889)<BR>at 
org.opencms.threads.CmsPublishThread.run(CmsPublishThread.java:82)</FONT></STRONG></FONT></FONT></SPAN></DIV><SPAN 
class=throw><FONT face=Arial><FONT size=2><STRONG><FONT 
color=#990000></FONT></STRONG></FONT></FONT></SPAN></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=015412422-03042005><SPAN class=throw><FONT 
face=Arial><FONT size=2>
<DIV class=main><BR></DIV></FONT></FONT></SPAN>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial size=2>The publish works for smaller 
binary files, such as 200KB. I tried to change some parameters in MySQL, 
including max_allowed_packet to 32M, but still can't solve this problem. 
</FONT></SPAN></FONT></SPAN></DIV>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial 
size=2></FONT></SPAN></FONT></SPAN> </DIV>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial size=2>Any 
suggestions?</FONT></SPAN></FONT></SPAN></DIV>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial 
size=2></FONT></SPAN></FONT></SPAN> </DIV>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial 
size=2>Thanks.</FONT></SPAN></FONT></SPAN></DIV>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial 
size=2>chunhua</FONT></SPAN></FONT></SPAN></DIV>
<DIV class=main><SPAN class=throw><FONT size=+0><SPAN 
class=015412422-03042005><FONT face=Arial 
size=2></FONT></SPAN> </DIV></FONT></SPAN></SPAN></FONT></DIV></FONT></DIV></BODY></HTML>