Monday, June 3, 2002 05:54 AM
deepa, this is directly from the API
This exception is thrown when the client is unable to communicate with the directory or naming service. The inability to communicate with the service might be a result of many factors, such as network partitioning, hardware or interface problems, failures on either the client or server side. This exception is meant to be used to capture such communication problems.
Another thing is that you are not supplying the credentials in you Properties which you will need to connect to J2EE on another server. I would also try to locate it using IP and not "ldap://itws2:1050" Lastly, make sure that JNDI server is up and running on itws2 and that 1050 is open because depending on your network infrastructure you may have network issues.