Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
avatar image
Question by H.H. · Jun 23, 2017 at 07:58 AM · searchchannel downstartup

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.

chanel-down.png

chanel-down.png (74.9 KiB)

People who like this

0 Show 6
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Pimchaya.Wongrukun ♦♦ · Jun 26, 2017 at 01:46 AM 0
Share

Hello @H.H.
To be able to continue investing the problem, please

  1. attach EMA xml trace
  2. what is the EMA example application?
avatar image
REFINITIV
Pimchaya.Wongrukun ♦♦ Pimchaya.Wongrukun ♦♦ · Jun 26, 2017 at 01:47 AM 0
Share

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_name

avatar image
REFINITIV
Pimchaya.Wongrukun ♦♦ Pimchaya.Wongrukun ♦♦ · Jul 02, 2017 at 10:54 PM 0
Share

Hello @H.H.

Does the problem still occur? If so, please send me the following required info:

  1. EMA xml trace when the problem occurs.
  2. EMA example application name that the problem occurs.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Pimchaya.Wongrukun · Jul 03, 2017 at 05:00 AM

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

Elektron SDK - Java - 1.1.0.

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.

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by H.H. · Jul 03, 2017 at 05:15 AM

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

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
8 People are following this question.

Related Questions

Where can I find the list of fields available for RFA or Elektron streams for each exchange ?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges