A "do-nothing" servlet started a load time that uses a database connection? Kinda silly, but it will take care of the problem.
--mikej -=----- mike jackson [EMAIL PROTECTED] > -----Original Message----- > From: Sinclair, Alan (CORP, GEAccess) > [mailto:alan.sinclair@;geaccess.com] > Sent: Tuesday, November 12, 2002 2:13 PM > To: Tomcat Users List (E-mail) > Subject: Connection pooling & BasicDataSource parameters > > > Hi all, > > I would be most eternally grateful if someone could throw some > light on this > issue. We have a commercial app server (no names) which initiates the > connection pools with the databases when the app server is started. I have > managed to use DBCP with both Tomcat 4.0 and 4.x to setup a pool > with Oracle > however, the pool of connections are not initiated with the database until > the first JSP requiring a datasource is requested. > > In the 4.1 JNDI Datasource HOW-TO, it says to refer to the DBCP Javadocs > BasicDataSource class for a complete list of configuration parameters. > Unfortunately, I do not see any resource parameter which can be explicitly > set to force the pool to connect when Tomcat is started. > > Is there any other way to do this ? > > Thanks > AS > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>
