From users-return-2665-apmail-directory-users-archive=directory.apache.org@directory.apache.org Mon Aug 31 15:45:40 2009 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 2818 invoked from network); 31 Aug 2009 15:45:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 31 Aug 2009 15:45:40 -0000 Received: (qmail 94118 invoked by uid 500); 31 Aug 2009 15:45:40 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 94053 invoked by uid 500); 31 Aug 2009 15:45:40 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 94043 invoked by uid 99); 31 Aug 2009 15:45:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 15:45:40 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of elecharny@gmail.com designates 74.125.78.26 as permitted sender) Received: from [74.125.78.26] (HELO ey-out-2122.google.com) (74.125.78.26) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 31 Aug 2009 15:45:30 +0000 Received: by ey-out-2122.google.com with SMTP id 4so1066964eyf.9 for ; Mon, 31 Aug 2009 08:45:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=UUIXXy0Zbu0fDU6FFqV2gZbZMJvh7HarPVO7+r0lAaQ=; b=wmdjvcRPejk30+Yx9XZNi7lL+ztwLdp01jKlsKJMi9Q5W9hqNiU4HUT+2zoJW9RsUF RvsPpys8mSQsJ0oEc9d+re56oqDRnlJh16S+SoBT0Glf5YiLLd1ZTcsx5EIxW6IzJCKO HG9d84YuYF+axQreTdejNSGvKZMZ6TZ/lSg9E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; b=re0KZf9UrcbGfK4C3oSZaMH+llLOxWzP6bBTIiJgbmU5QJq/pA5HLv4KjVHWBB7wKZ DC/SRMcXq/Eww/T25Tmvp4RdwGQU0l8DQpDm7KHwEW9LB0lvbfYTc7GiKNhtRLbxeORr qsXCVugDhuRoEMzEzWuRmlxfhG9gPTp45o7zE= Received: by 10.211.178.14 with SMTP id f14mr4701270ebp.10.1251733509038; Mon, 31 Aug 2009 08:45:09 -0700 (PDT) Received: from ?192.168.0.51? (lon92-10-78-226-4-211.fbx.proxad.net [78.226.4.211]) by mx.google.com with ESMTPS id 5sm31584eyh.18.2009.08.31.08.45.07 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 31 Aug 2009 08:45:08 -0700 (PDT) Sender: Emmanuel Lecharny Message-ID: <4A9BEFFF.8080308@nextury.com> Date: Mon, 31 Aug 2009 17:45:03 +0200 From: Emmanuel Lecharny User-Agent: Thunderbird 2.0.0.23 (X11/20090817) MIME-Version: 1.0 To: users@directory.apache.org Subject: Re: [ANNOUNCE] Apache Directory Server 1.5.5 released References: <748269209.5167711251732321914.JavaMail.root@zimbra3-e1.priv.proxad.net> In-Reply-To: <748269209.5167711251732321914.JavaMail.root@zimbra3-e1.priv.proxad.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org jfmelian@free.fr wrote: > Emmanuel Lecharny wrote: > > Apache Directory Server 1.5.5 released ! > > ---------------------------------------- > > > > The Apache Directory team is proud to announce that the long > expected > > 1.5.5 version has been released yesterday. > > > > Downloads are available at > > http://directory.apache.org/apacheds/1.5/downloads.html > > > Migration from rev 772090 (snapshot 1.5.5) to 1.5.5 > > We have embedded the server: > > - LdapService has been renamed to LdapServer : setTcpTransport and setEnableLdaps have been removed > how to start ldap server now ? > below the code with LdapService > > ldapService.setDirectoryService(service); > ldapService.setTcpTransport(new TcpTransport(iPort)); > ldapService.setAllowAnonymousAccess(allowAnonymousAccess); > ldapService.setEnableLdaps(useSSL); > > if (useSSL) > { > // to specify a certificate > // If not then auto generated certificate > if ((keyStorePath != null) && (keyStorePath.length() > 0)) > { > ldapService.setKeystoreFile(keyStorePath); > if ((certificatePassword != null) > && (certificatePassword.length() > 0)) > ldapService.setCertificatePassword(certificatePassword); > } > } > > service.setDenormalizeOpAttrsEnabled(true); > > // And start the service > service.startup(); > ldapService.start(); > here is the way we start the server : // Start the directory service if not started yet directoryService.startup(); // Start the LDAP server ldapServer.start(); You have to feed the Transports before, as they are launched in the ldapServer.start() method : public void start() throws Exception { for ( Transport transport:transports ) { if ( !(transport instanceof TcpTransport ) ) { LOG.warn( "Cannot listen on an UDP transport : {}", transport ); continue; } IoFilterChainBuilder chain; if ( transport.isSSLEnabled() ) { loadKeyStore(); chain = LdapsInitializer.init( keyStore, certificatePassword ); } else { chain = new DefaultIoFilterChainBuilder(); } ((DefaultIoFilterChainBuilder)chain).addLast( "codec", new ProtocolCodecFilter( this.getProtocolCodecFactory() ) ); ((DefaultIoFilterChainBuilder)chain).addLast( "executor", new ExecutorFilter( new UnorderedThreadPoolExecutor( transport.getNbThreads() ), IoEventType.MESSAGE_RECEIVED ) ); /* * The server is now initialized, we can * install the default requests handlers, which need * access to the DirectoryServer instance. */ installDefaultHandlers(); startNetwork( transport, chain ); } started = true; } (this is done automatically, you don't have to do anything but instanciating the transports) > > - is Jetty mandatory ? > if not, jetty-6.1.14.jar, jetty-util-6.1.14.jar and apacheds-http-integration-1.5.5.jar can be removed ?*** > Kiran ? > - where I can found apacheds-core-cursor-1.5.5.jar ? > It has been moved to shared-cursor-0.9.15 -- -- cordialement, regards, Emmanuel Lécharny www.iktek.com directory.apache.org