[
https://issues.apache.org/jira/browse/DBCP-472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tony Schwartz updated DBCP-472:
-------------------------------
Description: There is an infinite loop in
PoolableConnection.isDisconnectionSqlException. If e.getNextException() == e,
which happens to be the case for me (I'm mybatis). I think there should be a
check around line 329 to see if e == e.getNextException() and if so, stop
recursing. (was: There is an infinite loop in
PoolableConnection.isDisconnectionSqlException. If e.getNextException== e,
which happens to be the case for me (I'm mybatis). I think there should be a
check around line 329 to see if e == e.getNextException() and if so, stop
recursing.)
> infinite loop in PoolableConnection.isDisconnectionSqlException
> ---------------------------------------------------------------
>
> Key: DBCP-472
> URL: https://issues.apache.org/jira/browse/DBCP-472
> Project: Commons Dbcp
> Issue Type: Bug
> Affects Versions: 2.1.1
> Reporter: Tony Schwartz
>
> There is an infinite loop in PoolableConnection.isDisconnectionSqlException.
> If e.getNextException() == e, which happens to be the case for me (I'm
> mybatis). I think there should be a check around line 329 to see if e ==
> e.getNextException() and if so, stop recursing.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)