[ https://issues.apache.org/jira/browse/JCR-3509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13576708#comment-13576708 ] Stefan Guggisberg commented on JCR-3509: ---------------------------------------- bq. It should rather be if (!initialized || !active) { no, the if-statement is correct, see JCR-3514. please note that a workspace won't be automatically disposed if there's at least one session connected to it. make sure you call Session#logout if you're done. > Workspace maxIdleTime parameter not working > ------------------------------------------- > > Key: JCR-3509 > URL: https://issues.apache.org/jira/browse/JCR-3509 > Project: Jackrabbit Content Repository > Issue Type: Bug > Components: config > Affects Versions: 2.4.3 > Environment: JSF, SPRING > Reporter: Sarfaraaz ASLAM > Attachments: derby.jackrabbit.repository.xml, JcrConfigurer.java > > > would like to set the maximum number of seconds that a workspace can remain unused before the workspace is automatically closed through maxIdleTime parameter but this seems not to work. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira