GetEventTypes error seen in the NetOps Portal EMService.log
search cancel

GetEventTypes error seen in the NetOps Portal EMService.log


Article ID: 221351


Updated On:


CA Performance Management - Usage and Administration DX NetOps


The following error is seen in the EMService.log file. Default location for the file is /opt/CA/PerformanceCenter/EM/logs.

ERROR | pool-1-thread-289        | 2021-08-04 15:37:19,568 |                       
      | Exception during GetEventTypes Could not send Message.
 at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(
 at com.sun.proxy.$Proxy103.getEventTypes(Unknown Source)
 at java.util.concurrent.Executors$
 at java.util.concurrent.ThreadPoolExecutor.runWorker(
 at java.util.concurrent.ThreadPoolExecutor$
Caused by: ConnectException invoking Connection refused (Connection refused)
 at sun.reflect.GeneratedConstructorAccessor288.newInstance(Unknown Source)

When SSL is enabled, the error can be seen using the correct schema (HTTPS) and port (8182 default) but the wrong hostname or IP address. This scenario is often observed after a migration to new systems.


All supported DX NetOps Performance Management releases


After a host migration, or after HTTPS configuration is enabled, the information in the MySql em database is not updated with newly configured schema, port or hostname.


To resolve this complete the following steps.

  1. Open a terminal to the PC Portal web server host.
  2. As the install owner run the following MySql command.
    • Default install path shown. Enter password when prompted.
    •  /opt/CA/MySql/bin/mysql -uroot -p -e 'update em.data_sources set LastEvent=0 where sourceid=0;'
  3. After running the command wait 15-20 minutes (30 minutes max) for the updated values to be passed around the system.

After everything is completed we should no longer see the same error in the EMService.log file.

The command forces the Event Manager service to gather fresh information about the target endpoint, the PC Console service. Once the em database is updated with the correct information it will allow successful communication attempts to succeed, resolving the error.

Additional Information

How do we know if the information changes in the database? The following query can be used to watch the value while waiting for Data Source synchronizations to complete and pass around the new value.

Default install path shown. Enter password when prompted.

/opt/CA/MySql/bin/mysql -uroot -p -e 'select SourceID,SourceGUID,ConsoleName,Host,SourceName,IEventProducer from em.data_sources\G;'