|
|
|
@ -2012,6 +2012,9 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
|
|
|
|
LOG.error("create connection error", e); |
|
|
|
|
// unknow fatal exception
|
|
|
|
|
setFailContinuous(true); |
|
|
|
|
if (breakAfterAcquireFailure) { |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
} catch (Error e) { |
|
|
|
|
lock.lock(); |
|
|
|
@ -2128,6 +2131,9 @@ public class DruidDataSource extends DruidAbstractDataSource implements DruidDat
|
|
|
|
|
} catch (RuntimeException e) { |
|
|
|
|
LOG.error("create connection error", e); |
|
|
|
|
setFailContinuous(true); |
|
|
|
|
if (breakAfterAcquireFailure) { |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
continue; |
|
|
|
|
} catch (Error e) { |
|
|
|
|
LOG.error("create connection error", e); |
|
|
|
|