Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 6578 invoked from network); 21 Mar 2011 19:50:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Mar 2011 19:50:32 -0000 Received: (qmail 91302 invoked by uid 500); 21 Mar 2011 19:50:32 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91262 invoked by uid 500); 21 Mar 2011 19:50:32 -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 91255 invoked by uid 99); 21 Mar 2011 19:50:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 19:50:32 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of guilherme@ati.com.br designates 174.122.209.65 as permitted sender) Received: from [174.122.209.65] (HELO lesath.hmnoc.net) (174.122.209.65) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 21 Mar 2011 19:50:24 +0000 Received: from mail2.atitel.com.br ([189.115.127.225]:61778 helo=ati) by lesath.hmnoc.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Q1l75-0006Yb-Ck for dev@directory.apache.org; Mon, 21 Mar 2011 16:50:03 -0300 Received: from localhost (localhost [127.0.0.1]) by ati (Postfix) with ESMTP id 78CDC26DBA7 for ; Mon, 21 Mar 2011 16:50:00 -0300 (BRT) Received: from ati ([127.0.0.1]) by localhost (www.ati.com.br [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 29538-01 for ; Mon, 21 Mar 2011 16:47:06 -0300 (BRT) Received: from [192.168.2.185] (alemanha.corp.ati.com.br [192.168.1.254]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ati (Postfix) with ESMTP id C100526DB8D for ; Mon, 21 Mar 2011 16:43:09 -0300 (BRT) Subject: Re: Create a partition. From: Guilherme To: Apache Directory Developers List In-Reply-To: References: <1300732302.2450.6.camel@sgl-desktop> Content-Type: text/plain; charset="UTF-8" Date: Mon, 21 Mar 2011 16:43:08 -0300 Message-ID: <1300736588.2450.7.camel@sgl-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 X-Virus-Scanned: amavisd-new at ati.com.br Content-Transfer-Encoding: quoted-printable X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - lesath.hmnoc.net X-AntiAbuse: Original Domain - directory.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ati.com.br X-Virus-Checked: Checked by ClamAV on apache.org Ok, thanks. Em Ter, 2011-03-22 =C3=A0s 00:39 +0530, Kiran Ayyagari escreveu: > Hi Guilherme, >=20 > Your partition implementation lacks many required things, like >=20 > 1. it doesn't have a store - use atleast the in-memory AvlStore > if you don't want to create a new store > 2. the lookup and list methods should never return null >=20 > fix these things and try again >=20 > On Tue, Mar 22, 2011 at 12:01 AM, Guilherme wrot= e: > > Hi. > > I created a new partiton, that is read only. The problemem happens wh= en > > it try to search a entry. The log is under, and the code is attached.= If > > someone could help me thanks. > > > > Warning: JAVA_HOME environment variable is not set. > > [INFO] Scanning for projects... > > [INFO] > > [INFO] > > ---------------------------------------------------------------------= --- > > [INFO] Building ApacheDS embedded sample 1.5.7 > > [INFO] > > ---------------------------------------------------------------------= --- > > [INFO] > > [INFO] >>> exec-maven-plugin:1.2:java (default-cli) @ > > apacheds-embedded-sample >>> > > [INFO] > > [INFO] <<< exec-maven-plugin:1.2:java (default-cli) @ > > apacheds-embedded-sample <<< > > [INFO] > > [INFO] --- exec-maven-plugin:1.2:java (default-cli) @ > > apacheds-embedded-sample --- > > 21/03/2011 14:45:26 com.ati.teste.SGLPartition > > INFO: Criando parti=C3=A7=C3=A3o > > 21/03/2011 14:45:26 com.ati.teste.SGLPartition setId > > INFO: setId > > 21/03/2011 14:45:26 com.ati.teste.SGLPartition setSchemaManager > > INFO: setSchemaManager > > 21/03/2011 14:45:26 com.ati.teste.SGLPartition setSuffix > > INFO: setSuffix > > 21/03/2011 14:45:26 com.ati.teste.SGLPartition getSchemaManager > > INFO: getSchemaManager > > 21/03/2011 14:45:26 com.ati.teste.SGLPartition setSchemaManager > > INFO: setSchemaManager > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition setSchemaManager > > INFO: setSchemaManager > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition doInit > > INFO: doInit > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSchemaManager > > INFO: getSchemaManager > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > [14:45:30] ERROR > > [org.apache.directory.shared.ldap.entry.DefaultServerAttribute] - > > ERR_04450 The value {0} is incorrect, it hasnt been added > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition search > > INFO: search for 0.9.2342.19200300.100.1.25=3Dericsson dc=3Dericsson > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition search > > INFO: DN encontrado. > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition search > > INFO: search for 0.9.2342.19200300.100.1.25=3Dericsson dc=3Dericsson > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition search > > INFO: DN encontrado. > > [14:45:30] WARN [org.apache.directory.server.core.authz.TupleCache] - > > Found accessControlSubentry 'dc=3Dericsson' without any prescriptiveA= CI > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition search > > INFO: search for 0.9.2342.19200300.100.1.25=3Dericsson dc=3Dericsson > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:30 com.ati.teste.SGLPartition search > > INFO: DN encontrado. > > [14:45:30] WARN [org.apache.directory.server.core.authz.GroupCache] - > > Found group 'dc=3Dericsson' without any member or uniqueMember attrib= utes > > 21/03/2011 14:45:31 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:31 com.ati.teste.SGLPartition search > > INFO: search for 0.9.2342.19200300.100.1.25=3Dericsson dc=3Dericsson > > 21/03/2011 14:45:31 com.ati.teste.SGLPartition getSuffixDn > > INFO: getSuffixDn > > 21/03/2011 14:45:31 com.ati.teste.SGLPartition search > > INFO: DN encontrado. > > java.lang.NullPointerException > > at > > org.apache.directory.server.core.subtree.SubentryInterceptor.init(Sub= entryInterceptor.java:185) > > at > > org.apache.directory.server.core.interceptor.InterceptorChain.registe= r0(InterceptorChain.java:442) > > at > > org.apache.directory.server.core.interceptor.InterceptorChain.registe= r(InterceptorChain.java:398) > > at > > org.apache.directory.server.core.interceptor.InterceptorChain.init(In= terceptorChain.java:258) > > at > > org.apache.directory.server.core.DefaultDirectoryService.initialize(D= efaultDirectoryService.java:1447) > > at > > org.apache.directory.server.core.DefaultDirectoryService.startup(Defa= ultDirectoryService.java:907) > > at com.ati.teste.EmbeddedADS.initDirectoryService(EmbeddedADS.= java:162) > > at com.ati.teste.EmbeddedADS.(EmbeddedADS.java:226) > > at com.ati.teste.EmbeddedADS.main(EmbeddedADS.java:254) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > at > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.= java:39) > > at > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces= sorImpl.java:25) > > at java.lang.reflect.Method.invoke(Method.java:597) > > at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java= :291) > > at java.lang.Thread.run(Thread.java:662) > > [INFO] > > ---------------------------------------------------------------------= --- > > [INFO] BUILD SUCCESS > > [INFO] > > ---------------------------------------------------------------------= --- > > [INFO] Total time: 10.525s > > [INFO] Finished at: Mon Mar 21 14:45:31 BRT 2011 > > [INFO] Final Memory: 21M/124M > > [INFO] > > ---------------------------------------------------------------------= --- > > [WARNING] The requested profile "webclient" could not be activated > > because it does not exist. > > > > >=20 >=20 >=20