DBCP is bundled with tomcat, but AFAIK is not the
default factory for javax.sql.DataSource.

According to
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.htm
you have to explicitly set the factory:

<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>

(Havn't tried it, as we use our own pool, which is no DataSource)

> -----Original Message-----
> From: Marc Logemann [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 30, 2003 2:48 PM
> To: [EMAIL PROTECTED]
> Subject: DBCP Factory
> 
> 
> i am using 4.18 and i am wondering if its true that DBCP is 
> the default factory for javax.sql.DataSource
> resource definitions. I read it in the JNDI DataSource tomcat docs.
> 
> 1. Is DBCP bundlded with 4.18 ?
> 2. is it true that i dont need to declare the factory inside 
> <parameter>?
> 

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

Reply via email to