XCOM20060E Exception CA XCOM GATEWAY sending discovery
search cancel

XCOM20060E Exception CA XCOM GATEWAY sending discovery

book

Article ID: 191002

calendar_today

Updated On:

Products

XCOM Data Transport XCOM Data Transport - Windows XCOM Data Transport - Linux PC XCOM - SUPPORT

Issue/Introduction

We encountered a problem when trying to access the UI and the error it reports is:

XCOM20060E Exception occurred in Gateway Control Server while sending a discovery request. Please contact your administrator

In the log file GatewayControlServer.log, I see this error:
[2020-05-12/14:26:07.651/ART][ERROR][com.ca.xcom.gateway.gcs.ws.rest.GatewayAuthWS] Exception occurred in the GatewayAuthWS->sendDiscoveryRequest->
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [dao-context.xml]: Cannot resolve reference to bean 'dataSource' while setting bean property 'dataSource'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [dao-context.xml]: Invocation of init method failed; 

And the log file XCOMGateway.log, report this errors:
[2020-05-12/14:32:47.593/ART][DEBUG][com.ca.xcom.gcs.client.authenticate.AuthenticateUserWSClient] Discovery web service STATUS returned by GCS is: ERROR
[2020-05-12/14:33:00.302/ART][DEBUG][com.ca.xcom.gateway.server.filter.AuthenticationFilter]  In Filter -> HTTPS Redirection is enabled
[2020-05-12/14:33:01.410/ART][DEBUG][com.ca.xcom.gcs.client.authenticate.AuthenticateUserWSClient] Discovery web service STATUS returned by GCS is: ERROR

I verify that the keystore are expired.

Environment

Release : 12.0

Component : CA XCOM DATA TRANSPORT GATEWAY FOR WINDOWS

Resolution

This was resolved by recovery of the folder "C:\Program Files\CA" dated 18/4/20

1) Uninstall CA EEM Server Manually.
eiamuninstall-DFORCE_UNINSTALL = true
2) Install CA EEM Server
3) create the users again.
4) Start all CA XCOM services
Now the XCOM Gateway server is working.

Additional Information

The same messages can be caused by other factors such as:

1. Disturbing the connection between the XCOM Gateway and in this case MySQL server. For example, it can happen in various ways like IP address/port number is incorrect or change in password or MySQL server is not responding to connections.
2. Firewalls preventing the connection between the XCOM Gateway and MySQL.
3. The database service being down or not reachable using the database server hostname or port name.
4. Not having the required JDBC JAR files of the corresponding database server