I experienced this when using a database (mysql) as the contentstore. I
fixed this by switching the contentstore to the file system store in the
domain.xml file. You might also try checking the max size of the database
column storing the data in your situation if you don't want to use the hard
disk directly to store file contents.

The appropriate snippet from my domain.xml file is below... You'll have to
fill in the appropriate places yourself but hopefully this will give you a
head start.

Brian Johnson

<definition>
        <store name="jdbc">
                <nodestore
classname="slidestore.mysql.MySQLDescriptorsStore">
                        <parameter
name="driver">org.gjt.mm.mysql.Driver</parameter>
                        <parameter
name="url">mysql://localhost:3306/slide</parameter>
                        <parameter name="user">your_user</parameter>
                        <parameter name="password">your_password</parameter>
                        <parameter name="jdbcversion">1</parameter>
                </nodestore>
                <securitystore>
                        <reference store="nodestore"/>
                </securitystore>
                <lockstore>
                        <reference store="nodestore"/>
                </lockstore>
                <revisiondescriptorsstore>
                        <reference store="nodestore"/>
                </revisiondescriptorsstore>
                <revisiondescriptorstore>
                        <reference store="nodestore"/>
                </revisiondescriptorstore>
                <contentstore
classname="slidestore.reference.FileContentStore">
                        <parameter
name="rootpath">C:\devapps\jakarta-tomcat-4.1.24\slide_file_store\</paramete
r>
                </contentstore>
        </store>
        <scope match="/" store="jdbc"/>
</definition>

-----Original Message-----
From: xiaohu [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 05, 2003 3:45 PM
To: slide-user
Subject: Slide File Download Problem

Hello,

I have a strange problem with downloading files from Slide (version
slide-1.0.16)  Small files work seem to work ok, but for a file bigger
than 65,535 bytes, I only get the first 65,535 bytes.  What's weird is
that there are no exceptions thrown or any errors logged.  Has anybody
else seen this behaviour?

Thanks in advance for your help,

xiaohu




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to