directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tanja Ertl" <Tanja_E...@avid.com>
Subject DefaultUnbindHandler/LdapNameNotFoundException
Date Mon, 28 Jul 2008 13:22:39 GMT
Hi all,

 

in the logfiles of my server I see the following StackTrace for every
unbind of an anonymous connection:

 

INFO | jvm 1 | 2008/07/14 12:22:28 |
org.apache.directory.shared.ldap.exception.LdapNameNotFoundException:

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.partition.DefaultPartitionNexus.getPart
ition(DefaultPartitionNexus.java:1153)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.partition.DefaultPartitionNexus.unbind(
DefaultPartitionNexus.java:846)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$1.unbind(I
nterceptorChain.java:212)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain$Entry$1.un
bind(InterceptorChain.java:1361)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.BaseInterceptor.unbind(Base
Interceptor.java:241)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.interceptor.InterceptorChain.unbind(Int
erceptorChain.java:764)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.partition.PartitionNexusProxy.unbind(Pa
rtitionNexusProxy.java:757)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.partition.PartitionNexusProxy.unbind(Pa
rtitionNexusProxy.java:774)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.core.jndi.ServerLdapContext.ldapUnbind(Serve
rLdapContext.java:238)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.ldap.support.DefaultUnbindHandler.unbindMess
ageReceived(DefaultUnbindHandler.java:55)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.ldap.support.UnbindHandler.messageReceived(U
nbindHandler.java:38)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived(Demuxing
IoHandler.java:141)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.directory.server.ldap.LdapServer$LdapProtocolHandler.messageR
eceived(LdapServer.java:1095)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain$TailFilter.messageR
eceived(AbstractIoFilterChain.java:570)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:299)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abstrac
tIoFilterChain.java:53)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:648)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush(S
impleProtocolDecoderOutput.java:58)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived(Protoco
lCodecFilter.java:180)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:299)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain.access$1100(Abstrac
tIoFilterChain.java:53)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.common.support.AbstractIoFilterChain$EntryImpl$1.message
Received(AbstractIoFilterChain.java:648)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.filter.executor.ExecutorFilter.processEvent(ExecutorFilt
er.java:220)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
org.apache.mina.filter.executor.ExecutorFilter$ProcessEventsRunnable.run
(ExecutorFilter.java:264)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecuto
r.java:885)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
va:907)

INFO | jvm 1 | 2008/07/14 12:22:28 | at
java.lang.Thread.run(Thread.java:619)

 

As far as I can see from the code, the DefaultUnbindHandler tries to
execute 

 

( ( ServerLdapContext ) ctx ).ldapUnbind();

 

for a context with an empty dn. This leads to the above error. 

 

Is there any way around this?

 

Bye,

Tanja


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message