[jira] Closed: (DIRSERVER-322) Problem with the shutdown sequence.
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Closed: (DIRSERVER-322) Problem with the shutdown sequence.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Closed: (DIRSERVER-322) Problem with the shutdown sequence.  
Emmanuel Lecharny (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-21-07 12:11 PM


[ https://issues.apache.org/jira/brow...ls:all-tabpanel ]

Emmanuel Lecharny closed DIRSERVER-322.
---------------------------------------


Closing all issues created in 2005 and before which are marked resolved

> Problem with the shutdown sequence.
> -----------------------------------
>
>                 Key: DIRSERVER-322
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-322
>             Project: Directory ApacheDS
>          Issue Type: Bug
>            Reporter: Tony Blanchard
>         Assigned To: Trustin Lee
>            Priority: Minor
>
> In  AbstractContextFactory:getInitialContext

> 1-gets the DefaultContextFactoryService and asks it to shutdown.
>     1-1-DefaultContextFactoryService shuts down and reset startupConfigura
tion field
> 2- asks the DefaultContextFactoryService to getInitialContext and uses che
ckSecuritySettings before returning DeadContext
>   2-1 checkSecuritySettings uses startupConfiguration field and throws Nul
lPointerException...
> To pass this problem I made a temporary change to the DefaultContextFactor
yService by commenting the startupConfiguration = null; in the finally block
 of shutdown() method.
> Instead, I putted this code in the getJNDIContext method  :
> "checkSecuritySettings[...]
> if (!started)
> {
>    startupConfiguration = null; //New code
>   return DeadContext();
> }"
>  I made this because using afterShutdown hook is to early in sequence and 
I think only an authentified guy should shutdown the server...
> On more thing is that it seams there is no test about shutdowning server a
nd then make a call to an operation on it to produce an exception.
> Best regards,
> Tony

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:57 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register