Skip to main content
Support

KB Article #181991

API Gateway not sending events to Sentinel

Problem

API Gateway is no longer sending event objects to Sentinel and the overflow file is continuously storing events to be sent when Sentinel Event router is used in conjunction with API Gateway and Sentinel server. The issue happens when doing a Cassandra upgrade, during the "Revert Cassandra’s driver configuration in API Gateway" step when a new jvm.xml is created and only -DCASSANDRA_PROTOCOL_VERSION=x is specified. Disabling the overflow file generates the following error when sending events to Sentinel:


Error while sending message:
java.lang.Exception: Read failed, return -1
at com.axway.common.circularbuffer.sender.QltIntlSender.sendUsingQlt(QltIntlSender.java:266)
at com.axway.common.circularbuffer.sender.QltIntlSender.sendMessage(QltIntlSender.java:136)
at com.axway.trkapiua.TrkApiUA.sendMessage(TrkApiUA.java:902)
at com.axway.trkapiua.TrkApiUA.sendMessage(TrkApiUA.java:785)
at com.vordel.circuit.axway.sentinel.Sentinel.sendEvent(Sentinel.java:115)
at com.vordel.circuit.axway.sentinel.Sentinel.sendEvent(Sentinel.java:82)


Resolution

The extension jvm.xml file for the instance should have the following parameter added to it:

<VMArg name="-DIGNORE_ENCODING=true"/>

For details on where to find and how to configure jvm.xml please refer to the documentation on system property changes.