Several race conditions in object pool disposal and shutdown

Description

There are several race conditions in connector pool disposal that cause a connector instance is never disposed of (connection left open). This happens under quite a rare circumstances, but it does happen. Can be sometimes reproduced by connector configuration, "testing" and disposal in many parallel threads.

See also: https://jira.evolveum.com/browse/MID-5068

Environment

None

Status

Assignee

Radovan Semancik

Reporter

Radovan Semancik

Labels

None

Fix versions

Affects versions

1.5.0.0
1.4.5.1
1.5.0.1

Priority

Major
Configure