commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: tomcat jndi + commons-dbcp problem - to Craig
Date Wed, 18 Dec 2002 17:24:47 GMT
Thanks Craig.
- I did setup according to the one you mentioned in your posting, web.xml,
- I never got any answer from tomcat user list. Since my issue deals with
commons-dbcp, I posted here instead.
- A typo in my posting, it should be javax.sql.DataSource.
- I placed jdbc2_0-stdext.jar in my application's WEB-INF/lib folder and
classes12.jar in $CATALINA_HOME/common/lib
- The connection returned is org.apache.commons.dbcp.PoolableConnection
neither OraclePoolableConnection nor OracleConnection
Question, is org.apache.commons.dbcp.BasicDataSource smart enough to return
an driver-specific connection, in this case, OraclePoolableConnection or
My web.xml
            <description>Oracle Datasource</description>
My server.xml
<Resource name="jdbc/abcd" auth="Container" type="javax.sql.DataSource"/> 
<ResourceParams name="jdbc/abcd">
Phillip Qin
"This Guy Thinks He Knows Everything"
Canadian Shareowner
121 Richmond Street W, 7th Floor
Toronto, ON M5H 2K1
(416) 595-9600 ext 291

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