GetEventTypes error seen in the EMService.log

book

Article ID: 221351

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

The following error is seen in the EMService.log

ERROR | pool-1-thread-289        | 2021-08-04 15:37:19,568 | com.ca.im.portal.em.ds.EventProducerPoller                       
      | Exception during GetEventTypes
javax.xml.ws.WebServiceException: Could not send Message.
 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:145)
 at com.sun.proxy.$Proxy103.getEventTypes(Unknown Source)
 at com.ca.im.portal.em.ds.EventProducerPoller.pullMetaData(EventProducerPoller.java:518)
 at com.ca.im.portal.em.ds.EventProducerPoller.poll(EventProducerPoller.java:303)
 at com.ca.im.portal.em.ds.EventProducerPoller.poll(EventProducerPoller.java:147)
 at com.ca.im.portal.em.util.PollCycleTask.runPollingSteps(PollCycleTask.java:114)
 at com.ca.im.portal.em.util.PollCycleTask.run(PollCycleTask.java:67)
 at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
 at java.util.concurrent.FutureTask.run(FutureTask.java:266)
 at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
 at java.lang.Thread.run(Thread.java:748)
Caused by: java.net.ConnectException: ConnectException invoking http://123.123.123.123:8181/pc/center/eventProducerWS: Connection refused (Connection refused)
 at sun.reflect.GeneratedConstructorAccessor288.newInstance(Unknown Source)

Cause

The most likely cause is the EM side of the database was not fully updated with newly configured HTTPS settings and the URL it should be trying should be: 

https://123.123.123.123:8182/pc/center/eventProducerWS

Environment

Release: All supported releases

Resolution

Issuing the below SQL call should cause the Event Manager service to go get fresh information about the endpoint, allowing communication attempts to succeed:

update em.data_sources set LastEvent=0 where sourceid=0;