Deadlock shutting down transient repository
-------------------------------------------
Key: JCR-990
URL: https://issues.apache.org/jira/browse/JCR-990
Project: Jackrabbit
Issue Type: Bug
Components: locks
Affects Versions: 1.3
Reporter: Carlos Sanchez
calling JackrabbitRepository.shutdown this is the call stack
RepositoryImpl.shutdown
RepositoryImpl.doShutdown
then calls logout in all active sessions
for each session logout it calls TransientRepository.loggedOut
if there are no more sessions stopRepository() is called
stopRepository() calls again RepositoryImpl.shutdown, and
shutdownLock.writeLock().acquire() hangs
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.