directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guilherme <guilhe...@ati.com.br>
Subject Re: Create a partition.
Date Mon, 21 Mar 2011 19:43:08 GMT
Ok, thanks.
Em Ter, 2011-03-22 às 00:39 +0530, Kiran Ayyagari escreveu:
> Hi Guilherme,
> 
>     Your partition implementation lacks many required things, like
> 
>      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
> 
> fix these things and try again
> 
> On Tue, Mar 22, 2011 at 12:01 AM, Guilherme <guilherme@ati.com.br> wrote:
> > Hi.
> > I created a new partiton, that is read only. The problemem happens when
> > 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 <init>
> > INFO: Criando partição
> > 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=ericsson dc=ericsson
> > 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=ericsson dc=ericsson
> > 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=ericsson' without any prescriptiveACI
> > 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=ericsson dc=ericsson
> > 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=ericsson' without any member or uniqueMember attributes
> > 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=ericsson dc=ericsson
> > 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(SubentryInterceptor.java:185)
> >        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:162)
> >        at com.ati.teste.EmbeddedADS.<init>(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(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: 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.
> >
> >
> 
> 
> 



Mime
View raw message