EMA Java Warning "Login stream was closed." with "RDMDictionary stream was closed with status messag
One of our TREP3.2 client who uses EMA Java to access TREP and logged following warning msgs.
Can we know what it means and associated impact? How to resolve it, thanks.
2020-05-18 11:22:44.263|WARN|c.t.e.a.OmmConsumerImpl||loggerMsg
ClientName: ChannelDictionary
Severity: Warning
Text: RDMDictionary stream was closed with status message
streamId 4
Reason State: Closed/Suspect/None - text: "Login stream was closed."
loggerMsgEnd
2020-05-18 11:22:44.362|WARN|c.t.e.a.OmmConsumerImpl||loggerMsg
ClientName: ChannelDictionary
Severity: Warning
Text: RDMDictionary stream was closed with status message
streamId 3
Reason State: Closed/Suspect/None - text: "Login stream was closed."
loggerMsgEnd
2020-05-18 11:22:44.362|WARN|c.t.e.a.OmmConsumerImpl||loggerMsg
ClientName: ChannelDictionary
Severity: Warning
Text: RDMDictionary stream was closed with status message
streamId 4
Reason State: Closed/Suspect/None - text: "Login stream was closed."
loggerMsgEnd
Best Answer
-
Hi @tony.zhu
If the Login stream is closed, that means you are not logged into the server, so you cannot download the data dictionary, nor can you make subscription request or snapshots.
Are they using their own code or one of our examples?
If they are using their own code, can they try one of our examples instead and see what happens?
You said it happens on startup - every time or just occasionally?
If it happens everytime: Have they checked their credentials - dacs user name? Are they using the correct Hostname / ports?
If they are using EMAConfig.xml - does it work when they hardcode the host and port etc into the Java code? If it works with hardcoded values, then this means the API cannot find the EMAConfig.xml file.
Please provide answers to all questions so we can assist fully.
1
Answers
-
Hi @tony.zhu
You will need to provide additional information so we can assist
When does this happen? All the time or occasionally? At startup of the application or whilst it has been running fine for a while?
Are they using one of our examples EMA Java examples or their own code?
If they are using their own code, does the problem also occur if they use one of our EMA Java examples instead?
There are some existing posts on this error message which may also help
0 -
Hi @Umer Nalla
Above logs happened at startup. Can we know what's the meaning of "RDMDictionary stream was closed with status message"?
How does it affect the subsequent subscription or snapshot request?Thanks.
0 -
Thanks for your detailed clarification. After putting RDMD files in the working dir as client's consuming App, such issue doesn't happen by far.
0 -
Hi @tony.zhu
If by RDMD files you mean the dictionary files - I would not recommend using local dictionary files. The dictionary changes several times a year - as and when fields are added/deleted/modified.
This means that there is a possibility of the application crashing if it using an outdated dictionary and cannot parse a new field - therefore the use of ChannelDictionary is strongly recommended - unless a FileDictionary is essential (e.g. use of custom FIds)
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛