Why the connection disconnected at 10:46 yesterday?
Normally, it will reconnect using emaj as shown in the follwing capture.
However, I don't know what happened yesterday. There is no logs, it just can't receive data(Foreign exchange).
Best Answer
-
Hello @Raj.Huang
The error “Network is unreachable: no further information”
seemed that there was a network problem at that time. The problem made EMA
application could not connect to the server so the server could not send data
to the application. I suggest you should contact your company’s network team to
investigate the network between the application to the server.0
Answers
-
Thanks for your answer. I know the error 'Network is uncreachabke....', that is the normal error, I did it intentionlly. But at 10:46 yesterday, there are no logs like that. And it didn't reconnect itself, it just no data antmore util I restart my application.
0 -
Hello @Raj.Huang
I suggest you set XmlTraceToStdout to 1 in EmaConfig.xml
located in the application’s run directory. For example:<Consumer>
<Name value="Consumer_1"/>
...
<XmlTraceToStdout value="1"/>
</Consumer>This will enable EMA
traces its messages (received and sent messages) in XML format to stdout. When the problem occurs again, we can check in the log messages what happens.0 -
If you enable it successfully, you should see a refresh message sent from the server that EMA traces. For example:
0 -
Thanks! But I don't use EmaConfig.xml to config my application. I just use the default configuration.
OmmConsumerConfig config = EmaFactory.createOmmConsumerConfig();
config.host(sourceHost + ":" + sourcePort);
config.username(sourceUserName);0 -
Is there any Java config ? like
config.traceToStdout(1);
0 -
No. EMA provides XmlTraceToStdout for tracing.
Please put EmaConfig.xml in the application run directory.
Your given source code will override Consumer_1 node which is default.
Then, set XmlTraceToStdout to be 1 in the Consumer_1 node(the node which has <Name value="Consumer_1"/>) as shown in the example
above.0 -
Pimchaya.Wongrukun,
it worked! But if the application dies again, what will I see in the log?0 -
There are several causes that the application does not receive data so I cannot tell you for now what you will see in the log. If the problem occurs again, please send me the trace log. Then, I will analyze the file to help you to find out the root cause.
0 -
OK, thank you a lot !
0 -
I found I can't output the log to file, it only shows in the eclipse console. Do you know the reason? Please help me.
0 -
EMA writes log on the console not a file. This is expected behaviors. You should re-direct console output to a file by setting in Eclipse.
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 中文论坛