netscape.ldap.LDAPException: Server or network error (81); Cannot contact LDAP server Got LDAPServiceException code=-1

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Oracle Community by 807573, 1 year ago
Server or network error (81); Cannot contact LDAP server Got LDAPServiceException code=-1
via Oracle Community by 807573, 4 months ago
error result (32); matchedDN = dc=sun,dc=com; No such object (DN changed) : warning: CORE3283: stderr: Got LDAPServiceException code=-1 : warning: CORE3283: stderr:
via Oracle Community by 843833, 1 year ago
failed to connect to server ldap://poolsun3.precise.com:389 (91); Cannot connect to the LDAP server Got LDAPServiceException code=-1
via Oracle Community by 807573, 1 year ago
error result (32); matchedDN = dc=sun,dc=com; No such object (DN changed) [https-host1_FQDN]: warning: CORE3283: stderr: Got LDAPServiceException code=-1 [https-host1_FQDN]: warning: CORE3283: stderr:
netscape.ldap.LDAPException: Server or network error (81); Cannot contact LDAP server Got LDAPServiceException code=-1
at com.iplanet.services.ldap.DSConfigMgr.getConnection(DSConfigMgr.java:357)
at com.iplanet.services.ldap.DSConfigMgr.getNewFailoverConnection(DSConfigMgr.java:314)
at com.iplanet.services.ldap.DSConfigMgr.getNewConnection(DSConfigMgr.java:253)
at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:184)
at com.iplanet.services.ldap.DSConfigMgr.getNewProxyConnection(DSConfigMgr.java:194)
at com.iplanet.ums.DataLayer.initLdapPool(DataLayer.java:1231)
at com.iplanet.ums.DataLayer.(DataLayer.java:188)
at com.iplanet.ums.DataLayer.getInstance(DataLayer.java:213)
at com.sun.identity.sm.ldap.SMSLdapObject.initialize(SMSLdapObject.java:143)
at com.sun.identity.sm.ldap.SMSLdapObject.(SMSLdapObject.java:118)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.sun.identity.sm.SMSEntry.(SMSEntry.java:116)
at com.sun.identity.sm.ServiceManager.(ServiceManager.java:70)
at com.sun.identity.sm.ServiceConfigManager.(ServiceConfigManager.java:94)
at com.iplanet.am.sdk.AMCommonUtils.populateManagedObjects(AMCommonUtils.java:497)
at com.iplanet.am.sdk.AMCommonUtils.(AMCommonUtils.java:113)
at com.iplanet.am.sdk.AMStoreConnection.(AMStoreConnection.java:141)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.