avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tbenn...@apache.org
Subject cvs commit: avalon-components/facilities/dbcp/impl/conf block.xml
Date Tue, 11 May 2004 21:23:23 GMT
tbennett    2004/05/11 14:23:23

  Modified:    facilities/dbcp/impl/conf block.xml
  Log:
  New database Connection Pooling facility
  
  Revision  Changes    Path
  1.3       +24 -17    avalon-components/facilities/dbcp/impl/conf/block.xml
  
  Index: block.xml
  ===================================================================
  RCS file: /home/cvs/avalon-components/facilities/dbcp/impl/conf/block.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- block.xml	7 May 2004 23:35:41 -0000	1.2
  +++ block.xml	11 May 2004 21:23:23 -0000	1.3
  @@ -1,37 +1,44 @@
  -<container name="dbcp-manager">
  +<container name="avalon-dbcp">
   
  +    <services>
  +		<service type="org.apache.avalon.dbcp.ConnectionManager">
  +			<source>dbcp-manager</source>
  +		</service>
  +    </services>
  +    
       <classloader>
           <classpath>
               <repository>
  +                <!-- Avalon Framework stuff -->
                   <resource id="avalon-framework:avalon-framework-api" version="4.1.5"/>
                   <resource id="avalon-framework:avalon-framework-impl" version="4.1.5"/>
  -
  +                
  +                <!-- For avalon-dbcp stuff -->
   				<resource id="avalon-dbcp:avalon-dbcp-api" version="1.0.dev-0"/>
   				<resource id="commons-pool:commons-pool" version="1.1"/>
  -				<resource id="commons-dbcp:commons-dbcp" version="1.1"/>
  +				<resource id="commons-dbcp:commons-dbcp" version="1.2-dev"/>
  +				<resource id="commons-collections:commons-collections" version="2.1"/>
  +				
  +				<!-- For avalon-db stuff -->
  +				<resource id="avalon-db:avalon-db-api" version="1.0.dev-0"/>
  +                <resource id="hsqldb:hsqldb" version="1.7.2-rc5"/>
  +				
               </repository>
           </classpath>
       </classloader>
       
  -	<component name="dbcp-manager" class="org.apache.avalon.sql.DbcpConnectionManager"
activation="startup">
  +	<include name="hsql-server" id="avalon-db:avalon-db-hsql" version="1.0.dev-0"/>
  +	
  +	<component name="dbcp-manager" class="org.apache.avalon.dbcp.DbcpConnectionManager"
activation="startup">
   		<configuration>
  -			<pool>
  -				<max-active></max-active>
  -				<min-idle></min-idle>
  -				<max-idle></max-idle>
  -				<max-wait></max-wait>
  -				<min-evict-idle-time></min-evict-idle-time>
  -				<time-between-evict-runs></time-between-evict-runs>
  -				<test-on-borrow></test-on-borrow>
  -				<test-on-return></test-on-return>
  -				<test-while-idle></test-while-idle>
  -			</pool>
   			<datasources>
   				<datasource name="hsql" default="true">
  -					<driver></driver>
  -					<db-url></db-url>
  +					<driver>org.hsqldb.jdbcDriver</driver>
  +					<db-url>jdbc:hsqldb:hsql://localhost</db-url>
   					<username>sa</username>
   					<password></password>
  +					<read-only>false</read-only>
  +					<auto-commit>true</auto-commit>
   				</datasource>
   			</datasources>
   		</configuration>
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message