From users-return-2668-apmail-directory-users-archive=directory.apache.org@directory.apache.org Wed Sep 02 08:29:38 2009 Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 78564 invoked from network); 2 Sep 2009 08:29:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Sep 2009 08:29:38 -0000 Received: (qmail 37450 invoked by uid 500); 2 Sep 2009 08:29:38 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 37380 invoked by uid 500); 2 Sep 2009 08:29:38 -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 37370 invoked by uid 99); 2 Sep 2009 08:29:38 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:29:38 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [212.27.42.91] (HELO wmproxy1-g27.free.fr) (212.27.42.91) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2009 08:29:27 +0000 Received: from wmproxy1-g27.free.fr (localhost [127.0.0.1]) by wmproxy1-g27.free.fr (Postfix) with ESMTP id A4005334D for ; Wed, 2 Sep 2009 10:29:06 +0200 (CEST) Received: from zimbra3-e1.priv.proxad.net (zimbra3-e1.priv.proxad.net [172.20.243.153]) by wmproxy1-g27.free.fr (Postfix) with ESMTP id 8444F3597 for ; Wed, 2 Sep 2009 10:29:06 +0200 (CEST) Date: Wed, 2 Sep 2009 10:29:07 +0200 (CEST) From: jfmelian@free.fr To: users@directory.apache.org Message-ID: <1747059696.5518481251880147598.JavaMail.root@zimbra3-e1.priv.proxad.net> In-Reply-To: <1068852073.5517991251880041241.JavaMail.root@zimbra3-e1.priv.proxad.net> Subject: Re: [ANNOUNCE] Apache Directory Server 1.5.5 released MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [198.8.67.3] X-Mailer: Zimbra 5.0 (ZimbraWebClient - FF3.0 (Win)/5.0.15_GA_2815.UBUNTU8_64) X-Authenticated-User: jfmelian@free.fr X-Virus-Scanned: ClamAV using ClamSMTP X-Virus-Checked: Checked by ClamAV on apache.org I don't used Postal Adress but I have this message at startup : 01.09.2009 18:33:08.705 [ERROR] attributeType w/ OID 2.5.4.16 not registere= d! (DefaultAttributeTypeRegistry.java, line 192, class org.apache.directory= .server.schema.registries.DefaultAttributeTypeRegistry) ----- jfmelian@free.fr a =C3=A9crit : | thanks=20 |=20 |=20 | ----- "Emmanuel Lecharny" a =C3=A9crit : |=20 | | jfmelian@free.fr wrote: | | > Emmanuel Lecharny wrote: | | > > Apache Directory Server 1.5.5 released ! | | > > ---------------------------------------- | | > >=20 | | > > The Apache Directory team is proud to announce that the long | | > expected=20 | | > > 1.5.5 version has been released yesterday. | | > >=20 | | > > Downloads are available at=20 | | > > http://directory.apache.org/apacheds/1.5/downloads.html | | > =20 | | > | | > 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 !=3D null) && (keyStorePath.length() > | 0)) | | > { | | > ldapService.setKeystoreFile(keyStorePath); | | > if ((certificatePassword !=3D null) | | > && (certificatePassword.length() > 0)) | | > =20 | | ldapService.setCertificatePassword(certificatePassword); | | > } | | > } | | > | | > service.setDenormalizeOpAttrsEnabled(true); | | > | | > // And start the service | | > service.startup(); | | > ldapService.start(); | | > =20 | |=20 | | here is the way we start the server : | |=20 | | // Start the directory service if not started yet | | directoryService.startup(); | |=20 | | // Start the LDAP server | | ldapServer.start(); | |=20 | | You have to feed the Transports before, as they are launched in the |=20 | | ldapServer.start() method : | |=20 | | public void start() throws Exception | | { | | for ( Transport transport:transports ) | | { | | if ( !(transport instanceof TcpTransport ) ) | | { | | LOG.warn( "Cannot listen on an UDP transport : {}", |=20 | | transport ); | | continue; | | } | | =20 | | IoFilterChainBuilder chain; | | =20 | | if ( transport.isSSLEnabled() ) | | { | | loadKeyStore(); | | chain =3D LdapsInitializer.init( keyStore,=20 | | certificatePassword ); | | } | | else | | { | | chain =3D new DefaultIoFilterChainBuilder(); | | } | | =20 | | ((DefaultIoFilterChainBuilder)chain).addLast( "codec", | | new ProtocolCodecFilter(=20 | | this.getProtocolCodecFactory() ) ); | | =20 | | ((DefaultIoFilterChainBuilder)chain).addLast( | "executor", | | new ExecutorFilter( | | new UnorderedThreadPoolExecutor(=20 | | transport.getNbThreads() ), | | IoEventType.MESSAGE_RECEIVED ) ); | |=20 | | /* | | * The server is now initialized, we can | | * install the default requests handlers, which need | | * access to the DirectoryServer instance. | | */ | | installDefaultHandlers(); =20 | |=20 | | startNetwork( transport, chain ); | | } | | =20 | | started =3D true; | | } | |=20 | | (this is done automatically, you don't have to do anything but=20 | | instanciating the transports) | |=20 | | > | | > - 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 ?*** | | > =20 | | Kiran ? | |=20 | | > - where I can found apacheds-core-cursor-1.5.5.jar ?=20 | | > =20 | | It has been moved to shared-cursor-0.9.15 | |=20 | |=20 | | --=20 | | -- | | cordialement, regards, | | Emmanuel L=C3=A9charny | | www.iktek.com | | directory.apache.org