You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Durfee, Bernard" <Be...@suny.edu> on 2005/08/26 18:35:28 UTC

Oracle & Tomcat 5.5.x

Hello,
I am trying to create an Oracle 10g datasource with connection caching
enabled. In my server.xml I have the following...

<Resource
name="jdbc/myDS"
auth="Container"
type="javax.sql.DataSource"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@my.db.com:1521:me" username="my_name"
password="my_pass"
connectionCacheName="my-cache"
connectionCachingEnabled="true" />

...under <GlobalNamingResources>. Is this properly creating an Oracle
datasource with implicit connection caching enabled? If so, how do I
verify that this datasource is pooling connections?

Thanks,
Bernie


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org