WARN [ SessionState ] Attempt to close session-admin-3 after it has already been closed. Please review your code for proper session management during BRMS shutdown

Solution Unverified - Updated -

Issue

  • I get the following WARN messages during BRMS shutdown
10:47:07,627 WARN  [SessionState] Attempt to close session-admin-3 after it has already been closed. Please review your code for proper session management.
java.lang.Exception: Stack trace of the duplicate attempt to close session-admin-3
    at org.apache.jackrabbit.core.session.SessionState.close(SessionState.java:250)
    at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:888)
    at org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:389)
    at org.drools.guvnor.server.repository.RepositoryStartupService.close(RepositoryStartupService.java:176)
...

10:47:07,631 WARN  [SessionState] session-admin-3 has already been closed. See the attached exception for a trace of where this session was closed.
java.lang.Exception: Stack trace of  where session-admin-3 was originally closed
    at org.apache.jackrabbit.core.session.SessionState.close(SessionState.java:245)
    at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:888)
    at org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:389)
    at org.drools.repository.RulesRepository.logout(RulesRepository.java:206)
    at org.drools.repository.RulesRepository.finalize(RulesRepository.java:1903)
    at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
...

10:47:07,634 WARN  [SessionState] Attempt to close session-mailman-4 after it has already been closed. Please review your code for proper session management.
java.lang.Exception: Stack trace of the duplicate attempt to close session-mailman-4
    at org.apache.jackrabbit.core.session.SessionState.close(SessionState.java:250)
    at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:888)
    at org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:389)
    at org.drools.repository.RulesRepository.logout(RulesRepository.java:206)
    at org.drools.guvnor.server.repository.RepositoryStartupService.close(RepositoryStartupService.java:178)
...

10:47:07,643 WARN  [SessionState] session-mailman-4 has already been closed. See the attached exception for a trace of where this session was closed.
java.lang.Exception: Stack trace of  where session-mailman-4 was originally closed
    at org.apache.jackrabbit.core.session.SessionState.close(SessionState.java:245)
    at org.apache.jackrabbit.core.SessionImpl.logout(SessionImpl.java:888)
    at org.apache.jackrabbit.core.XASessionImpl.logout(XASessionImpl.java:389)
    at org.apache.jackrabbit.core.TransientRepository.shutdown(TransientRepository.java:408)
    at org.drools.repository.jackrabbit.JackrabbitRepositoryConfigurator.shutdown(JackrabbitRepositoryConfigurator.java:87)
    at org.drools.repository.RulesRepositoryConfigurator.shutdown(RulesRepositoryConfigurator.java:171)
    at org.drools.guvnor.server.repository.RepositoryShutdownService.contextDestroyed(RepositoryShutdownService.java:46)
...

Can you please let me know the reason behind this?

Environment

  • JBoss Enterprise Business Rules Management System (BRMS)
    • 5.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In