NIP Publishing

The publishing App developed using RFA Java got disconnected from the ADH. The logs in the ADH is as below
Dismounting application:
Received source message with invalid stream ID -17098. Source stream ID is -1.Best Answer
-
Hi @jalaj.mehta
I'm able to replicate the issue by publishing a source directory message with new token generated from generateToken() function. It seems that ADH expects that the source directory messages should be published only on one item stream. Once application has tried to publish a source Directory message on new item stream, ADH will close the connection and log the "Received source message with invalid stream ID -17098. Source stream ID is -1." error.
This means that the application needs to store the token generated used for the first source directory message and then reuse it for subsequent source directory messages.
Please verify the JRFAPublisher.sendDirectoryImage function if it reuses the token for directory message publishing.
0
Answers
-
Hello @jalaj.mehta
When a publishing application is disconnected it is possible that some errors are logged as a result of the disconnection, rather than the cause, depending on events occurring at the time e.g. stream-id invalidated by a disconnect. To make sure of root cause do you have logging for the application as well as the ADH at that time?
0 -
Thanks Dave, we do not really have any logs from the ADH at the time of issue. But we have asked the App team if they have anything at their end.
0 -
Hi Dave, the limited logs from App
15:00:58,470 INFO pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.sendDirectoryImage:277 Directory reply sent for [GDEX]
15:00:58,470 INFO Thread-1722 MDPubServiceEntry.syncCacheWithInfra:802 Sync'ing cache with infra..
15:00:58,472 INFO pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.sendDirectoryImage:277 Directory reply sent for [GDEX]
15:00:58,473 INFO pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.sendDirectoryImage:277 Directory reply sent for [GDEX]
15:00:58,477 INFO pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.processEvent:474 Connection Down: [Connection to <hostname deleted due to security>:14303 failed in connection _Default::pub-adh-nip-gdex_connection3; Channel disconnected]
15:00:58,483 ERROR pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.processEvent:412 Received OMMCmd ERROR EVENT for publisher [GDEX] for id: 24885814 : No connection available for publish
Feb 07, 2018 3:00:58 PM com.reuters.mainloop.channel.ChannelMainLoop processException
SEVERE: Caught internal exception [java.lang.NullPointerException]
in thread [_Default::pub-adh-nip-gdex Session EventQueueGroup]
com.reuters.rfa.internal.session.omm.OMMItemPubSubmitMsg.release(Unknown Source)
com.reuters.rfa.internal.session.ommp.OMMNonInteractiveProviderEventSourceHandler.processRequestMessage(Unknown Source)
com.reuters.rfa.internal.common.RequestMessage.dispatch(Unknown Source)
{5}
15:00:58,498 ERROR pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.processEvent:412 Received OMMCmd ERROR EVENT for publisher [GDEX] for id: 24885837 : No connection available for publish
Feb 07, 2018 3:00:58 PM com.reuters.mainloop.channel.ChannelMainLoop processException
SEVERE: Caught internal exception [java.lang.NullPointerException]
in thread [_Default::pub-adh-nip-gdex Session EventQueueGroup]
com.reuters.rfa.internal.session.omm.OMMItemPubSubmitMsg.release(Unknown Source)
com.reuters.rfa.internal.session.ommp.OMMNonInteractiveProviderEventSourceHandler.processRequestMessage(Unknown Source)
com.reuters.rfa.internal.common.RequestMessage.dispatch(Unknown Source)
{5}
….
15:00:58,572 ERROR pub-adh-nip-gdex_SessionEventsDispatcher JRFAPublisher.processEvent:412 Received OMMCmd ERROR EVENT for publisher [GDEX] for id: 24886094 : No connection available for publish
Feb 07, 2018 3:00:58 PM com.reuters.mainloop.channel.ChannelMainLoop processException
SEVERE: Caught internal exception [java.lang.NullPointerException]
in thread [_Default::pub-adh-nip-gdex Session EventQueueGroup]
0 -
Thanks Dave, just posted some logs from app
0 -
The API version in question is
rfa-8.0.0.E2.jar
0 -
Thanks Veerapath!
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 705 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 3K Elektron
- 1.5K EMA
- 259 ETA
- 569 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 4 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 284 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.2K Refinitiv Data Platform
- 879 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 123 Open DACS
- 1.1K RFA
- 108 UPA
- 196 TREP Infrastructure
- 232 TRKD
- 919 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 103 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛