proto = new LdapProtocolProvider();
proto = new LdapProtocolProvider( initialEnv );
    private void startUpWireProtocol() throws NamingException    {        proto = new LdapProtocolProvider();        try        {            fe = ( DefaultFrontend ) new DefaultFrontendFactory().create();        }        catch ( Exception e )        {            String msg = "Failed to initialize the frontend subsystem!";            NamingException ne = new EveConfigurationException( msg );            ne.setRootCause( e );            ne.setResolvedName( new LdapName( ( String ) initialEnv.get( Context.PROVIDER_URL ) ) );            throw ne;        }        int port = PropertiesUtils.get( initialEnv, EVE_LDAP_PORT, LDAP_PORT );        srvEntry = new InetServiceEntry( proto.getName(), port, proto, TransportTypeEnum.TCP );        ( ( DefaultInetServicesDatabase ) fe.getInetServicesDatabase()).addEntry( srvEntry );        try        {            tcpConfig = new TCPListenerConfig( InetAddress.getLocalHost(), srvEntry );        }        catch ( UnknownHostException e )        {            e.printStackTrace();            String msg = "Could not recognize the host!";            EveConfigurationException e2 = new EveConfigurationException( msg );            e2.setRootCause( e );        }        try        {            fe.getTCPListenerManager().bind( tcpConfig );        }        catch ( IOException e )        {            e.printStackTrace();            String msg = "We failed to bind to the port!";            EveConfigurationException e2 = new EveConfigurationException( msg );            e2.setRootCause( e );        }    }