The EventManager status is "Unable to Contact" in Data Sources.
The following error was found in the DMService.log file:
ERROR | pool-4-thread-1 | 2023-01-20 00:02:00,745 | com.ca.im.portal.api.services.datasource.DataSourcePoll
| Received WebServiceException from version check for data source [email protected]_host. CAUSE=java.net.UnknownHostException: UnknownHostException invoking http://pc_host:8281/EventManager/DataSourceWS.asmx: vlcipcp001. MESSAGE=Could not send Message.. Returning DS_COMM_FAILURE result.
ERROR | pool-4-thread-1 | 2023-01-20 00:02:00,745 | com.ca.im.portal.api.services.datasource.DataSourcePoll
| javax.xml.ws.WebServiceException: Could not send Message.
ERROR | pool-4-thread-1 | 2023-01-20 00:02:00,745 | com.ca.im.portal.dm.productsync.DataSourcePoller
| Unable to contact data source [email protected]_host
Release : 22.2
Name-resolution issue:
On the PC/Portal host, the Ping does not resolve this hostname:
# ping pc_host
Also, the curl syntax fails:
# curl http://pc_host:8281/EventManager/DataSourceWS.asmx?wsdl
Fixed the name-resolution issue by adding the short hostname in the /etc/hosts file.