javax.naming.CommunicationException

book

Article ID: 198801

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Identity Suite

Issue/Introduction

The following error is displayed on provisioning tasks reported in VST (View Submitted Tasks) 


javax.naming.CommunicationException: myserver.unipraxis.local:20389 [Root exception is java.net.ConnectException: Connection refused (Connection refused)]

Cause

Networking issue.

Environment

Release : 14.x

Component : IdentityMinder(Identity Manager)

Resolution

Java.net.ConnectException: Connection refused: connect is one of the most common networking exceptions in Java. This error comes when you are working with client-server architecture and trying to make TCP connection from the client to the server.  Connection refused is a clear case of a client trying to connect on a TCP port but not able to succeed. 

 

This is a network issue and not explicitly an Identity Manager issue.  Below are a couple of things to consider reviewing\ testing.

 

1. Is the provisioning server running?

2. Are you able to ping the destination host (Provisioning Server), if the host is ping-able it means the server machine is accessible, there is no issue with network connectivity.

3. Is there a firewall on in between the IDM (Identity Manager) and the Provisioning server?  If so is the port 20389 permitted?

4. Try turning off the firewall temporarily to test?