You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Alex Karasulu (JIRA)" <di...@incubator.apache.org> on 2004/11/13 20:23:34 UTC

[jira] Resolved: (DIREVE-83) Return non-null context on shutdown request

     [ http://nagoya.apache.org/jira/browse/DIREVE-83?page=history ]
     
Alex Karasulu resolved DIREVE-83:
---------------------------------

    Resolution: Fixed

A new LdapContextImplementation called DeadContext is returned when the system is shutdown now.  The context prevents an exception while shuting down but it will through LdapServiceUnavailableExceptions when used after the shutdown.  A new InitialContext is required to restart the system after the shutdown.

> Return non-null context on shutdown request
> -------------------------------------------
>
>          Key: DIREVE-83
>          URL: http://nagoya.apache.org/jira/browse/DIREVE-83
>      Project: Directory Eve
>         Type: Bug
>   Components: jndi-provider
>     Reporter: Alex Karasulu
>     Assignee: Alex Karasulu
>     Priority: Critical

>
> We can still return a non-null JNDI context yet prevent users from using that context.  We can make it a dummy context which throws system shutdown exceptions where a new request for an initial context would need to fire the system back up again.  This will prevent some very nasty code to handle exceptions in the standard case.  Users will hate this if it sticks around.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira