sudden close - channel down
I am facing a problem with the java application ( I used one of the examples listed in the files), the error message is shown in the attached file .
The application shuts down as it appears to be killed , this happens in random time order and not after specific duration or action.
Best Answer
-
Hello @H.H.
Thanks for helpful info. According to the log file, I found
that there was no error about LOGIN, SOURCE, DICTIONARY and MARKET_PRICE stream.
All streams could open successfully and the application got data. However, in
the end of log it showed:<CLOSE domainType="LOGIN"
streamId="1" containerType="NO_DATA" flags="0x00"
dataSize="0"><CLOSE domainType="SOURCE"
streamId="2" containerType="NO_DATA" flags="0x00"
dataSize="0">The log messages can be generated when method uninitialize()
method of OmmConsumer class is called. The method closes login and source
stream while uninitializing OmmConsumer.Does your application call uninitialize() method of OmmConsumer? In
the example example100__MarketPrice__Streaming consumer.uninitialize() is
called before the application exists. It is possible that you see the close message because the application calls the method.In addition, I did not see "channel down" message in the given log. It seemed that your application and EMA worked properly.
Moreover, I strongly suggest you upgrade to the latest EMA Java shipped with
The latest EMA containing all latest fixes and it provides the log of connection process. For example:
<!-- Outgoing Reactor message -->
<!-- java.nio.channels.SocketChannel[connected local=/10.42.61.169:52601 remote=/192.168.27.48:14002] -->
<!-- Mon Jul 03 15:16:30 ICT 2017 -->
<!-- rwfMajorVer="14" rwfMinorVer="1" -->
<CLOSE domainType="LOGIN" streamId="1" containerType="NO_DATA" flags="0x00" dataSize="0">
<dataBody>
</dataBody>
</CLOSE>If there is any connection problem, we should be able to investigate it from the log.
0
Answers
-
Hello @H.H.
To be able to continue investing the problem, please- attach EMA xml trace
- what is the EMA example application?
0 -
Hello @H.H.
Please set XmlTraceToStdout Consumer entry parameter to 1 in EmaConfig.xml located in the application’s run directory. For example:
<Consumer>
<Name value="Consumer_1"/>
...
<XmlTraceToStdout value="1"/>
</Consumer>
Then, EMA traces its received and sent messages in XML format to stdout/console. The xml trace log can be long so please redirect your application command output to a file as the syntax below:
Java_command_line_running_application > output_file_name0 -
Hello @H.H.
Does the problem still occur? If so, please send me the following required info:
0 -
I added the recommended tags to the config file, attached below are the the new appeared messages.
0 -
Hello @H.H.
Could you attach the complete EMA log file? It seems that the first part of the file is missed; there is no login request/response message. I would like the whole log since the application starts.
What EMA example application that the problem occurs?
0 -
0
-
We implemented the changes recommended , Its been running now without any issues.
The log messages can be generated when method uninitialize()
method of OmmConsumer class is called. The method closes login and source
stream while uninitializing OmmConsumer.
Does your application call uninitialize() method of OmmConsumer? In
the example example100__MarketPrice__Streaming consumer.uninitialize() is
called before the application exists. It is possible that you see the close message because the application calls the method.Thanks for the support
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 684 Datastream
- 1.4K DSS
- 615 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 249 ETA
- 554 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.9K Refinitiv Data Platform
- 643 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- 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
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 192 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 90 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛