Return-Path: X-Original-To: apmail-directory-api-archive@minotaur.apache.org Delivered-To: apmail-directory-api-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3484918662 for ; Fri, 24 Apr 2015 21:41:14 +0000 (UTC) Received: (qmail 26267 invoked by uid 500); 24 Apr 2015 21:41:14 -0000 Delivered-To: apmail-directory-api-archive@directory.apache.org Received: (qmail 26245 invoked by uid 500); 24 Apr 2015 21:41:14 -0000 Mailing-List: contact api-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: api@directory.apache.org Delivered-To: mailing list api@directory.apache.org Received: (qmail 26232 invoked by uid 99); 24 Apr 2015 21:41:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 21:41:13 +0000 X-ASF-Spam-Status: No, hits=1.0 required=5.0 tests=SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of elecharny@gmail.com does not designate 54.76.25.247 as permitted sender) Received: from [54.76.25.247] (HELO mx1-eu-west.apache.org) (54.76.25.247) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Apr 2015 21:40:46 +0000 Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 05F6925FC2 for ; Fri, 24 Apr 2015 21:40:45 +0000 (UTC) Received: by wgso17 with SMTP id o17so63398705wgs.1 for ; Fri, 24 Apr 2015 14:39:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=V0MWKi+WcP9sXa47c3e+EaZ6vs0NdJbYBR+ZHxoZUXI=; b=Wyr2INxx4tyrS5DZ7e9k+lAT3okqR5Q+zroJvCB4LLYPZB99Cg98kQENZvP3hfLuTB 01OloYSDz3xgo1LHVUI+dnyoTv709k7WWU+xU4Res8MN40x/bZRrPsMw3KBtEJ2+nVeA X/qoHajCcSQ/J2xDymHtifKVAWRD2rM9XubX10n3w29+svuN/ROgAZNabFZEB3AZ/0bq 3T0fQutWlstIFevdr0egd+9c74lcYMfroULy1mDR2Ao0HbygrN65jfggKCIu/gnikYcB 6bB4bgR5+Fr5kXfKaMjrnA1BaHSfU7nKOX91yDDNbwNf5rvxqoc73Mx08NiLnxrQnLbS Ylyw== X-Received: by 10.194.5.74 with SMTP id q10mr717124wjq.27.1429911554793; Fri, 24 Apr 2015 14:39:14 -0700 (PDT) Received: from [192.168.1.13] (i19-les01-ix2-212-195-127-200.sfr.lns.abo.bbox.fr. [212.195.127.200]) by mx.google.com with ESMTPSA id gj7sm751682wib.4.2015.04.24.14.39.13 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Apr 2015 14:39:13 -0700 (PDT) Message-ID: <553AB800.6090803@gmail.com> Date: Fri, 24 Apr 2015 23:39:12 +0200 From: =?UTF-8?B?RW1tYW51ZWwgTMOpY2hhcm55?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: api@directory.apache.org Subject: Re: Upgrade Issues / Dealing with OSGI References: <5539DB0A.8010606@stefan-seelmann.de> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org Le 24/04/15 21:05, Gregory Chanan a écrit : > Stefan: How do I tell if I'm in an OSGi environment or not? I don't know > much about OSGi and I don't think I am using it (at least, I haven't done > anything specific in the application to turn on OGSi). I just thought OSGI > might be the issue because it looked like a classloader issue and I saw > osgi in the package name. Is there any harm in using the > DefaultLdapCodecService over the StandaloneLdapApiService even if I'm not > in an OSGi environment? What's the difference? Not surre what the pb can be, but with the getters/setters, its hsould be saved > > Emmanuel: thanks for the fix, I'm still trying to test it; running into > some mvn versioning issues. Is there a guide for what version of directory > server I need to use with which version of the ldap api? I'm using M15 > directory server versions and M30-SNAPSHOT ldap apis. With this, I get > NoSuchMethodError on the functions you added (because the > api-ldap-codec-core gets pulled in as M20 from a server dependency); if I > change the order of the dependencies I get java.lang.NoClassDefFoundError: > org/apache/directory/api/ldap/schemaloader/SchemaEntityFactory. Due to the various changes made in both projects, you have to use ApacheDS M20-SNAPSHOT with LDAP API M30-SNAPSHOT. We are working on releasing those two guys this week-end.