Simple, just look at the default Domain.xml that comes in the distribution
and you will see the 

<contentstore classname="org.apache.slide.store.txfile.TxFileContentStore">
...
</contentstore>

Use that instead of your 

<contentstore>
    <reference store="nodestore"/>
</contentstore>


                
Michael Oliver
CTO
Alarius Systems LLC
6800 E. Lake Mead Blvd, #1096
Las Vegas, NV 89156
Phone:(702)866-9034
Cell:(518)378-6154
Fax:(702)974-0341
 

-----Original Message-----
From: Bart Spedden [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 28, 2006 9:11 AM
To: [email protected]
Subject: contentstore configuration question

I'm trying to configure the a "store" in the Domain.xml so that the
contentstore can be pointed at the file system and the securitystore,
lockstore, revisiondescriptorsstore, and revisiondescriptorstore can be
pointed at a database.  

As of now I have configured a JDB Connection Pool in Tomcat by adding the
following to server.xml:

        <!-- Set up the Oracle JDBC Connection Pool -->
        <Context path="/slide" docBase="slide" debug="5" reloadable="true"
crossContext="true">
            <Resource 
                name="jdbc/slideDataSource" 
                auth="Container" 
                type="javax.sql.DataSource" 
                driverClassName="oracle.jdbc.OracleDriver" 
                url="jdbc:oracle:thin:@devlabor:1521:opusdev" 
                username="SLIDE" 
                password="SLIDE" 
                maxActive="20" 
                maxIdle="10" 
                maxWait="-1"/>
        </Context>

Then, in Slide's Domain.xml I have defined the following for the "slide"
namespace:

        <definition>
            <store name="j2ee">
                <nodestore
classname="org.apache.slide.store.impl.rdbms.J2EEStore">
                    <parameter
name="datasource">jdbc/slideDataSource</parameter>
                    <parameter
name="adapter">org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter</paramet
er>
                    <parameter name="compress">false</parameter>
                </nodestore>
                <securitystore>
                    <reference store="nodestore"/>
                </securitystore>
                <lockstore>
                    <reference store="nodestore"/>
                </lockstore>
                <revisiondescriptorsstore>
                    <reference store="nodestore"/>
                </revisiondescriptorsstore>
                <revisiondescriptorstore>
                    <reference store="nodestore"/>
                </revisiondescriptorstore>
                <contentstore>
                    <reference store="nodestore"/>
                </contentstore>
            </store>
            <scope match="/" store="j2ee"/>
        </definition>
Could someone explain to me how to configure the contentstore to use the
file system instead of placing the MIME encoded files in a CLOB in oracle.  

Thanks,

Bart Spedden


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

Reply via email to