How to remove invalid database connection from pool

后端 未结 4 1986
广开言路
广开言路 2021-02-08 06:22

I am using connection pooling of tomcat with oracle database. It is working fine, but when i use my application after a long time it is giving

4条回答
  •  面向向阳花
    2021-02-08 07:09

    Try closing it and opening it if it's invalid. I mean u would reinitialize it in this way so u won't need to remove it from the pool and reuse it.

提交回复
热议问题