[opencms-dev] problem in publishing binary file 6.0beta1

Frans Postma fpostma at xs4all.nl
Mon Apr 4 21:15:48 CEST 2005


 
Can you access that file when you browse your OFFline project ? What I'm getting at is, are you sure the file was uploaded
correctly at all? Any exceptions/errors in your tomcat log concerning the upload of that file ??
 
Frans


  _____  

From: opencms-dev-bounces at opencms.org [mailto:opencms-dev-bounces at opencms.org] On Behalf Of Zhao, Chunhua
Sent: maandag 4 april 2005 17:15
To: opencms-dev at opencms.org
Subject: [opencms-dev] problem in publishing binary file 6.0beta1



Hi,
 
I am testing OpenCms, and my settings are: OpenCms 6.0 beta 1 + MySQL 4.1 + TomCat 5.0. 
 
When I tried to publish a binary file (e.g. MS Word document) of around 2M in size, I got the following error messages:
 

Validating links ...
... finished validating links
Publishing resources ...
Publishing files ...
( 1 / 1 ) Publishing file /test/test1/Poster2.ppt ... Error publishing file /sites/default/test/test1/Poster2.ppt
Exception org.opencms.file.CmsVfsResourceNotFoundException: [org.opencms.db.mysql.CmsVfsDriver.readFile]
af0682d6-a487-11d9-9305-5781d08c36fe [Code 2 - Resource not found!]
at org.opencms.db.generic.CmsVfsDriver.readFile(CmsVfsDriver.java:963)
at org.opencms.db.generic.CmsProjectDriver.publishFileContent(CmsProjectDriver.java:1035)
at org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:921)
at org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java:1368)
at org.opencms.db.CmsDriverManager.publishProject(CmsDriverManager.java:4665)
at org.opencms.db.CmsSecurityManager.publishProject(CmsSecurityManager.java:2539)
at org.opencms.file.CmsObject.publishProject(CmsObject.java:1889)
at org.opencms.threads.CmsPublishThread.run(CmsPublishThread.java:82)
Statistics: published files: 1, published folders: 0, deleted folders: 0, duration: 00:00:00
Exception org.opencms.file.CmsVfsResourceNotFoundException: [org.opencms.db.mysql.CmsVfsDriver.readFile]
af0682d6-a487-11d9-9305-5781d08c36fe [Code 2 - Resource not found!]
at org.opencms.db.generic.CmsVfsDriver.readFile(CmsVfsDriver.java:963)
at org.opencms.db.generic.CmsProjectDriver.publishFileContent(CmsProjectDriver.java:1035)
at org.opencms.db.generic.CmsProjectDriver.publishFile(CmsProjectDriver.java:921)
at org.opencms.db.generic.CmsProjectDriver.publishProject(CmsProjectDriver.java:1368)
at org.opencms.db.CmsDriverManager.publishProject(CmsDriverManager.java:4665)
at org.opencms.db.CmsSecurityManager.publishProject(CmsSecurityManager.java:2539)
at org.opencms.file.CmsObject.publishProject(CmsObject.java:1889)
at org.opencms.threads.CmsPublishThread.run(CmsPublishThread.java:82)



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. 
 
Any suggestions?
 
Thanks.
chunhua
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20050404/6c50f7af/attachment.htm>


More information about the opencms-dev mailing list