tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: Oracle connection pooling + Tomcat 4.1.12
Date Thu, 20 Feb 2003 14:45:03 GMT
Tomcat's connection pooling utilizes its JNDI implementation plus
commons-dbcp and pooling, so you have to use whatever the JNDI-datasource
documentation tells you to do, that is

1. type="javax.sql.DataSource"
3. Do not define factory, there is default value by Tomcat.

Behind the scene, Tomcat will use BasicDataSource and PoolableConnection
(whose underlying connection is OracleConnection).

If you do wish to use Oracle's connection pooling, I didn't have luck
either. But I tried its connection caching.

"This Guy Thinks He Knows Everything"
"This Guy Thinks He Knows What He Is Doing"

-----Original Message-----
From: Alexey Yastremskiy [] 
Sent: February 20, 2003 12:04 AM
To: Tomcat Users List
Subject: Oracle connection pooling + Tomcat 4.1.12


I've got a problem: I tried to setup oracle connection pooling in my
tomcat configuration, but didn't succeed. I checked Tomcat docs and Oracle
docs to produce this, but nothing helped :(
Does anyone have in production such a configuration, using
Oracle-implemented connection pooling? Please, help me to do the

Here is my configs....

        <Resource auth="Container" name="jdbc/DB" scope="Shareable"
        <ResourceParams name="jdbc/DB">
                        <value>my datasource</value>
[end server.xml]

                <description>my db</description>
[end web.xml]

To unsubscribe, e-mail:
For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message