Apologies to all for the inconvenience, I sent this to the wrong list. John
On Wed, 2006-07-05 at 18:17 -0500, John E. Conlon wrote: > Have been testing ADS in an OSGi environment working with the latest > code in trunks. > > When connecting to the server I have noticed the > http://issues.apache.org/jira/browse/DIRSERVER-658 > Class cast problem, so I connect with a baseDN to get around that > problem. But when I disconnect I get a failed to unbind session > properly exception. > > Has anyone seen this or have an idea what I am doing to cause it? > > > here is the trace: > > -> > -> [18:08:45] ERROR > [org.apache.directory.server.ldap.support.UnbindHandler] - failed to > unbind session properly > org.apache.directory.shared.ldap.exception.LdapNameNotFoundException: > uid=admin,ou=system > at > org.apache.directory.server.core.partition.DefaultDirectoryPartitionNexus.getBackend(DefaultDirectoryPartitionNexus.java:798) > at > org.apache.directory.server.core.partition.DefaultDirectoryPartitionNexus.unbind(DefaultDirectoryPartitionNexus.java:557) > at org.apache.directory.server.core.interceptor.InterceptorChain > $1.unbind(InterceptorChain.java:203) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at org.apache.directory.server.core.interceptor.InterceptorChain > $Entry$1.unbind(InterceptorChain.java:1444) > at > org.apache.directory.server.core.interceptor.BaseInterceptor.unbind > (BaseInterceptor.java:230) > at > org.apache.directory.server.core.interceptor.InterceptorChain.unbind > (InterceptorChain.java:740) > at > org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.unbind(DirectoryPartitionNexusProxy.java:679) > at > org.apache.directory.server.core.partition.DirectoryPartitionNexusProxy.unbind(DirectoryPartitionNexusProxy.java:696) > at > org.apache.directory.server.core.jndi.ServerLdapContext.ldapUnbind > (ServerLdapContext.java:178) > at > org.apache.directory.server.ldap.support.UnbindHandler.messageReceived > (UnbindHandler.java:56) > at > org.apache.mina.handler.demux.DemuxingIoHandler.messageReceived > (DemuxingIoHandler.java:128) > at org.apache.directory.server.ldap.LdapProtocolProvider > $LdapProtocolHandler.messageReceived(LdapProtocolProvider.java:431) > at org.apache.mina.common.support.AbstractIoFilterChain > $2.messageReceived(AbstractIoFilterChain.java:188) > at > org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:501) > at org.apache.mina.common.support.AbstractIoFilterChain.access > $1000(AbstractIoFilterChain.java:51) > at org.apache.mina.common.support.AbstractIoFilterChain > $EntryImpl$1.messageReceived(AbstractIoFilterChain.java:788) > at org.apache.mina.filter.LoggingFilter.messageReceived > (LoggingFilter.java:95) > at > org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:501) > at org.apache.mina.common.support.AbstractIoFilterChain.access > $1000(AbstractIoFilterChain.java:51) > at org.apache.mina.common.support.AbstractIoFilterChain > $EntryImpl$1.messageReceived(AbstractIoFilterChain.java:788) > at > org.apache.mina.filter.codec.support.SimpleProtocolDecoderOutput.flush > (SimpleProtocolDecoderOutput.java:39) > at > org.apache.mina.filter.codec.ProtocolCodecFilter.messageReceived > (ProtocolCodecFilter.java:183) > at > org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageReceived(AbstractIoFilterChain.java:501) > at org.apache.mina.common.support.AbstractIoFilterChain.access > $1000(AbstractIoFilterChain.java:51) > at org.apache.mina.common.support.AbstractIoFilterChain > $EntryImpl$1.messageReceived(AbstractIoFilterChain.java:788) > at org.apache.mina.filter.thread.ThreadPoolFilter.processEvent > (ThreadPoolFilter.java:238) > at org.apache.mina.filter.thread.ThreadPoolFilter > $ProcessEventsRunnable.run(ThreadPoolFilter.java:300) > at org.apache.mina.filter.thread.LeaderFollowersThreadPool > $Worker.run(LeaderFollowersThreadPool.java:319) > > > thanks for any support, > > John Conlon >

