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 15:00:22 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:
http://wiki.apache.org/jackrabbit/JackRabbitOnWeblogic

------------------------------------------------------------------------------
  
  == Setting up JNDI in JackRabbit ==
  {{{
-         <FileSystem class="org.apache.jackrabbit.core.fs.db.JNDIDatabaseFileSystem">
+         <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" />
@@ -16, +16 @@

  		<param name="schema" value="oracle" />
  	</FileSystem>
  
- 	<PersistenceManager class="org.apache.jackrabbit.core.state.db.JNDIDatabasePersistenceManager">
+ 	<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" />				
@@ -25, +25 @@

   		<param name="externalBLOBs" value="false"/>
  	</PersistenceManager>
  }}}
-  * 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.
+  * With Oracle you need an OracleConnection to be able to use Oracle extensions such as
BLOB, Struct etc. 
+  * For Oracle support with JNDI a new classes are implemented: {{{JNDIOracleDatabaseFileSystem}}}
and {{{JNDIOracleDatabasePersistenceManager}}}. The code for these classes stored on the ExamplesPage
-> see the patch included on that page.
+ 
  
  == Configuring WebLogic ==
   * Use the default Oracle driver 
@@ -36, +36 @@

   * 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
+  * No special configuration is needed for using WebDAV
  

Mime
View raw message