jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "JackRabbitOnWeblogic" by rkorbee
Date Mon, 04 Dec 2006 14:38:20 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by rkorbee:

New page:
= JackRabbit On WebLogic =

== Applies to versions ==
 * WebLogic 8.1 SP4
 * Oracle 9i

== Setting up JNDI in JackRabbit ==

        <FileSystem class="org.apache.jackrabbit.core.fs.db.JNDIDatabaseFileSystem">
	        <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" />

 * This is the default configuration. With Oracle this doesn't work because Oracle needs an
OracleDataSource to be able to use Oracle extensions such as BLOB, Struct etc. 
 * For Oracle support with JNDI a new class is implemented: JNDIOracleDatabaseFileSystem.
The code for this class stored on the examples page. 
 * Change JNDIDatabaseFileSystem to JNDIOracleDatabaseFileSystem in the above example. The
other settings remain the same.

== Configuring WebLogic ==
 * Use the default Oracle driver 
 * Configure a datasource
 * create a JNDI name
 * now webLogic will return a wrapper DataSource for Oracle from which Jackrabbit can use
Oracle extensions

== Using WebDAV ==
 * No special configuration is needed for using webDAV

View raw message