I could not find any documentation on how to manage the connection pool that comes with Tomcat 4. I want to do things like setting the minimum and maximum of connections and timeout value.
I don't think this information has been posted on this mailing list either. Bill Mark Muffett wrote: > There's a lot to configure to get it to work. > > The coding side seems to be well documented, and there have been several > instances posted here, but (as far as I can see) we're all working in the > dark with server.xml. I've spent a lot of time trying to get database > pooling to work with Postgresql, but I've failed and given up. I'd be > interested to know what database/tomcat configurations anyone has got to > work - with some sample server.xml fragments if possible. > > Mark > > ----- Original Message ----- > From: "Craig R. McClanahan" <[EMAIL PROTECTED]> > To: "Tomcat Users List" <[EMAIL PROTECTED]> > Sent: Thursday, March 14, 2002 6:51 AM > Subject: Re: jndi versus database connection pooling > > > > > > > On Thu, 14 Mar 2002, Dave Whitla wrote: > > > > > Date: Thu, 14 Mar 2002 16:22:01 +1000 > > > From: Dave Whitla <[EMAIL PROTECTED]> > > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > > To: Tomcat Users List <[EMAIL PROTECTED]> > > > Subject: Re: jndi versus database connection pooling > > > > > > You will need to write a PooledDataSource implementation if your JDBC > driver > > > does not ship with one. > > > AFAIK mm.mysql does not. > > > > > > But some one somewhere would have to have done it by now for their own > > > project. > > > > > > > Tomcat 4 includes a connection pool, and makes it available via JNDI. > > All you need to supply the JDBC driver for your favorite database, and > > configure the pool appropriately. Details are on the > > "jndi-resources-howto.html" page of the Tomcat documentation webapp > > (http://localhost:8080/tomcat-docs/). > > > > Craig > > > > > > > > > > ----- Original Message ----- > > > From: "Soefara Redzuan" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Thursday, March 14, 2002 4:20 PM > > > Subject: jndi versus database connection pooling > > > > > > > > > > I am getting very confused. Is JDNI Tomcat's own builtin database pool > > > > manager or must I still use a database conncetion pool manager such as > the > > > > one at www.javaexchange.com ? > > > > > > > > Really I would love to have the database connection URL and > > > > username/password outside of my JSPs and in one place so JNDI looks > best. > > > > But I'd also like to use database connection pooling within my JSPs > and > > > > Servlets. How are people doing this with mysql ? > > > > > > > > Thank you, Soefara > > > > > > > > _________________________________________________________________ > > > > Get your FREE download of MSN Explorer at > > > http://explorer.msn.com/intl.asp. > > > > > > > > > > > > -- > > > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > > > For additional commands: <mailto:[EMAIL PROTECTED]> > > > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > > > > > > > > > > -- > > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > > For additional commands: <mailto:[EMAIL PROTECTED]> > > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > > > > > > > > > -- > > To unsubscribe: <mailto:[EMAIL PROTECTED]> > > For additional commands: <mailto:[EMAIL PROTECTED]> > > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
