Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 5008 invoked from network); 25 Dec 2006 21:27:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Dec 2006 21:27:09 -0000 Received: (qmail 4361 invoked by uid 500); 25 Dec 2006 21:27:16 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4332 invoked by uid 500); 25 Dec 2006 21:27:15 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 4321 invoked by uid 99); 25 Dec 2006 21:27:15 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2006 13:27:15 -0800 X-ASF-Spam-Status: No, hits=1.4 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: 212.27.42.36 is neither permitted nor denied by domain of elecharny@gmail.com) Received: from [212.27.42.36] (HELO smtp6-g19.free.fr) (212.27.42.36) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Dec 2006 13:27:05 -0800 Received: from [192.168.0.1] (vol75-3-82-66-216-176.fbx.proxad.net [82.66.216.176]) by smtp6-g19.free.fr (Postfix) with ESMTP id 00EB643635 for ; Mon, 25 Dec 2006 22:26:43 +0100 (CET) Message-ID: <45904213.9020105@gmail.com> Date: Mon, 25 Dec 2006 22:26:43 +0100 From: Emmanuel Lecharny Reply-To: elecharny@iktek.com User-Agent: Mozilla Thunderbird 1.0.7 (X11/20050923) X-Accept-Language: fr, en MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: TRIPLESEC various little problems References: <55F1AF46-41F7-49CC-8029-3733EA38AC1A@yahoo.com> In-Reply-To: <55F1AF46-41F7-49CC-8029-3733EA38AC1A@yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org David Jencks a �crit : > I'm running into a few more problems and questions.... > > 1. The wiki page http://cwiki.apache.org/DIRxTRIPLESEC/uuid- > issues.html seems to indicate that some triplesec developers think > that jdk 1.4.2 compatibility should be maintained for a while > longer. Not knowing this my patches have used lots of jdk 1.5 > features, mostly generics. I can't find any discussion of this > decision on the mailing list (doesn't mean it's not there :-). We have switched to Java 5 in trunks. Forget about 1.4.2 compatibility... > So, I propose we move to jdk 1.5 and ask those wanting to run on 1.4 > to use retrotranslator. BTW I didn't look far but it looks to me as > if apache harmony has a UUID implementation. Already switched :) > > 2. After lots of successful builds I discovered -Pintegration and > started running into failures. I find the integration tests don't > take very long so I'd recommend reversing the default and having to > use -Pquick or -Pno-integration for a faster build. I've had 2 sets > of problems: You mean, -Dintegration ? > > a. The store tests failed AFAICT from mismatched shared-ldap > libraries. The ldif files were not getting read in at all. I would be interested to know which shared-ldap you are using. The LdifReader has been totally rewritten for 1.0 > Eventually I gave up trying to understand which jars were being used > and debug through those jars and switched to apacheds 1.5.0-SNAPSHOT > and shared 0.9.6-SNAPSHOT at which point these tests started passing. Ahhh. Make sense. The pom.xml must be cleaned in triplesec, it seems... > > b. The guardian-ldap LdapApplicationPolicyIntegrationTest tests have > failures. Normally I get 3/7 failures. However if I add a sleep here: > > protected void setUp() throws Exception > { > super.setUp(); > Thread.sleep(500); > Properties props = new Properties(); > > I sometimes get more failures: Tests run: 7, Failures: 1, Errors: 6, > Skipped: 0, Time elapsed: 8.809 sec <<< FAILURE! > > I've been unable to figure out what is supposed to be happening and > what is happening. Starting here, I have no answer to your questions ... Alex ? > > Many thanks > david jencks > Emmanuel