Recently I configured JNDI with the intention of having a pool of connections working 
among my servant of applications (tomcat 4.1.18 + Apache 1.3.27)
and the database servant Oracle 9i.
However would I like to know how I can really be tested the pool of connections by 
JNDI works? The example that exists in JNDI Datasource HowTo demonstrates the alone 
use and only only for a connection. The one that I want is to have certainty that the 
defined parameters in the configuration of JNDI are working correctly and as they 
should work, as for instance, the maximum number of connections that can be open, the 
minimum number, etc.
I thank the help in advance of all.

Ps. Therefore I lower is the configuration of my JNDI in server.xml


<Resource name="jdbc/ged" auth="Container"
 type="javax.sql.DataSource"/>
 <ResourceParams name="jdbc/ged">
 <parameter><name>factory</name>
 <value>org.apache.commons.dbcp.BasicDataSourceFactory</value></parameter>
 <parameter><name>username</name><value>scott</value></parameter>
 <parameter><name>password</name><value>aaaaa</value></parameter>
 <parameter><name>driverClassName</name>
 <value>oracle.jdbc.driver.OracleDriver</value></parameter>
 <parameter><name>url</name>
 <value>jdbc:oracle:thin:@xxx.xxx.yy:1521:ZZZ</value></parameter>
 <parameter><name>maxActive</name><value>10</value></parameter>
 <parameter><name>maxIdle</name><value>5</value></parameter>
 <parameter><name>maxWait</name><value>10000</value></parameter>
 <parameter><name>removeAbandoned</name><value>true</value></parameter>
            <parameter><name>removeAbandonedTimeout</name><value>60</value></parameter>
          </ResourceParams>

Sebastião Carlos Santos
Oracle Database Administrator
Universidade Federal de Uberlândia - UFU
Gratificação de Estímulo à Docência - GED



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to