IBM Support

Random error messages CWWIM4520E javax.naming.NamingException or javax.naming.CommunicationException and LDAP performance issues

Troubleshooting


Problem

You are experiencing LDAP performance issues and getting random CWWIM4520E error messages at WebSphere systemout.log

Symptom

When you check the WebSphere systemout.log, you can see any of the following error messages.
CWWIM4520E The 'javax.naming.NamingException: LDAP response read timed out, timeout used:20000ms"
CWWIM4520E The 'javax.naming.CommunicationException: ldap.ibm.com:389 [Root exception is java.net.ConnectException: Connection refused: connect]' naming exception occurred during processing.
CWWIM4520E The 'javax.naming.CommunicationException: ldap.ibm.com:636 [Root exception is java.net.SocketException: Connection reset]' naming exception occurred during processing.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"ARM Category":[{"code":"a8m50000000CdYPAA0","label":"WebSphere Application Server traditional-All Platforms-\u003ESecurity-\u003EUser Registry-\u003ELDAP-\u003EFederated Repositories"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
13 May 2025

UID

ibm16536670