HI,
I am using a bit different connection configuration to get OracleConnection:
<Resource name="poolname" auth="Container"
type="oracle.jdbc.pool.OracleDataSource"
factory="oracle.jdbc.pool.OracleDataSourceFactory"
connectionCachingEnabled="true"
user="DB" password="DB"
driverClassName="oracle.jdbc.OracleDriver"
url="jdbc:oracle:thin:@192.168.100.1:1521:ORCL"
removeAbandoned="true"
removeAbandonedTimeout="30"
maxActive="20"
maxIdle="10" maxwait="-1"/>

I am using Tomcat 6.

Regards,
Zdenek
On Fri, Oct 10, 2008 at 1:59 PM, Ziggy <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am really stuck with the tomcat connection pool as its the application
> server that i am using.
> How does the oracle connection pool work? Could you point me to some info
> somewhere so that i can read about it.
>
> Thanks
>
> On Fri, Oct 10, 2008 at 2:51 PM, Christopher Schultz <
> [EMAIL PROTECTED]> wrote:
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Ziggy,
>>
>> Ziggy wrote:
>> > The problem i am getting now is that i still cannot cast the class
>> properly
>> > to get the underlying connection.
>>
>> Your best bet is to use standard JDBC API calls instead of trying to use
>> Oracle's proprietary APIs. You may have to use Oracle's connection
>> pooling instead of Tomcat's.
>>
>> - -chris
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.9 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iEYEARECAAYFAkjvXeIACgkQ9CaO5/Lv0PB2vQCfb8amv7/X/UPq6VBllTKh/awT
>> CUIAnRTeS2VG3c6ExUUvagIn67tZPJLi
>> =yyGE
>> -----END PGP SIGNATURE-----
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to