For activemq ra component in file
/org/apache/activemq/ra/ServerSessionPoolImpl.java
in method returnToPool
if activeSessions.remove(ss); fails then sessionLock remeins locked.
Proposed patch is attached
public void returnToPool(ServerSessionImpl ss) {
sessionLock.lock();
activeSessions.remove(ss);
try {
// make sure we only return non-stale sessions to the pool
commit-57715f7.commit-57715f7
<http://activemq.2283324.n4.nabble.com/file/n4729054/commit-57715f7.commit-57715f7>
--
View this message in context:
http://activemq.2283324.n4.nabble.com/sessionLock-remains-locked-on-activeSessions-remove-fail-tp4729054.html
Sent from the ActiveMQ - Dev mailing list archive at Nabble.com.