Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
4.5.10
-
None
-
None
Description
The MainClientExec closes the connectionManager in the execute method whenever a java error is received. In my case an OutOfMemoryError was thrown. This ended in a client instance no longer usable cause the pool was already shut down. And therefore the real error (OutOfMemoryError) was covered by many "Connection pool shut down" exceptions.
I agree that the OutOfMemoryError is a severe issue which should be covered somehow. But closing the pool is unexpected here.
Is there a chance to remove the closing part and keep the pool running in error case?