ldap connection lost

ldap connection lost

Hello,

I  have a java script which  does bulk update in Ldap.
The script runs perfectly ok  for sometime but the execution of the script is interrupted  in between due to lose of connection.

I got following Exceptions :
Caused by: failed to connect to server ..  (-1)
    

Caused by: netscape.ldap.LDAPException: failed to connect to server .... : (91); Cannot connect to the LDAP server
        at netscape.ldap.LDAPConnSetupMgr.connectServer(LDAPConnSetupMgr.java:415)
        at netscape.ldap.LDAPConnSetupMgr.openSerial(LDAPConnSetupMgr.java:343)
        at netscape.ldap.LDAPConnSetupMgr.connect(LDAPConnSetupMgr.java:237)
        at netscape.ldap.LDAPConnSetupMgr.openConnection(LDAPConnSetupMgr.java:163)
        at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:1033)
        at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:915)
        at netscape.ldap.LDAPConnection.connect(LDAPConnection.java:828)
        at bridge.eip.ldapsql.NativeLdap.openConnection(NativeLdap.java:214)
        ... 11 more
 

What may be  the reasons for this problem ?
kindly suggest solutions for the same as soon as possible, its very urgent.

Thanks in advance!!
Vikash

















                New to ADSelfService Plus?