You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Jukka Zitting (JIRA)" <ji...@apache.org> on 2006/03/15 18:07:28 UTC

[jira] Created: (JCR-353) TransientRepository does not shutdown if first login fails

TransientRepository does not shutdown if first login fails
----------------------------------------------------------

         Key: JCR-353
         URL: http://issues.apache.org/jira/browse/JCR-353
     Project: Jackrabbit
        Type: Bug
  Components: core  
    Versions: 1.0, 0.9    
    Reporter: Jukka Zitting
 Assigned to: Jukka Zitting 
    Priority: Minor
     Fix For: 1.1


The TransientRepository.login() method initializes the underlying repository when it is first called (initially or after the repository has previously been shut down) bug doesn't shut down the initialized repository if the login fails. If the application then decides to exit or otherwise not start another session, then the repository remains in an initialized state with no active sessions.

This issue should be fixed by properly handling login failures in the TransientRepository.login() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (JCR-353) TransientRepository does not shutdown if first login fails

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-353?page=all ]
     
Jukka Zitting resolved JCR-353:
-------------------------------

    Resolution: Fixed

Fixed in revision 386114.

> TransientRepository does not shutdown if first login fails
> ----------------------------------------------------------
>
>          Key: JCR-353
>          URL: http://issues.apache.org/jira/browse/JCR-353
>      Project: Jackrabbit
>         Type: Bug
>   Components: core
>     Versions: 1.0, 0.9
>     Reporter: Jukka Zitting
>     Assignee: Jukka Zitting
>     Priority: Minor
>      Fix For: 1.1

>
> The TransientRepository.login() method initializes the underlying repository when it is first called (initially or after the repository has previously been shut down) bug doesn't shut down the initialized repository if the login fails. If the application then decides to exit or otherwise not start another session, then the repository remains in an initialized state with no active sessions.
> This issue should be fixed by properly handling login failures in the TransientRepository.login() method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira