in spring-apacheds/src/main/java/org/apache/archiva/components/apacheds/DefaultApacheDs.java [253:272]
    public void stopServer( )
        throws Exception
    {
        if ( stopped )
        {
            throw new Exception( "Already stopped." );
        }
        logger.info( "Stopping Apache Directory Server server." );
        sync( );
        stopped = true;
        Hashtable env = new Hashtable( );
        env.putAll( new ShutdownConfiguration( ).toJndiEnvironment( ) );
        new InitialDirContext( env );
        logger.info( "Apache Directory Server server stopped." );
    }