Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 10208 invoked from network); 23 Nov 2009 15:57:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Nov 2009 15:57:14 -0000 Received: (qmail 16430 invoked by uid 500); 23 Nov 2009 15:57:13 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 16350 invoked by uid 500); 23 Nov 2009 15:57:13 -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 16342 invoked by uid 99); 23 Nov 2009 15:57:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 15:57:13 +0000 X-ASF-Spam-Status: No, hits=1.6 required=10.0 tests=SPF_NEUTRAL,SUBJECT_FUZZY_TION X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [81.169.146.162] (HELO mo-p00-ob.rzone.de) (81.169.146.162) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Nov 2009 15:57:03 +0000 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1258991802; l=1116; s=domk; d=labeo.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=1m6bV5JhLiHV2HA4Mnw/m8s2xL4=; b=YAoEflLbKfo9cIjAsvdkmT55elDDvcLfAQ4LFpwj4HvJXB1HPShnnaGJY2BEnPnNEXB tSXd9Vn9LWsxDmGWwwohdAJBSOc08x6HZLLuItWw4gf11UPjmckPr1OHIDJ+KlapqLqhz GFjF7I0wV3hiSP5OLHVFVoqbhGc5QO+6YR8= X-RZG-AUTH: :P3gBc0GmW/MphhhpU4BSj2bmx/Zwgz97J2mNwJqPPEL+U9r/pmo0wIoYO6Ue X-RZG-CLASS-ID: mo00 Received: from [127.0.0.1] (p5DC6DEEF.dip.t-dialin.net [93.198.222.239]) by post.strato.de (mrclete mo13) (RZmta 22.2) with ESMTP id y0089clANFO7zH for ; Mon, 23 Nov 2009 16:56:42 +0100 (MET) Message-ID: <4B0AB0BC.9000605@labeo.de> Date: Mon, 23 Nov 2009 16:56:44 +0100 From: Stefan Zoerner User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Apache Directory Developers List Subject: Re: [ApacheDS] Writing a custom partition References: <4B0A9C81.9090707@apache.org> <4B0A9FD9.4000902@apache.org> <720CA8E1C2A749B28095A263649E7E40@tslaptop> In-Reply-To: <720CA8E1C2A749B28095A263649E7E40@tslaptop> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thomas Sahlin wrote: > Ok, thanks! > > I did compile my partition against the 1.5.5-JARs, but perhaps the API > changes you mention cause problems at run time. Strange. I have revisited the example and modified it to work with the 1.5.5 server. The WIKI page will take some time to get published on WWW, but the main differences are in the source code anyway. Check them here: http://svn.apache.org/viewvc?revision=883370&view=revision The example, as committed here http://svn.apache.org/repos/asf/directory/sandbox/szoerner/helloWorldPartition compiles well in my environment and runs within a standard 1.5.5 download. It is sufficient to copy the resulting jar file in the lib/ext directory of ApacheDS -- no modification of the classpath needed. Simply adjust your server.xml to use the partition, or use it embedded as demonstrated here http://svn.apache.org/repos/asf/directory/sandbox/szoerner/helloWorldPartition/src/main/java/org/apache/directory/samples/partition/hello/Main.java Feel free to ask, if it still does not work as expected. Greetings from Hamburg, StefanZ