Well, REsource A works nice. When I startup Tomcat, are created 5 new
database connections.
Resource B allows connections to be created, but without pooling.

I'm without ideas! Please, could u help me?

---->>> Resource A
<Resource name="ehr" auth="Container"
             type="javax.sql.DataSource" driverClassName="
oracle.jdbc.driver.OracleDriver"
             url="jdbc:oracle:thin:@192.168.1.244:1521:MIGRA03"
             username="alert_viewer" password="alert" initialSize="5"
maxActive="50" maxIdle="10" minIdle="5"
             maxWait="-1" defaultAutoCommit="false" />

---->>> Resource B
<Resource name="ehr" auth="Container"
            * type="oracle.jdbc.pool.OracleDataSource"  *  *
driverClassName="oracle.jdbc.OracleDriver"*
   *factory="oracle.jdbc.pool.OracleDataSourceFactory"  *
             url="jdbc:oracle:thin:@192.168.1.244:1521:MIGRA03"
             *user*="alert_viewer" password="alert" initialSize="5"
maxActive="50" maxIdle="10" minIdle="5"
             maxWait="-1" defaultAutoCommit="false" />



On Jan 11, 2008 2:40 PM, Caldarale, Charles R <[EMAIL PROTECTED]>
wrote:
> > From: Andrew Hole [mailto:[EMAIL PROTECTED]
> > Subject: Re: Datasource Property Parameters (Oracle) JNDI
> >
> > I don't see examples with initial size of pool! Exists some default
> > value for pool initial size??
>
> To quote from the doc:
> "See the DBCP documentation for a complete list of configuration
> parameters."
> http://commons.apache.org/dbcp/configuration.html
>
>
>  - Chuck
>
>
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
>
> ---------------------------------------------------------------------
> 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