Quantcast
Viewing latest article 6
Browse Latest Browse All 14

CWWIM5020E Could not connect to the ldap

When running the Jython command addIdMgrLDAPServer as part of a Federated repository configuration on WAS 8.5.5.x, I received the following error:

WASX7017E: Exception received while running file "/var/apps/scripts/wasAdmin/manageSecurity/modifyGlobalSecurity_Federated.py"; exception information: com.ibm.websphere.wim.exception.WIMConfigurationException: com.ibm.websphere.wim.exception.WIMConfigurationException: CWWIM5020E Could not connect to the ldap://<ip-address>:389 repository using properties: [port=389],[bindDN=uid=wasldapbind,ou=security,dc=themiddlewareshop,dc=com],[certificateMapMode=exactdn],[sslConfiguration=],[securityDomainName=admin],[sslEnabled=false],[connectTimeout=100],[connectionPool=false],[id=ApacheLDAP],[ldapServerType=CUSTOM],[host=<ip-addreess>],[referal=ignore],[derefAliases=always],[certificateFilter=],[authentication=simple],[bindPassword=****]. Exception occurred: java.net.ConnectException.

The reason for this is that the LDAP server was not running. The problem can occur when the the host/ip-address or port is wrong, or a firewall is running and the LDAP port that is being used is not open.

Image may be NSFW.
Clik here to view.
facebook
Image may be NSFW.
Clik here to view.
twitter
Image may be NSFW.
Clik here to view.
google_plus
Image may be NSFW.
Clik here to view.
reddit
Image may be NSFW.
Clik here to view.
pinterest
Image may be NSFW.
Clik here to view.
linkedin
Image may be NSFW.
Clik here to view.
mail

Viewing latest article 6
Browse Latest Browse All 14

Trending Articles