Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Apache Tomcat »

Connection Pool configuration

Propes, Barry L

2007-02-08

Replies:

Hello, I'm dealing with Tomcat 4.0.1 and -4.1.3.

I badly need to get connection pooling configured, but am not quite sure how to do it.

Here's a block from my server.xml file.


  <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
driverName="oracle.jdbc.OracleDriver"
connectionURL="jdbc:oracle:thin:@(protected)"
connectionName="user_name"
connectionPassword="user_pwd"
userTable="users" userNameCol="user_name" userCredCol="user_pass"
userRoleTable="user_roles" roleNameCol="role_name" />


This goes to the users table created for password sessions.

Do I configure anything here for Connection Pooling? Do I add
maxActive   8  
minIdle 0 , etc.?

How would I alter or configure this? Any advice is welcomed.

Thanks,

Barry
©2008 junlu.com - Jax Systems, LLC, U.S.A.