Server won't shutdown due to SessionManager
Brought to you by:
agrebnev,
perez_martin
Using current SVN content (1.2 codebase), the server won't shutdown properly due to SessionManager's session eviction thread still runnning.
I think you should keep a reference to the ScheduledExecutorService instance and add a shutdown() method to the SessionManager that call's the ExecutorService's shutdown().
Finally add a call to SessionManager.shutdown() in the shutdownRepository() method of the JCRSecurityService class.