log.info( "Successful bind of " + service.getName() + " Service completed: " + ldapService );
log.info( "Successful bind of an LDAP Service (" + port + ") is complete." );
    private void startLDAP0( ServerStartupConfiguration cfg, Hashtable env, Service service,        IoFilterChainBuilder chainBuilder ) throws LdapNamingException, LdapConfigurationException    {        // Register all extended operation handlers.        LdapProtocolProvider protocolProvider = new LdapProtocolProvider( ( Hashtable ) env.clone() );        for ( Iterator i = cfg.getExtendedOperationHandlers().iterator(); i.hasNext(); )        {            ExtendedOperationHandler h = ( ExtendedOperationHandler ) i.next();            protocolProvider.addExtendedOperationHandler( h );            log.info( "Added Extended Request Handler: " + h.getOid() );            h.setLdapService( service );            h.setServiceRegistry( minaRegistry );            h.setLdapProvider( protocolProvider );            DirectoryPartitionNexus nexus = directoryService.getConfiguration().getPartitionNexus();            nexus.registerSupportedExtensions( h.getExtensionOids() );        }        try        {            // Disable the disconnection of the clients on unbind            IoAcceptor acceptor = minaRegistry.getAcceptor( service.getTransportType() );            acceptor.setDisconnectClientsOnUnbind( false );            ( ( SocketAcceptor ) acceptor ).setReuseAddress( true );            minaRegistry.bind( service, protocolProvider.getHandler(), chainBuilder );            ldapService = service;            if ( log.isInfoEnabled() )            {                log.info( "Successful bind of " + service.getName() + " Service completed: " + ldapService );            }        }        catch ( IOException e )        {            String msg = "Failed to bind the " + service.getName() + " protocol service to the service registry: "                + service;            LdapConfigurationException lce = new LdapConfigurationException( msg );            lce.setRootCause( e );            log.error( msg, e );            throw lce;        }    }