Quantcast
Channel: The Middleware Shop » WebSphere Shell Script
Viewing all articles
Browse latest Browse all 14

CWWIM5020E Could not connect to the ldap

$
0
0

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.

facebooktwittergoogle_plusredditpinterestlinkedinmail

Viewing all articles
Browse latest Browse all 14

Trending Articles