How can i create connection pooling in tomcat?

Showing Answers 1 - 2 of 2 Answers

Veeren76

  • Aug 16th, 2006
 

WHat exactly you mean.... do you want Database connection pooling OR you want application/webserver clustering feature?

  Was this answer useful?  Yes

Anand G

  • Sep 13th, 2006
 

we can create connection pooling using tomcatFor that 1. we need to download 3 jar files a. commons-dbcp-1.2.jar b. commons-collections-3.1.jar c. commons-pool-1.3.jar 2. we want to add an entry in server.xml of the tomcat factory org.apache.commons.dbcp.BasicDataSourceFactory driverClassName oracle.jdbc.OracleDriver url jdbc:oracle:thin:@localhost:1521:orcl username anand password pass maxActive 20 maxIdle 10 maxWait -1 for further reference please check the below linkhttp://tomcat.apache.org/tomcat-5.5-doc/jndi-datasource-examples-howto.html

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions