tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bj <bjk...@free.fr>
Subject Re: tomcat oracle jdbc pooling
Date Mon, 11 Oct 2004 13:48:54 GMT
I've tried but I didn't manage to set these parameters in the server.xml 
tomcat file. I can do this in the java code but it increases oracle 
dependancy and I would like to avoid that.

Bj

David Smith a écrit :

> I'll go on a limb here.  I just started actually reading the fantastic 
> docs on JDBC.  Been using databases essentially by example for a couple 
> years now.  It looks like you're replacing the DBCP datasource with the 
> Oracle pooling datasource.  In that case you should take a look at the 
> setters for the OracleDataSourceFactory to see what parameters are 
> available.
> 
> --David
> 
> Bj wrote:
> 
>> Hi,
>>
>> I'm using tomcat jdbc connection pooling through dbcp 
>> datasourceFactory and it works well.
>> Now, I want to use oracle.jdbc.pool.OracleDataSourceFactory to 
>> instanciate oracle.jdbc.pool.OracleDataSource.
>>
>> It seems to work, but I'm wondering is there's some specific 
>> parameters to add ?
>> I also want to manage MaxStatements and ExplicitCachingEnabled 
>> parameters in the Tomcat server XML but it doesn't work with these 
>> parameter names. Does someone know how to do this ?
>>
>> I would like my java code to only use standard jdbc classes and to 
>> have the benefit of Oracle jdbc statement pooling. Is there a way to 
>> do this ?
>>
>> best regards,
>>
>> Bj
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
> 
> 
> 

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


Mime
View raw message