yes, sorry...
getSchemaManager().getRegistries()

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

Em Sex, 2011-03-18 ās 13:16 +0100, Andrea Gariboldi escreveu:
> try like this.. as i remember the partition nexus like normalized
> DNs...
> cheers,
> Andrea
>
> 2011/3/18 Guilherme <guilherme@ati.com.br>
>         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=ericsson
>         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=ericsson
>                at
>         org.apache.directory.server.core.partition.DefaultPartitionNexus.getPartition(DefaultPartitionNexus.java:1010)
>                at
>         org.apache.directory.server.core.partition.DefaultPartitionNexus.search(DefaultPartitionNexus.java:875)
>                at
>         org.apache.directory.server.core.ReferralManagerImpl.init(ReferralManagerImpl.java:162)
>                at
>         org.apache.directory.server.core.ReferralManagerImpl.<init>(ReferralManagerImpl.java:76)
>                at
>         org.apache.directory.server.core.referral.ReferralInterceptor.init(ReferralInterceptor.java:206)
>                at
>         org.apache.directory.server.core.interceptor.InterceptorChain.register0(InterceptorChain.java:442)
>                at
>         org.apache.directory.server.core.interceptor.InterceptorChain.register(InterceptorChain.java:398)
>                at
>         org.apache.directory.server.core.interceptor.InterceptorChain.init(InterceptorChain.java:258)
>                at
>         org.apache.directory.server.core.DefaultDirectoryService.initialize(DefaultDirectoryService.java:1447)
>                at
>         org.apache.directory.server.core.DefaultDirectoryService.startup(DefaultDirectoryService.java:907)
>                at
>         com.ati.teste.EmbeddedADS.initDirectoryService(EmbeddedADS.java:164)
>                at
>         com.ati.teste.EmbeddedADS.<init>(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(DelegatingMethodAccessorImpl.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 ās 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 <guilherme@ati.com.br>
>         >         Hi.
>         >         I need to develope a new partition for ApacheDS
>         could someone
>         >         help me.
>         >         Thanks.
>         >
>         >
>
>
>