search cancel

The messagegtw in prod is not working. I'm getting a data_engine connection error.


Article ID: 190243


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


Below is the error from the messagegtw log:
May 06 11:14:02:963 [/UIM_ServiceNow, messagegtw] NisDBConnectionHandler.initDatasource:77: retrieving the connection string from: /xxxxxxxx/xxxxxxxx/us1xxxxxxx55/data_engine
May 06 11:14:02:973 [/UIM_ServiceNow, messagegtw] Failed to parse connection string as : Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/xxxxxxxx/xxxxxxxx/us1xxxxxxx55/data_engine'
May 06 11:14:12:975 [/UIM_ServiceNow, messagegtw] Failed to parse connection string as : Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/xxxxxxxx/xxxxxxxx/us1xxxxxxx55/data_engine'
May 06 11:14:12:975 [/UIM_ServiceNow, messagegtw] (4) not found, Received status (4) on response (for sendRcv) for cmd = 'nametoip' name = '/xxxxxxxx/xxxxxxxx/us1xxxxxxx55/data_engine'
 at com.nimsoft.nimbus.NimSessionBase.sendRcv(
 at com.nimsoft.nimbus.NimSessionBase.sendRcv(
 at com.nimsoft.nimbus.NimSessionBase.getHostAndPortForName(
 at com.nimsoft.nimbus.NimNamedClientSession.<init>(
 at com.nimsoft.nimbus.NimObjectSender.connectNamed(
 at com.nimsoft.nimbus.NimRequest.sendImpersonate(
 at com.nimsoft.nimbus.NimRequest.send(
 at com.nimsoft.nimbus.lookup.DataEngineLookup.getConnectionStringsFromDataEngine(
 at com.nimsoft.nimbus.lookup.DataEngineLookup.getConnectionStringsFromDataEngine(
 at com.nimsoft.cet.utility.DataEngineUtil.getConnectionInfo(
 at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.lang.reflect.Method.invoke(
 at com.nimsoft.nimbus.NimSubscribe.callbackBulkProxy(
 at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(
 at java.lang.reflect.Method.invoke(
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.performCallback(
 at com.nimsoft.nimbus.NimServerSession$NimServerSessionThread.handleMessage(
 at com.nimsoft.nimbus.NimServerSession$
May 06 11:14:12:976 [/UIM_ServiceNow, messagegtw] Not able to callback for hubpost_bulk. Reason is: java.lang.reflect.InvocationTargetException


Release : 20.1

Component : UIM - MESSAGEGTW


- messagegtw data_engine configuration value


On the machine where messagegtw was running, select the controller probe and press Ctrl-P to open the probe utility.

Run the nametoip callback and entered what was configured in the messagegtw for the data_engine address on the Primary hub.


but it failed.

Checked the data_engine address on the Primary but the case for the hostname was different (UPPERCASE).


Therefore, changed the data_engine address to that value for the nametoip callback value in the Probe utility and it then succeeded (OK).

Updated the data_engine address in the messagegtw and restarted it and the connection was successful to the data_engine on the Primary.

Issue resolved.