You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2009/02/15 14:35:00 UTC
[jira] Closed: (DIRSERVER-290) Allow the installation of the
shutdown handler to be optional for embedded servers
[ https://issues.apache.org/jira/browse/DIRSERVER-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-290.
---------------------------------------
closed
> Allow the installation of the shutdown handler to be optional for embedded servers
> ----------------------------------------------------------------------------------
>
> Key: DIRSERVER-290
> URL: https://issues.apache.org/jira/browse/DIRSERVER-290
> Project: Directory ApacheDS
> Issue Type: Improvement
> Affects Versions: pre-1.0
> Environment: Windows/UNIX JDK 1.4 - Embedded server within JBoss
> Reporter: Simon Temple
> Assignee: Alex Karasulu
> Priority: Minor
> Fix For: 1.0-RC1
>
>
> 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 shutdown
> 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.
-
You can reply to this email to add a comment to the issue online.