From dev-return-8953-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Thu Nov 03 21:43:00 2005 Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 74227 invoked from network); 3 Nov 2005 21:43:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Nov 2005 21:43:00 -0000 Received: (qmail 77950 invoked by uid 500); 3 Nov 2005 21:42:59 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 77909 invoked by uid 500); 3 Nov 2005 21:42:59 -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 77898 invoked by uid 99); 3 Nov 2005 21:42:59 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 13:42:58 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of lyndon.washington@gmail.com designates 64.233.162.198 as permitted sender) Received: from [64.233.162.198] (HELO zproxy.gmail.com) (64.233.162.198) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 Nov 2005 13:42:53 -0800 Received: by zproxy.gmail.com with SMTP id 13so130413nzn for ; Thu, 03 Nov 2005 13:42:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=pJDfZ9I07D1Dj+FRFlgpC4CrOx768ZipfpVMBRWkk2Yzer6RAn7e56cNVzZGmN/2L8+zKORnZEt67nHP7ypEeD54/3Pk0bNTtUO+5UMHXwfM2F8r10x/JUvujVOZOg4bC4jSTjV37ty9LA17xynGsub1GlJlz0LOYfLssr7N1pY= Received: by 10.65.119.19 with SMTP id w19mr1259406qbm; Thu, 03 Nov 2005 13:42:37 -0800 (PST) Received: by 10.65.124.13 with HTTP; Thu, 3 Nov 2005 13:42:37 -0800 (PST) Message-ID: <524960cd0511031342m17b782f1s3cb898bfb3725134@mail.gmail.com> Date: Thu, 3 Nov 2005 16:42:37 -0500 From: Lyndon Washington To: Apache Directory Developers List Subject: Re: Adding a Custom Partition Context In-Reply-To: <768dcb2e0511012110v45bba1c6y@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_20478_17675325.1131054157259" References: <524960cd0511011201h650ed011n19d4135d55cc9c0c@mail.gmail.com> <4367DD21.30100@bellsouth.net> <524960cd0511011338s4bc889b2v9778b0f9900e0e51@mail.gmail.com> <768dcb2e0511011744p16001119p@mail.gmail.com> <524960cd0511012108s4bc1afcdyf4c3a16dc53bba11@mail.gmail.com> <768dcb2e0511012110v45bba1c6y@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_20478_17675325.1131054157259 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Done! http://issues.apache.org/jira/browse/DIREVE-301 On 11/2/05, Trustin Lee wrote: > > There's a JIRA: > > issues.apache.org/jira/browse/DIREVE > > Cheers, > Trustin > > 2005/11/2, Lyndon Washington < lyndon.washington@gmail.com>: > > > > Okay, thanks for the confirmation. Is there a bugzilla system to track > > this? > > > > Cheers, > > -Lyndon- > > > > On 11/1/05, Trustin Lee < trustin@gmail.com> wrote: > > > > > > Hi Lyndon, > > > > > > 2005/11/2, Lyndon Washington : > > > > > > > > Hi Alex, > > > > > > > > Thanks for the prompt reply. > > > > > > > > I have already tried that, and it fails to pass in my configuration > > > > object because as I stated earlier, the " > > > > DefaultContextPartitionNexus.addContextPartition() creates a new > > > > MutableContextPartitionConfiguration" rather than using the configu= ration > > > > that was instantiated based on the properties file. > > > > > > > > I have also tried altering one of the JUnit test cases and adding > > > > the configuration to a Hashtable and passing that to a JNDI context > > > > intitialization . . . no joy there either. > > > > > > > > Here is the offending code, IMHO, which shows that the config that > > > > is passed in is not the one that is ultimately passed to ' > > > > partition.init()': > > > > > > > > > Yes, you're right. ApacheDS internally copies it to > > > MutableContextPartitionConfiguration before calling init(). For now y= ou'll > > > have to provide a getter/setter to your DirectoryPartition implementa= tion. > > > > > > HTH, > > > Trustin > > > -- > > > what we call human nature is actually human habit > > > -- > > > http://gleamynode.net/ > > > > > > > > > > -- > > -------------------------------- > > Lyndon Washington > > Snr. Software Engineer > > lwashington@novell.com > > 1.203.225.1815 (Shelton - CT) > > 1.781.464.8735 (Waltham - MA) > > > > Novell, Inc. > > Software for the Open Enterprise > > http://www.novell.com/open > > > > > > -- > what we call human nature is actually human habit > -- > http://gleamynode.net/ > -- -------------------------------- Lyndon Washington Snr. Software Engineer lwashington@novell.com 1.203.225.1815 (Shelton - CT) 1.781.464.8735 (Waltham - MA) Novell, Inc. Software for the Open Enterprise http://www.novell.com/open ------=_Part_20478_17675325.1131054157259 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Done! http://is= sues.apache.org/jira/browse/DIREVE-301

On 11/2/05, Trustin Lee < trustin@gmail.com> wrote:
There's a JIRA:

issues.apache.org/jira/browse/DIREVE

Cheers,
Trustin

2005/11/2, Lyndon Washington < lyndon.washington@gmail.com>:
Okay, thanks for the confirmation.  Is there= a bugzilla system to track this?

Cheers,
-Lyndon-


On 11/1/= 05, Trustin Lee < trustin@gmail.com> wrote:
Hi Lyndon,

2005/11/2, Lyndon Washin= gton <lyndon.washington@g= mail.com >:
Hi Alex,

Thanks for the prompt reply.

I have already tried that, and it fails to pass in my configuration object = because as I stated earlier, the "DefaultContextPartitionNexus.a= ddContextPartition() creates a new MutableContextPartitionConfiguration&quo= t; rather than using the configuration that was instantiated based on the p= roperties file.

I have also tried altering one of the JUnit test cases and adding the configuration to a Hashtable and passing that to a JNDI context intitialization . . . no joy there either.

Here is the offending code, IMHO, which shows that the config that is passed in is not the one that is ultimately passed to 'partition.init()':

Yes, you're right.&n= bsp; ApacheDS internally copies it to MutableContextPartitionConfiguration = before calling init().  For now you'll have to provide a getter/setter= to your DirectoryPartition implementation.

HTH,
Trustin
--
what we call human nature is = actually human habit
--
http://gleamynode.net/



--
--------------------------------
Lyndon Washington
Snr. Softw= are Engineer
lwashington@novell.com
1.203.225.1815 (Shelton - CT)
1.781.464.8735 (Waltham - MA)

Novell, Inc.
Sof= tware for the Open Enterprise
htt= p://www.novell.com/open



--
what we ca= ll human nature is actually human habit
--
http://gleamynode.net/



--
----------= ----------------------
Lyndon Washington
Snr. Software Engineer
lwashington@novell.com
1.203= .225.1815 (Shelton - CT)
1.781.464.8735 (Waltham - MA)

Novell, Inc.
Sof= tware for the Open Enterprise
htt= p://www.novell.com/open
------=_Part_20478_17675325.1131054157259--