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</parameter>
<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