On Wednesday 03 November 2004 15:40, Karan Tyagi wrote:
> Can someone let me know how to configure Oracle JDBC store for Slide?
> What changes need to be done in the Domain.xml and web.xml.

web.xml doesn't need to be changed (unless you want to use a tomcat 
datasource...). Here's an example of a store configuration, to insert in 
Domain.xml:

----

<definition>
 <store name="tx">
 <nodestore classname="org.apache.slide.store.impl.rdbms.JDBCStore">
  <parameter name="adapter">
 org.apache.slide.store.impl.rdbms.OracleRDBMSAdapter
  </parameter>
  <parameter name="driver">oracle.jdbc.driver.OracleDriver</parameter>
      <parameter name="url">
   jdbc:oracle:thin:@localhost:1521:myslide
  </parameter>
      <parameter name="user">scott</parameter>
      <parameter name="password">tiger</parameter>
      <parameter name="dbcpPooling">true</parameter>
      <parameter name="maxPooledConnections">10</parameter>

  <!-- don't use serializable isolation! -->
      <!-- <parameter name="isolation">SERIALIZABLE</parameter> -->

  <!-- this can be set to true: -->
      <parameter name="compress">false</parameter>

 </nodestore>
   <sequencestore>
      <reference store="nodestore" />
   </sequencestore>
   <contentstore>
      <reference store="nodestore" />
   </contentstore>
   <securitystore>
      <reference store="nodestore" />
   </securitystore>
   <lockstore>
      <reference store="nodestore" />
   </lockstore>
   <revisiondescriptorsstore>
  <reference store="nodestore" />
 </revisiondescriptorsstore>
   <revisiondescriptorstore>
      <reference store="nodestore" />
   </revisiondescriptorstore>

 </store>
        <scope match="/" store="tx"/>
</definition>

----

-- 
Davide Savazzi

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

Reply via email to