Jackrabbit On Tomcat

server.xml

  <Resource
                                name="jdbc/jcr"
                                auth="Container"
                                type="oracle.jdbc.pool.OracleDataSource"
                                user="jackrabbit"
                                password=""
                                driverClassName="oracle.jdbc.OracleDriver"
                                url="jdbc:oracle:thin:@localhost:1521:XE"
                                factory="oracle.jdbc.pool.OracleDataSourceFactory"
                                maxActive="20"
                                maxIdle="10"
                                maxWait="-1"
                        />

        <FileSystem class="org.apache.jackrabbit.core.fs.db.JNDIOracleDatabaseFileSystem">
                <param name="path" value="${rep.home}"/>
                <param name="dataSourceLocation" value="jdbc/jcr"/>
                <param name="checkValidConnectionSQL" value="select 0 from dual" />
                <param name="schemaObjectPrefix" value="default"/>
                <param name="schema" value="oracle" />
        </FileSystem>


        <PersistenceManager class="org.apache.jackrabbit.core.state.db.JNDIOracleDatabasePersistenceManager">
                <param name="path" value="${wsp.home}/db"/>
                <param name="dataSourceLocation" value="jdbc/jcr"/>
                <param name="checkValidConnectionSQL" value="select 0 from dual" />                             
                <param name="schemaObjectPrefix" value="pm_def"/>
                <param name="schema" value="oracle" />
                <param name="externalBLOBs" value="false"/>
        </PersistenceManager>

JackrabbitOnTomcat (last edited 2009-09-20 23:45:27 by localhost)