>> When I define a in context.xml and set maxWait to
>> 2000 ms , sometimes datasource.getConnection() method lasts 15
>> seconds.
>>
>> I've to define loginTimeout parameter in JDBC driver to get the
>> effect that I want : a timeout retrieving a Connectio
On 30/04/2013 12:59, Jose María Zaragoza wrote:
> Hello:
>
> I'm using Tomcat 6.0.23
> I'm using DBCP library to pooling database connections.
>
> When I define a in context.xml
> and set maxWait to 2000 ms ,
> sometimes datasource.getConnection() method las
Hello:
I'm using Tomcat 6.0.23
I'm using DBCP library to pooling database connections.
When I define a in context.xml
and set maxWait to 2000 ms ,
sometimes datasource.getConnection() method lasts 15 seconds.
I've to define loginTimeout parameter in JDBC driver to get the eff
ormation seulement et n'aura
> pas n'importe quel effet légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > From: arvindw...@gm
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: arvindw...@gmail.com
> Date: Mon, 25 May 2009 21:53:02 +0530
> Subject: Re: maxwait in dbconnetion is not workiing for first time.
> To: users@tomcat.apache.org
>
ou la copie
>> de ceci est interdite. Ce message sert à l'information seulement et n'aura
>> pas n'importe quel effet légalement obligatoire. Étant donné que les email
>> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
>> aucune r
t légalement obligatoire. Étant donné que les email
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
> aucune responsabilité pour le contenu fourni.
>
>
>
>
> > From: arvindw...@gmail.com
> > Date: Mon, 18 May 2009 16:55:30 +0530
> > Subj
mation seulement et n'aura pas n'importe
quel effet légalement obligatoire. Étant donné que les email peuvent facilement
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> From: arvindw...@gmail.com
> Date: Mon, 18 May 2009 16:55
This time i have problem in maxwait. To test the maxwait i tried to
establish the connection and close.
My dbserver is located outside my system, so for dbconnection network is
required as per our Production server model.
So first i established the connection first from the jsp page, it gets done