JNDI hanging when trying to BIND

We are currently having problems with our application hanging when it tries to obtain LDAP context. I have attached a thread dump. Once all the threads start hanging the weblogic server cannot do any work and needs to be restarted. Any help would be appreciatted.
I can make it happen by creating a load on the server.
Code snippet:
we call a static method to return us a context instance, context is not shared.
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://"+directoryHost+":"+directoryPort);
env.put(Context.SECURITY_PRINCIPAL, name);
env.put(Context.SECURITY_CREDENTIALS, password);
env.put(Context.REFERRAL,"follow");
DirContext ctx = new InitialDirContext(env);
return ctx;
Thread dump (there are a few threads like this)
"ExecuteThread: '36' for queue: 'default'" daemon prio=5 tid=0x2718c808 nid=0x77
c waiting on monitor [0x2852f000..0x2852fdc0]
at java.lang.Object.wait(Native Method)
- waiting on <55e31f0> (a com.sun.jndi.ldap.LdapRequest)
at com.sun.jndi.ldap.Connection.readReply(Connection.java:283)
- locked <55e31f0> (a com.sun.jndi.ldap.LdapRequest)
at com.sun.jndi.ldap.LdapClient.ldapBind(LdapClient.java:310)
- locked <55e31d8> (a com.sun.jndi.ldap.LdapClient)
at com.sun.jndi.ldap.LdapClient.authenticate(LdapClient.java:163)
- locked <55e31d8> (a com.sun.jndi.ldap.LdapClient)
at com.sun.jndi.ldap.LdapCtx.connect(LdapCtx.java:2386)
at com.sun.jndi.ldap.LdapCtx.<init>(LdapCtx.java:239)
at com.sun.jndi.ldap.LdapCtxFactory.getInitialContext(LdapCtxFactory.jav
a:74)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:6
60)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:241
at javax.naming.InitialContext.init(InitialContext.java:217)
at javax.naming.InitialContext.<init>(InitialContext.java:193)
at javax.naming.directory.InitialDirContext.<init>(InitialDirContext.jav
a:78)
at com.truecontext.wasabi.business.util.LDAPUtil.getContext(LDAPUtil.jav
a:318)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.getObjectsByFilter(SynchronizationProfileDAOiPlanet.java:562)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.getObjectsByFilter(SynchronizationProfileDAOiPlanet.java:544)
at com.truecontext.wasabi.business.devman.dao.SynchronizationProfileDAOi
Planet.findSynchronizationProfileDataByDeviceAndUser(SynchronizationProfileDAOiP
lanet.java:1319)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrEJB.findSynchroni
zationProfileDataByDeviceAndUser(DeviceMgrEJB.java:6502)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrEJB_fo5kg5_EOImpl
.findSynchronizationProfileDataByDeviceAndUser(DeviceMgrEJB_fo5kg5_EOImpl.java:7
010)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrSyncSessionEJB.fi
ndSynchronizationProfileDataByDeviceAndUser(DeviceMgrSyncSessionEJB.java:880)
at com.truecontext.wasabi.business.devman.ejb.DeviceMgrSyncSessionEJB_th
6b7o_EOImpl.findSynchronizationProfileDataByDeviceAndUser(DeviceMgrSyncSessionEJ
B_th6b7o_EOImpl.java:166)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.beginSync(SF
SyncEngineEJB.java:1008)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.doProcess(SF
SyncEngineEJB.java:867)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB.doProcess(SF
SyncEngineEJB.java:782)
at com.truecontext.wasabi.business.sync.ejb.SFSyncEngineEJB_62algz_EOImp
l.doProcess(SFSyncEngineEJB_62algz_EOImpl.java:199)
at com.truecontext.wasabi.presentation.sync.servlet.SFSyncListener.onMes
sage(SFSyncListener.java:352)
at com.truecontext.wasabi.presentation.sync.servlet.SFSyncListener.doPos
t(SFSyncListener.java:284)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run
(ServletStubImpl.java:1058)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:401)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:306)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationActio
n.run(WebAppServletContext.java:5445)
at weblogic.security.service.SecurityServiceManager.runAs(SecurityServic
eManager.java:780)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:3105)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2588)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:213)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:189)
Environment:
iplanet directory server 5.1 Service Pack 2
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_08-b03) (also tried 1.4.2)
OS Name Microsoft Windows 2000 Server
Version     5.0.2195 Service Pack 4 Build 2195
BEA Weblogic Server 7.0 sp2

We are having the same problem as well and this has been reported else where as well.
We were able to reproduce this problem on the full blown Weblogic application, with a simple program which creates a large number of connection in quick succession - after a certain number of connections ( about 60), the client simply hangs! It turns out that this is a known problem with iPlanet 5.1 with SSL: http://www.openldap.org/lists/openldap-software/200205/msg00567.html
I have also posted this message to the Directory Server forum at Sun, but have not heard anything yet!
http://swforum.sun.com/jive/thread.jspa?threadID=46914&tstart=0
There have been quite a few other cases of this problem ( probably manifesting itself in other forms!)
http://forum.java.sun.com/thread.jsp?forum=51&thread=358357
Let me know if you come up with a solution to your problem

Similar Messages

  • Aperture 3.5.1 on OS X 10.9.2 hangs when trying to update the backup

    Aperture 3.5.1 on OS X 10.9.2 hangs when trying to update the backup. I get the rotating beach ball cursor for hours but not get the confirmation dialog known from 3.4.2 aksing whether I really want to back up.
    On old Mac Mini with OS X 10.6.8 and Aperture 3.4.2 there was no such issue.

    Creating a new vault and populating it always works but then turning around and updating that vault hangs? The drive is formatted OS X Extended, correct?
    That is strange. Before abandoning vaults, they should and do work in 3.5.1, I'd try this
    Run a library repair on the library. I always do this now as it seems to cut down and hangs when updating a vault.
    Before starting the vault update open the Aperture activity window Aperture->Window->Show Activity.
    Now do the update.  I can't give you anything specific to look for, just try to get an idea of where the hang is happening (if it happens after the repair).
    As for rsync, it should work OK but keep in mind as a lot of the data now in 3.5 is in database files any change to Aperture will result in reync seeing a lot of files has having been changed so I'm not sure now much of a savings that will be over just copying the library. To be honest I've never tried rsync on an Aperture library so this may not be an issue but something to keep in mind. BTW do you have much rsync experience? It can be a bit of a bear to setup if you're not familiar with it.
    Another option is to look at one of the cloning programs Carbon Copy Cloner or SuperDuper. They have the ability to make clones and then update only the changes since the last clone operation. In reality, I believe one or both actually use rsyn as the backend but give you a much nicer way to set it up and schedule it.

  • Acrobat X Pro v 10.1.10 (Mac OS 10.9.3) hangs when trying to save PDF files

    Acrobat X Pro v 10.1.10 (Mac OS 10.9.3) hangs when trying to save some PDF files, after opening or after commenting.  Applies for any of the Save options.  "Watch" then "spinning beach ball" appear and application is indicated as "not responding."  Mac OS Preview has no problem with the same files.  Files can be displayed with Acrobat, just not saved.  I would prefer to use Acrobat's commenting tools to mark up the document.

    "Mac Office 2008"? You must mean Microsoft Office 2008. Try posting in the Microsoft forums here:
    http://www.officeformac.com/productforums/

  • Why is Lightroom 5 hanging when trying to export images?

    Why is Lightroom 5 hanging when trying to export images?

    I've been having the same issues, mainly with videos.  Any resolution to your issue yet?

  • What are solutions to the "Unexpected error while attempting to bind.  Operation cancelled." message when trying to bind

    What are solutions to the "Unexpected error while attempting to bind.  Operation cancelled." message when trying to bind and i alreeady cheack my DNS settings and everything

    Has this worked before, or is this a new configuration?
    On the server, launch Terminal.app from Applications > Utilities and post the output of the following harmless diagnostic command — and you'll need to enter an administrative password when requested:
    sudo changeip -checkhostname
    On the OS X (presumably) Mavericks client, please post the IP address(es) of the DNS server(s) you're referencing.  These are available via the System Preferences > Network > Advanced > DNS settings.
    To check the console logs, launch Console.app from Applications > Utilities on both the client and the server, and then attempt the binding, and then post a (short! no more than ~25 to 50 lines!) of any errors related to the binding error.
    If you're not in a position to post configuration details here — which is perfectly reasonable, and entirely your prerogative — or if I'm getting too confusing or too technical with some of the questions here, which would be my error of course — then (assuming these systems are under warranty) I'd suggest contacting the folks at the local Apple Store and having a chat with the local Geniuses about this, or checking directly with the Apple Support folks via telephone.

  • Lenovo Vibe X2 keeps hanging when trying to pullup the contacts or when opening the SMS function !

    Have been using the Vibe X2 since 2 months. Phone keeps hanging when trying to pullup the contacts or when opening the SMS function. Terribly dissatisfied with the functioning. 
    *Moderator note:Message edited for a better understanding of the problem/ compliance with the Lenovo Community Participation Rules 

    Solved, I found the option there:
    Contacts - local menu - More features and settings - More display options - Matching digits of number - 7 digits
    Works great now,
    Regards,

  • My G3 is Hanging when trying to load Tiger

    My G3 is hanging when trying to load up tiger. It gets all the way up the progress bar and doesn't go any further? Any suggestions? Can I just erase my hard drive and start over. It's a computer that I'm trying to upgrade for my kids so there is really nothing important on the hard drive at this point. I can't even get to disk utility to do this.

    Does your computer meet the minimum system requirements for Tiger? [Mac OS X 10.4 Tiger system requirements|http://docs.info.apple.com/article.html?artnum=301341] Note, these really are minimum and Tiger will run a lot better with more, especially RAM. Tiger on a 300MHz will probably be quite slow.
    Some B&W G3s do not respond well to larger drives and the best terms is "flaky". These are the Rev. 1 G3s. You can post in the G3 forum for more information about this. See Grant's comments in [this discussion|http://discussions.apple.com/thread.jspa?messageID=7203272&#7203272]
    The firmware should have been updated on your computer before any OSX install but I'd make sure just in case [Mac OS X: Available firmware updates for upgrading from OS9 to OSX|http://docs.info.apple.com/article.html?artnum=86117]

  • "Protocol family unavailable" when trying to bind to an IPv6 address

    Hi,
    When trying to bind to an IPv6 address using the Socket class, I get "Protocol family unavailable". Is there a fix to that?
    Thanks,
    Ronen

    read:
    http://search.msdn.microsoft.com/search/Default.aspx?
    query=IPv6&brand=msdn&locale=en-us&refinement=00&lang=en-us

  • Dreamweaver CS6 hangs when trying to access SFTP site (Mac)

    Dreamweaver CS6 hangs when trying to access an SFTP site - or at least I think that SFTP could be the reason.
    Beachball forever....
    It works fine when trying to access other sites.
    The one addity is that when I go into "Manage Sites" and test it, it connects fine.
    I am running OSX 10.8.2.  I upgraded from 10.7 to see if this problem would go away.
    Message was edited by: deeed (typo)

    When CS6 first released, some people experienced problems with the FTP feature.  A critical update was released which addressed these issues. Did you install it?
    http://www.adobe.com/support/dreamweaver/downloads_updaters.html
    Nancy O.

  • Illustrator CS4 hangs when trying to map art on 3D object

    Hi, does anyone have a solution for this problem:
    Illustrator CS4 hangs when trying to map art on 3D object
    The rendering dialog box comes up and never goes away.  I have to force a quit.
    I'm on a Mac OS 10.6.6
    I've got AI CS4
    Any ideas?
    Thanks,
    Linda

    This may not be exactly what you are looking for but another user experienced a crash:
    http://forums.adobe.com/message/3162350
    Scroll down to JETalmage's post and see if you are doing anything which he describes as being a potential cause for AI to stop responding.
    Also, as in the link I provided, try to give more details about your scenario so we can see if the problem can be replicated.

  • Itunes hangs when trying to uncheck encryption for iphone backup.

    Itunes hangs when trying to uncheck encryption for iPhone backup. The iTunes software becomes unusable and unresponsive after entering correct password (only set up today) All i want to do is backup my iPhone before trying update to the latest ios. I have tried uninstalling all Apple software and re-installing, all unsuccessfully - still have the same problem! Essentially i have to use ctr+alt+del to even close the iTunes program, so I'm assuming there must be some sort of corruption with the encryption / password setup - neither of which have been used at all, all previous backups are on iCloud and don't have encryption. I obviously don't want to attempt a backup with these sort of issues occurring as i don't think i could trust it. Can anyone suggest a way to fix the problem, Ive tried googling all afternoon without any success - most answers I can find relate to people who have lost their passwords but don't have the software issues i am having.

    Further to the issue - i thought I'd try and run an encrypted backup for fun (since that's the only option available atm) and the backup hangs as well - in fact it doesn't even technically start other than saying its backing up. The progress bar never moves at all?

  • Macbook (black) first edition hangs when trying to read Serial-ATA

    My Macbook recently died on me. In thinking it was my hard disc I have installed a new one. It did find it briefly when trying to install Snow Leopard again this failed since it could not communicate with the hard disc. Now I am stuck, using the System Profiler it just hangs when trying to read the Serial-ATA device tree.
    Any idea of what is wrong and if it is worth repairing it?
    with kind regards,
    Christian

    Turns out that the brand new Seagate that I got was faulty. Have now installed yet another drive and this seems to have done the trick.

  • Dreamweaver CS6 hangs when trying to close it. (iMac, Yosemite). I have removed the configuration folder but it doesn't help. What to do next?

    Dreamweaver CS6 hangs when trying to close it. (iMac, Yosemite). I have removed the configuration folder but it doesn't help. What to do next?

    OS X Yosemite: If an app freezes or quits unexpectedly
    Nancy O.

  • LabView hangs when trying to load the same VI with a different user logged onto Win2k

    When 'User A' is logged onto Win2k, a particular VI loads and runs fine. When 'User B' logs onto the same Win2k box, LabView hangs when trying to load the VI.
    I'm also not seeing the setup channels in the Data Neighborhood in MAX when logged on as 'User B'. I tried loading the configuration when logged on as 'User B' that I think is being used for 'User A', but nothing happens.
    Where are the configuration files (of whatever type) that tell LabView which user is logged on?
    Thank you!

    There are no configuration files that tells LabVIEW what users are logged on. It is Win2K permissions settings that allow different users access to different folders and applications. Try changing the permissions for the LabVIEW folder and see if that doesn't fix your problem.

  • TS1398 my network but just hangs when trying to connect? I've have reset the settings and all sorts? My iPhone can connect fine? Any advise would be great!

    My iPad can see my network but just hangs when trying to connect? I've  reset the settings and all sorts? My iPhone can connect fine? Any advise would be great!

    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    6. Potential Quick Fixes When Your iPad Won’t Connect to Your Wifi Network
    http://ipadinsight.com/ipad-tips-tricks/potential-quick-fixes-when-your-ipad-won t-connect-to-your-wifi-network/
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    Wi-Fi Fix for iOS 6
    https://discussions.apple.com/thread/4823738?tstart=240
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Boost Your Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Boost-Your-Wi-Fi-Signal.h tm
    Troubleshooting a Weak Wi-Fi Signal
    http://ipad.about.com/od/iPad_Troubleshooting/a/Troubleshooting-A-Weak-Wi-Fi-Sig nal.htm
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    Wi-Fi or Bluetooth settings grayed out or dim
    http://support.apple.com/kb/TS1559
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

Maybe you are looking for