-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meaning of "Value was returned to the bag that was not borrowed"? #69
Comments
Wow, what is going on? I see |
Looking at the exception itself, it appears that someone is calling |
We aren't actually using two pools; we've written a wrapper around jdbc which uses hystrix to fail over to another datasource if one is having issues. The mchange class is a simple delegating wrapper so we didn't have to implement the 50-odd methods of the JDBC connection interface. |
I see. The core cause of the exception seems to be as stated. Some code path is closing a Connection but continuing to use it. The stacktrace provided may point to the cause or it may point to the victim. |
Thanks! |
I'm occasionally seeing the following error from my app:
What could cause this error to occur? Is this indicative of a connection leak?
The text was updated successfully, but these errors were encountered: