cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: xml-cocoon/xdocs datasources.xml
Date Tue, 06 Feb 2001 15:31:16 GMT
bloritsch    01/02/06 07:31:16

  Modified:    xdocs    Tag: xml-cocoon2 datasources.xml
  Log:
  Final datasource move to Avalon is finally complete.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +22 -3     xml-cocoon/xdocs/Attic/datasources.xml
  
  Index: datasources.xml
  ===================================================================
  RCS file: /home/cvs/xml-cocoon/xdocs/Attic/datasources.xml,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- datasources.xml	2001/01/12 20:20:54	1.1.2.2
  +++ datasources.xml	2001/02/06 15:31:13	1.1.2.3
  @@ -62,21 +62,40 @@
        </p>
        <source>
         <![CDATA[
  -<component name="org.apache.cocoon.components.datasource.DataSourceComponentSelector"
  +<component name="org.apache.avalon.util.datasource.DataSourceComponentSelector"
              class="org.apache.cocoon.CocoonComponentSelector">
   
  -  <component-instance name="MyConnectionName" class="org.apache.cocoon.components.datasource.JdbcDataSource">
  +  <component-instance name="MyConnectionName" class="org.apache.avalon.util.datasource.JdbcDataSource">
       <pool-controller min="5" max="10"/>
       <dburl>jdbc:oracle:thin:@localhost:1521:mydatabase</dburl>
       <user>mylogin</user>
       <password>myPassword</password>
     </component-instance>
   
  -  <component-instance name="MyJ2eeConnection" class="org.apache.cocoon.components.datasource.J2eeDataSource">
  +  <component-instance name="MyJ2eeConnection" class="org.apache.avalon.util.datasource.J2eeDataSource">
       <dbname>cocoonDB</dbname>
     </component-instance>
   </component>
         ]]>
  +     </source>
  +     <p>
  +       The following alternative snippet makes things even easier for you.
  +     </p>
  +     <source>
  +     <![CDATA[
  +<datasources>
  +  <component-instance name="MyConnectionName" class="org.apache.avalon.util.datasource.JdbcDataSource">
  +    <pool-controller min="5" max="10"/>
  +    <dburl>jdbc:oracle:thin:@localhost:1521:mydatabase</dburl>
  +    <user>mylogin</user>
  +    <password>myPassword</password>
  +  </component-instance>
  +
  +  <component-instance name="MyJ2eeConnection" class="org.apache.avalon.util.datasource.J2eeDataSource">
  +    <dbname>cocoonDB</dbname>
  +  </component-instance>
  +</datasources>
  +     ]]>
        </source>
        <s3 title="The JDBC Connection Properties">
         <p>
  
  
  

Mime
View raw message