On Feb 25, Malcolm Green had something to say about RE: Connection Pooling

>I have DBCP connection pooling working as follows using Tomcat 4.1.12:
>
>Under the <Context> element for your application (this can either be in the
>server.xml file or a separate xml file in the webapps dir)  I have the
>following config:
>
>             <Resource name="jdbc/XXXX" scope="Shareable"
>type="javax.sql.DataSource"/>
>
>             <ResourceParams name="jdbc/XXXX">
>               <parameter>
>                       <name>factory</name>
>       
><value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>                     </parameter>

Do you need the factory? The SQL Server docs say the driver supports
connection pooling. I guess I assumed this meant it was built-in.

--
mattwarden
mattwarden.com


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

Reply via email to