You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hongx <ho...@genomics.org.cn> on 2001/08/21 16:33:33 UTC

How to make a connection pool when Tomcat start?

 How can I make a connection pool when Tomcat start?


Re: How to make a connection pool when Tomcat start?

Posted by "P.Miller" <p....@brocom.de>.
Hi,

create a connection pool in the init-method of a servlet.
In web.xml setup this servlet to <load-on-startup/>.
Though the init()-method of the servlet will be executed during
tomcat-startup.

Hth
Peter

hongx wrote:
> 
> ¡¡How can I make a connection pool when Tomcat start?