Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 285 invoked from network); 18 Mar 2011 12:54:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 18 Mar 2011 12:54:20 -0000 Received: (qmail 35855 invoked by uid 500); 18 Mar 2011 12:54:20 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 35803 invoked by uid 500); 18 Mar 2011 12:54:20 -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 35796 invoked by uid 99); 18 Mar 2011 12:54:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 12:54:20 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of andrea.gariboldi@gmail.com designates 209.85.210.178 as permitted sender) Received: from [209.85.210.178] (HELO mail-iy0-f178.google.com) (209.85.210.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Mar 2011 12:54:15 +0000 Received: by iyi12 with SMTP id 12so4912483iyi.37 for ; Fri, 18 Mar 2011 05:53:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=tcyLW0Y+BPQivgMXCcbCFTKbOsSqKjJAeKGAo+fuxp0=; b=n1t/d/utBGcciRGo1N1e4AFeWBPdwOwSHwpNKaqSX14BkRBCWa1VOnY3YsjzhJXEoF kU3C+Cr5voxWD3ydn/aQA4LD9aDe8vBGbqXSmOIwzQws1RngRL3wODjIUl6AmfVJOcVk DgdaSSzXKq7DqkGgPX3F8WdZB7+gdChsuWK8s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=aAq6pmWTUyRBonRLnWkbkMxG8ZMg5WZqIfwA0OJQPyJFyN0/JLvgP9YxZhO5P+uScw pDIwpZ0k+e9LXRIxxy+9JMeS2YWhexKiCi41WFLucGBVkmlu/aG2Bkt2sIo7SjND19BM ip87KmiHJtL/E1eWwWEGs9NPknH8fEzmbj6xU= MIME-Version: 1.0 Received: by 10.43.62.72 with SMTP id wz8mr1395714icb.350.1300452834109; Fri, 18 Mar 2011 05:53:54 -0700 (PDT) Sender: andrea.gariboldi@gmail.com Received: by 10.42.203.144 with HTTP; Fri, 18 Mar 2011 05:53:54 -0700 (PDT) In-Reply-To: <1300451636.1751.0.camel@sgl-desktop> References: <1300394347.1844.3.camel@sgl-desktop> <1300448591.1587.12.camel@sgl-desktop> <1300451636.1751.0.camel@sgl-desktop> Date: Fri, 18 Mar 2011 13:53:54 +0100 X-Google-Sender-Auth: w2HNIOZm5geA7kjya5xXKZAkVzg Message-ID: Subject: Re: Create a partition. From: Andrea Gariboldi To: Apache Directory Developers List Cc: Guilherme Content-Type: multipart/alternative; boundary=bcaec51ddc1b39680e049ec1455f --bcaec51ddc1b39680e049ec1455f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable yes, sorry... getSchemaManager().getRegistries() 2011/3/18 Guilherme > The function getRegistries does not existis. > > Em Sex, 2011-03-18 =E0s 13:16 +0100, Andrea Gariboldi escreveu: > > try like this.. as i remember the partition nexus like normalized > > DNs... > > cheers, > > Andrea > > > > 2011/3/18 Guilherme > > Hi. > > Firts of all, thanks for help. I attached the source code, and > > when i > > run the programing this is the result. > > > > [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 --- > > 18/03/2011 08:40:06 com.ati.teste.HelloWorldPartition > > setSchemaManager > > INFO: set schema manager > > [08:40:15] ERROR > > [org.apache.directory.shared.ldap.entry.DefaultServerAttribute]= - > > ERR_04450 The value {0} is incorrect, it hasnt been added > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > setSchemaManager > > INFO: set schema manager > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > getSuffixDn > > INFO: get suffix dn > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > isInitialized > > INFO: Is initialized > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > initialize > > INFO: Initializing HelloWorldPartition with suffix dc=3Dericsso= n > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > getSchemaManager > > INFO: getSchemaManager > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > getSuffixDn > > INFO: get suffix dn > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > initialize > > INFO: Initializing done. > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > getSuffixDn > > INFO: get suffix dn > > 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition > > getSuffixDn > > INFO: get suffix dn > > > org.apache.directory.shared.ldap.exception.LdapNoSuchObjectException: > > ERR_268 Cannot find a partition for dc=3Dericsson > > at > > > org.apache.directory.server.core.partition.DefaultPartitionNexus.getParti= tion(DefaultPartitionNexus.java:1010) > > at > > > org.apache.directory.server.core.partition.DefaultPartitionNexus.search(D= efaultPartitionNexus.java:875) > > at > > > org.apache.directory.server.core.ReferralManagerImpl.init(ReferralManager= Impl.java:162) > > at > > > org.apache.directory.server.core.ReferralManagerImpl.(ReferralManag= erImpl.java:76) > > at > > > org.apache.directory.server.core.referral.ReferralInterceptor.init(Referr= alInterceptor.java:206) > > at > > > org.apache.directory.server.core.interceptor.InterceptorChain.register0(I= nterceptorChain.java:442) > > at > > > org.apache.directory.server.core.interceptor.InterceptorChain.register(In= terceptorChain.java:398) > > at > > > org.apache.directory.server.core.interceptor.InterceptorChain.init(Interc= eptorChain.java:258) > > at > > > org.apache.directory.server.core.DefaultDirectoryService.initialize(Defau= ltDirectoryService.java:1447) > > at > > > org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultD= irectoryService.java:907) > > at > > > com.ati.teste.EmbeddedADS.initDirectoryService(EmbeddedADS.java:164) > > at > > com.ati.teste.EmbeddedADS.(EmbeddedADS.java:236) > > at com.ati.teste.EmbeddedADS.main(EmbeddedADS.java:264) > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native > > Method) > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java= :39) > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorI= mpl.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: 22.222s > > [INFO] Finished at: Fri Mar 18 08:40:15 BRT 2011 > > [INFO] Final Memory: 20M/126M > > [INFO] > > > ------------------------------------------------------------------------ > > [WARNING] The requested profile "webclient" could not be > > activated > > because it does not exist. > > > > Em Qui, 2011-03-17 =E0s 21:45 +0100, Andrea Gariboldi escreveu: > > > > > I'm not very up-to-date but i can help you... i wrote the > > Oracle > > > partition. > > > What you need exactly? > > > > > > > > > 2011/3/17 Guilherme > > > Hi. > > > I need to develope a new partition for ApacheDS > > could someone > > > help me. > > > Thanks. > > > > > > > > > > > > > > > --bcaec51ddc1b39680e049ec1455f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable yes, sorry...
getSchemaManager().getRegistries()

2011/3/18 Guilherme <guilherme@ati.com.br>
The function getRegistries does not existis.

Em Sex, 2011-03-18 =E0s 13:16 +0100, Andrea Gariboldi escreveu:
> try like this.. as i remember the pa= rtition nexus like normalized
> DNs...
> cheers,
> Andrea
>
> 2011/3/18 Guilherme <guilhe= rme@ati.com.br>
> =A0 =A0 =A0 =A0 Hi.
> =A0 =A0 =A0 =A0 Firts of all, thanks for help. I attached the source c= ode, and
> =A0 =A0 =A0 =A0 when i
> =A0 =A0 =A0 =A0 run the programing this is the result.
>
> =A0 =A0 =A0 =A0 [INFO] Scanning for projects...
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 ------------------------------------------------------= ------------------
> =A0 =A0 =A0 =A0 [INFO] Building ApacheDS embedded sample 1.5.7
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 ------------------------------------------------------= ------------------
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 [INFO] >>> exec-maven-plugin:1.2:java (defaul= t-cli) @
> =A0 =A0 =A0 =A0 apacheds-embedded-sample >>>
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 [INFO] <<< exec-maven-plugin:1.2:java (defaul= t-cli) @
> =A0 =A0 =A0 =A0 apacheds-embedded-sample <<<
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 [INFO] --- exec-maven-plugin:1.2:java (default-cli) @<= br> > =A0 =A0 =A0 =A0 apacheds-embedded-sample ---
> =A0 =A0 =A0 =A0 18/03/2011 08:40:06 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 setSchemaManager
> =A0 =A0 =A0 =A0 INFO: set schema manager
> =A0 =A0 =A0 =A0 [08:40:15] ERROR
> =A0 =A0 =A0 =A0 [org.apache.directory.shared.ldap.entry.DefaultServerA= ttribute] -
> =A0 =A0 =A0 =A0 ERR_04450 The value {0} is incorrect, it hasnt been ad= ded
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 setSchemaManager
> =A0 =A0 =A0 =A0 INFO: set schema manager
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 getSuffixDn
> =A0 =A0 =A0 =A0 INFO: get suffix dn
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 isInitialized
> =A0 =A0 =A0 =A0 INFO: Is initialized
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 initialize
> =A0 =A0 =A0 =A0 INFO: Initializing HelloWorldPartition with suffix dc= =3Dericsson
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 getSchemaManager
> =A0 =A0 =A0 =A0 INFO: getSchemaManager
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 getSuffixDn
> =A0 =A0 =A0 =A0 INFO: get suffix dn
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 initialize
> =A0 =A0 =A0 =A0 INFO: Initializing done.
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 getSuffixDn
> =A0 =A0 =A0 =A0 INFO: get suffix dn
> =A0 =A0 =A0 =A0 18/03/2011 08:40:15 com.ati.teste.HelloWorldPartition<= br> > =A0 =A0 =A0 =A0 getSuffixDn
> =A0 =A0 =A0 =A0 INFO: get suffix dn
> =A0 =A0 =A0 =A0 org.apache.directory.shared.ldap.exception.LdapNoSuchO= bjectException:
> =A0 =A0 =A0 =A0 ERR_268 Cannot find a partition for dc=3Dericsson
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.partition.DefaultPart= itionNexus.getPartition(DefaultPartitionNexus.java:1010)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.partition.DefaultPart= itionNexus.search(DefaultPartitionNexus.java:875)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.ReferralManagerImpl.i= nit(ReferralManagerImpl.java:162)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.ReferralManagerImpl.&= lt;init>(ReferralManagerImpl.java:76)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.referral.ReferralInte= rceptor.init(ReferralInterceptor.java:206)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.interceptor.Intercept= orChain.register0(InterceptorChain.java:442)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.interceptor.Intercept= orChain.register(InterceptorChain.java:398)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.interceptor.Intercept= orChain.init(InterceptorChain.java:258)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.DefaultDirectoryServi= ce.initialize(DefaultDirectoryService.java:1447)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 org.apache.directory.server.core.DefaultDirectoryServi= ce.startup(DefaultDirectoryService.java:907)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 com.ati.teste.EmbeddedADS.initDirectoryService(Embedde= dADS.java:164)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 com.ati.teste.EmbeddedADS.<init>(EmbeddedADS.jav= a:236)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at com.ati.teste.EmbeddedADS.main(Embed= dedADS.java:264)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at sun.reflect.NativeMethodAccessorImpl= .invoke0(Native
> =A0 =A0 =A0 =A0 Method)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMeth= odAccessorImpl.java:39)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at
> =A0 =A0 =A0 =A0 sun.reflect.DelegatingMethodAccessorImpl.invoke(Delega= tingMethodAccessorImpl.java:25)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at java.lang.reflect.Method.invoke(Meth= od.java:597)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at org.codehaus.mojo.exec.ExecJavaMojo<= br> > =A0 =A0 =A0 =A0 $1.run(ExecJavaMojo.java:291)
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0at java.lang.Thread.run(Thread.java:662= )
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 ------------------------------------------------------= ------------------
> =A0 =A0 =A0 =A0 [INFO] BUILD SUCCESS
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 ------------------------------------------------------= ------------------
> =A0 =A0 =A0 =A0 [INFO] Total time: 22.222s
> =A0 =A0 =A0 =A0 [INFO] Finished at: Fri Mar 18 08:40:15 BRT 2011
> =A0 =A0 =A0 =A0 [INFO] Final Memory: 20M/126M
> =A0 =A0 =A0 =A0 [INFO]
> =A0 =A0 =A0 =A0 ------------------------------------------------------= ------------------
> =A0 =A0 =A0 =A0 [WARNING] The requested profile "webclient" = could not be
> =A0 =A0 =A0 =A0 activated
> =A0 =A0 =A0 =A0 because it does not exist.
>
> =A0 =A0 =A0 =A0 Em Qui, 2011-03-17 =E0s 21:45 +0100, Andrea Gariboldi = escreveu:
>
> =A0 =A0 =A0 =A0 > I'm not very up-to-date but i can help you...= i wrote the
> =A0 =A0 =A0 =A0 Oracle
> =A0 =A0 =A0 =A0 > partition.
> =A0 =A0 =A0 =A0 > What you need exactly?
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 > 2011/3/17 Guilherme <guilherme@ati.com.br>
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 Hi.
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 I need to develope a new partitio= n for ApacheDS
> =A0 =A0 =A0 =A0 could someone
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 help me.
> =A0 =A0 =A0 =A0 > =A0 =A0 =A0 =A0 Thanks.
> =A0 =A0 =A0 =A0 >
> =A0 =A0 =A0 =A0 >
>
>
>



--bcaec51ddc1b39680e049ec1455f--