commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Durfee, Bernard" <Bernard.Dur...@suny.edu>
Subject DBCP & Tomcat 5.5.x
Date Fri, 26 Aug 2005 19:00:55 GMT
Hello,
Is this is proper way to create a pooled datasource in Tomcat 5.5.7
using DBCP?

<Resource
name="jdbc/myDS"
auth="Container"
type="javax.sql.DataSource"
factory="org.apache.commons.dbcp.BasicDataSourceFactory"

driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@my.db.com:1521:me"
username="me"
password="it"
connectionProperties="SetBigStringTryClob=true"

initialSize="0"
maxActive="20"
maxIdle="10"
minIdle="0"
maxWait="60000"
/>

Bernie Durfee 


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message