jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Smith (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (JCR-3509) Workspace maxIdleTime parameter not working
Date Thu, 26 Sep 2013 16:34:03 GMT

    [ https://issues.apache.org/jira/browse/JCR-3509?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13778949#comment-13778949
] 

Marcus Smith edited comment on JCR-3509 at 9/26/13 4:32 PM:
------------------------------------------------------------

hi, regarding this issue.  How is WorkspaceInfo.active ever set back to false after it is
set to true?  I've traced the code from SessionInfo.logout() and do not see active being set
to false, no matter how many
active sessions i have (i have debugged the case of zero sessions....active is never false).
 This prevents WorkspaceInfo.disposeIfIdle() from ever executing past the if statement on
line 2123 in RepositoryImpl.  Have I missed something????  Thanks for the help!
                
      was (Author: marcussmith):
    hi, regarding this issue.  How is WorkspaceInfo.active ever set back to false after it
is set to true?  I've traced the code from SessionInfo.logout() and do not see active being
set to false, no matter how many
active sessions i have (i have debugged the case of zero sessions....active is never false).
 This prevents WorkspaceInfo.disposeIfIdle() from ever executing past "if (!initialized ||
active)".  Have I missed something????  Thanks for the help!
                  
> 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
>            Priority: Minor
>         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

Mime
View raw message