On Mon, 23 Dec 2002, Andrew Guts wrote:
> Date: Mon, 23 Dec 2002 10:55:16 +0200 > From: Andrew Guts <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: How to configure JNDI resource with connection pool? > > Hi all, > > I want to use pooled data source with my application. I guess a > "factory" parameter for the resource shoud be provided. Which one from > the class hierarchy? By the way where can I find detailed documentation, > describing Tomcat classes, including javadocs? > > Thank you for support. > > Andrew > > P.S. Tomcat4.1.18, JayBird 1.0 RC2 > Tomcat has a default resource factory for JDBC data sources (org.apache.commons.dbcp.BasicDataSourceFactory for Tomcat 4.1.x), so you don't need to specify this. What you do need to do is read the docs on JNDI resources, which are included in the "tomcat-docs" webapp as part of your Tomcat install, or online: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-resources-howto.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
