Quantcast

What is the exact meaning of the field "badConnectionCount" of PoolState?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

What is the exact meaning of the field "badConnectionCount" of PoolState?

js.kim
Hi, I have an application server and using mybatis 3.0.5 to connect to
MySql DB.
It works well but someday I found that the field "badConnectionCount"
of PoolState was not zero.
Is it means that some connections in a mybatis connection pool are
invalid and they just hold DB connection resources?

thanks for reading
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: What is the exact meaning of the field "badConnectionCount" of PoolState?

Eduardo Macarron
No. It means that there has been invalid conections that have been
closed (if possible) and discarded.

On 19 mar, 03:38, "js.kim" <[hidden email]> wrote:
> Hi, I have an application server and using mybatis 3.0.5 to connect to
> MySql DB.
> It works well but someday I found that the field "badConnectionCount"
> of PoolState was not zero.
> Is it means that some connections in a mybatis connection pool are
> invalid and they just hold DB connection resources?
>
> thanks for reading
Loading...