Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 200927439 for ; Tue, 18 Oct 2011 15:02:05 +0000 (UTC) Received: (qmail 39141 invoked by uid 500); 18 Oct 2011 15:02:04 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 39106 invoked by uid 500); 18 Oct 2011 15:02:04 -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 39098 invoked by uid 99); 18 Oct 2011 15:02:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 18 Oct 2011 15:02:04 +0000 X-ASF-Spam-Status: No, hits=0.1 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [98.138.91.75] (HELO nm10-vm1.bullet.mail.ne1.yahoo.com) (98.138.91.75) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 18 Oct 2011 15:01:55 +0000 Received: from [98.138.90.56] by nm10.bullet.mail.ne1.yahoo.com with NNFMP; 18 Oct 2011 15:01:34 -0000 Received: from [98.138.89.174] by tm9.bullet.mail.ne1.yahoo.com with NNFMP; 18 Oct 2011 15:01:34 -0000 Received: from [127.0.0.1] by omp1030.mail.ne1.yahoo.com with NNFMP; 18 Oct 2011 15:01:34 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 407250.99659.bm@omp1030.mail.ne1.yahoo.com Received: (qmail 88940 invoked by uid 60001); 18 Oct 2011 15:01:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1318950093; bh=5uPAJZ3XgaaRygDsL5wApsr5NbuWHA4zycQO7e4o4wA=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=zqzDnv/ikbO46unPO5dAw16xGjDIS02439xxFX0kzJk2Z+FBG68wCNIX4xeJfqCbr3C2cnrxi9xJFV/JiYHI9fOyReVvrl9kippJr/mUZ20izgOmpBY7OmtcPk5BTdSZfArZwwntVorrbtS7iJaFxYyDbIUNu6cNreh0XojC1xs= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=SZoIHPbZagM5a/bSB+TSh5Nw3xK5lT1pf1uW4gk+aOYK1jntr3Vp5m1osRvdGoWRneMCXtrIVUl19WQmm57RgiQEyot4l67Reaf1tpH6crUDaknGcKHV3CrCb6ENpIDGP5+Ew9rS5lInBa0gPbiFmJTno5hhey5KbcVOb+7kDMU=; X-YMail-OSG: IW.6.lIVM1kTrH2h59FsFwaKcoJsxZ3aEcSPMslVaUSMWV8 kWxHx3Oy1OWto9OPyy0Aj3oB6PBGE3n_QRW7LSxLu3XLRxkgSnY_c1K297vF MyIMl57PgrkcKSnzeQnz2Pk.bXPsljNa36dwZtPV9iWAt.KWrOSf.NsPU_XI Ru64angn628.L7__I5bDRJM5.CK04I_RVvg4JRyEXOjmhUPomRoS3BGNe6tl 43EXNtrNhw2JMoiCySwzC_3T9_TBZ9Fz_MOkfgnBIEKlA122v5gAoQc7_dbF 6yKxZEAaH37EFn9TTYXBS13I_JYcftKRytYyKgyixChIpaE1SH2WRaERdG.n d8vsCj9td3.B9uHfmgmEZkcfTB6A4Qv0dQG.b4BoAsHteiIzFN2LZKDeQQRl LmUDavZgEJgAbNYizbtJXfaznksMM6o7Ls49wDE0uwtQqd3zcT4BufZ38GBx paZMJsUVybb3UaBUAcIKFC7G1hHpC Received: from [87.144.209.232] by web130212.mail.mud.yahoo.com via HTTP; Tue, 18 Oct 2011 08:01:33 PDT X-Mailer: YahooMailClassic/14.0.7 YahooMailWebService/0.8.114.317681 Message-ID: <1318950093.84282.YahooMailClassic@web130212.mail.mud.yahoo.com> Date: Tue, 18 Oct 2011 08:01:33 -0700 (PDT) From: Harakiri Subject: Re: Upgrading to apacheds-service-2.0.0-M3.jar - ClassNotFoundException To: users@directory.apache.org, elecharny@apache.org In-Reply-To: <4E9934EF.6090309@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =0A=0A--- On Sat, 10/15/11, Emmanuel L=E9charny wrot= e:=0A=0A=0A> > I think you dont understand - your own code is calling=0A> I= ntegerOrderingComparator but it doesnt exist! i dont call=0A> it - i only c= all loadAllEnabled - the jar references a class=0A> which does not exist in= the jar!=0A> Oops, sorry, yes, I misunderstood...=0A> =0A> However, I did = a grep -R 'IntegerOrderingComparator' . on=0A> the server =0A> code (rev 2.= 0.0-M3) and it brings back nothing, which means=0A> this method =0A> is not= present in the code base.=0A> =0A> Can you do the same thing on your compu= ter, and give us the=0A> result ? I'd =0A> like to know which ldif file con= tain this class name. IMO,=0A> as Alex said, =0A> it's very likely that you= are still using an old ldif file=0A> which was =0A> coming from an old ver= sion.=0A=0AAlright - i did not know that the auto generated schema from a p= revious version is doing some reflection and needs to be deleted - after th= at and some more porting i got my custom partition running.=0A=0AHowever - = the whole point of this exercise was to be finally able to use binary attri= butes while answering search requests - according to the JIRA this bug shou= ld be fixed:=0A=0Ahttps://issues.apache.org/jira/browse/DIRSERVER-1198=0A= =0AWhen i try to set this attribute however i get an exception:=0A=0AError = while adding values into the 'userCertificate;binary' attribute. Error : ER= R_04269 ATTRIBUTE_TYPE for OID usercertificate;binary does not exist!=0Ajav= a.lang.IllegalArgumentException: ERR_04464 Error while adding values into t= he 'userCertificate;binary' attribute. Error : ERR_04269 ATTRIBUTE_TYPE for= O=0AID usercertificate;binary does not exist! at org.apache.directory.= shared.ldap.model.entry.DefaultEntry.put(DefaultEntry.java:1398)=0A=0Acode = used:=0A=0A Entry serverEntry =3D new DefaultEntry(schemaManager, dn);=0A = serverEntry.put(SchemaConstants.OBJECT_CLASS_AT,=0A = SchemaConstants.INET_ORG_PERSON_OC);=0A serverEntry.put("name", cn);= =0A...=0A=0AserverEntry.put("userCertificate;binary", byte..);=0A=0A=0AI ga= thered - that i somehow must add the oid for userCertificate;binary but im = unsure how to do that... This is just readonly inmemory custom partition wh= ich should return dynamic data depending on the search request.=0A=0AThank = you=0A