[jira] Resolved: (DIREVE-330) Allow the installation of the
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] Resolved: (DIREVE-330) Allow the installation of the




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

    [jira] Resolved: (DIREVE-330) Allow the installation of the  
Alex Karasulu (JIRA)


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


 
01-30-06 01:46 AM

[ http://issues.apache.org/jira/brows...VE-330?page=all ]

Alex Karasulu resolved DIREVE-330:
----------------------------------

Fix Version: 0.9.4
Resolution: Fixed

Committed revision 373292.

Now you can add the following to your configuration:

<bean id="configuration" class="org.apache.ldap.server.configuration.Mutable
ServerStartupConfiguration">
<property name="shutdownHookEnabled"><value>false</value></property>
...

This will prevent the shutdown hook from being registered.  When starting pr
ogramatically in embedded configurations just call setShutdownHookEnabled(fa
lse) on the MutableStartupConfiguration or the MutableServerStartupConfigura
tioin.

> Allow the installation of the shutdown handler to be optional for embedded
 servers
> --------------------------------------------------------------------------
--------
>
>          Key: DIREVE-330
>          URL: http://issues.apache.org/jira/browse/DIREVE-330
>      Project: Directory Server
>         Type: Improvement
>   Components: server main
>     Versions: 0.9.4
>  Environment: Windows/UNIX JDK 1.4 - Embedded server within JBoss
>     Reporter: Simon Temple
>     Assignee: Alex Karasulu
>     Priority: Minor
>      Fix For: 0.9.4

>
> I am using the directory embedded in JBoss.  When we shutdown JBoss our
> application services need to remove certain entries from the directory.
> Unfortunately the shutdown handler in DefaultDirectoryServices closes Eve
> out before we get chance to finish and we get errors:
> org.apache.ldap.common.exception.LdapServiceUnavailableException:
> Context operation unavailable when invoked after Eve provider has been
> shutdown
> When our services finally stop, we stop the directory using the
> ShutdownConfiguration class so we don't really need the additional shutdow
n
> thread.
> I've commented out the shutdown hook code and our server is now behaving
> how we want but I don't like running with patched source...

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







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:58 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