slapd didn't close connection and get into CLOSE_WAIT state

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I am running 389 DS version 1.2.5, build number 2010.012.2034 on RHEL 5.2.

I have a problem that slapd didn't close a connection and eventually get
into a CLOSE_WAIT state after my JAVA application exit.

The scenario only happen when my application registers a NamingListener via
the JAVA JNDI (Java Naming Directory Interface).  I believe the
NamingListener is equivalent to the Persistent Search.  This problem doesn't
exist if I don't use the JNDI NamingListener capability.

>From my understanding, I did everything correctly in my application.  I
create a context, add a listener, do some stuffs, remove the listener and
then close the context.

One thing I notice is that in the slapd's error log, I see the following...
"-get_ldapmessage_controls failed: 12 (Unavailable critical extension)
(op=Abandon)".
This message prints out right after I remove the listener and before my
application closes the context.

The closest bug report I found is this and it said the problem has been
resolved.
https://bugzilla.redhat.com/show_bug.cgi?id=450575

At this point, I'm clueless.  :-(
Can someone help me or give me some recommendation that I could try?

I will attach my JAVA JNDI replicator along with this e-mail.  You will need
to modify 2-3 lines of code to get it running in your environment.  Search
for "MODIFY ME" and that should be the lines that you need to modify.

Thanks!

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/389-users/attachments/20100218/5cd9e548/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: JNDI_Simple.java
Type: application/octet-stream
Size: 8317 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/389-users/attachments/20100218/5cd9e548/attachment.obj 


[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux