jdbc - how to handle java.sql.SQLRecoverableException -


we getting exception of java.sql.sqlrecoverableexception: no more data read socket in our application, making connection corrupted. after this, not able fetch connection connection pool , displaying error connection closed. mitigating issue restarting server. found root cause of issue in 1 area of our application, calling procedure calling external db link , if external db down, 'java.sql.sqlrecoverableexception: no more data read socket` expected behavior.

here problem is: procedure calling part of application, affecting whole connections in connection pool. there way handle exception in specific part (where exception thrown) should not affect connection pool?

note: code closing connection implemented in code.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -