Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 68634 invoked from network); 25 Jan 2006 17:52:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jan 2006 17:52:32 -0000 Received: (qmail 52289 invoked by uid 500); 25 Jan 2006 17:52:31 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 52233 invoked by uid 500); 25 Jan 2006 17:52:31 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 52222 invoked by uid 99); 25 Jan 2006 17:52:31 -0000 X-ASF-Spam-Status: No, hits=1.3 required=10.0 tests=SPF_FAIL X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Jan 2006 09:52:30 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 9A155DE for ; Wed, 25 Jan 2006 18:52:09 +0100 (CET) Message-ID: <1279982410.1138211529512.JavaMail.jira@ajax.apache.org> Date: Wed, 25 Jan 2006 18:52:09 +0100 (CET) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIREVE-330) Allow the installation of the shutdown handler to be optional for embedded servers In-Reply-To: <1759139090.1138199469476.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIREVE-330?page=comments#action_12363984 ] Alex Karasulu commented on DIREVE-330: -------------------------------------- Simon this is where we're working on the IETF draft: http://docs.safehaus.org/display/APACHEDS/LDAP+Extensions+for+Graceful+Shutdown It will be implemented very soon in trunk. Emmanuel has alread done all the ASN1 code. I can show you how to use an ExtendedRequest with JNDI to make this work. It's really easy. However just bear with us as we try to get RC1 out the door. Alex > 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 > > 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. - 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