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 /
  • EMA /
avatar image
Question by tiepnguyenduy · Mar 01 at 06:10 AM · ema-apijavaADS

Connection dropped from ADS, but client is not notified

we have enabled trace logs, in ADS we see application disconnected after a while, see as below screenshot

ref1.png

Or client doesn't ping logs in ADS

In client logs, we see it is reconnected with refreshMsg, but after that no rates incomming

loggerMsg ClientName: LoginCallbackClient Severity: Trace Text: RDMLogin stream was open with refresh message LoginRefresh: streamId: 1 name: EDGE_flexi_UAT nameType: 1 State: Open/Ok/None - text: "Login accepted by host ip-10-116-hub1." isSolicited: true applicationId: 256 applicationName: ADS position: 192.168.24.101/flexi-refinitiv-rate-service-sit-24-9gt5p providePermissionProfile: 0 providePermissionExpressions: 1 singleOpen: 1 allowSuspectData: 1 supportBatchRequests: 1 supportBatchReissues: 1 supportBatchCloses: 1 supportOMMPost: 1 supportOptimizedPauseResume: 0 supportStandby: 0 supportViewRequests: 1 supportEnhancedSymbolList: 1 loggerMsgEnd

People who like this

0 Show 0
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.

3 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Jirapongse · Mar 01 at 08:29 AM

@tiepnguyenduy

To verify the problem, you need to enable logging in EMA.

I assume that you are using EMA Java.

Please create a logging.properties file with the following configurations.

.level=FINEST
handlers=java.util.logging.FileHandler
java.util.logging.FileHandler.level=FINEST
ava.util.logging.FileHandler.pattern=./emaj.log
java.util.logging.FileHandler.limit=50000000
java.util.logging.FileHandler.count=20
java.util.logging.FileHandler.formatter=java.util.logging.SimpleFormatter
java.util.logging.SimpleFormatter.format=%1$tY-%1$tm-%1$td %1$tH:%1$tM:%1$tS.%1$tL %4$-7s %2$s %n%5$s

Then, run the application with the following parameter.

-Djava.util.logging.config.file=logging.properties

The emaj.log file will be created. Please share this file when the problem occurred.

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 tiepnguyenduy · Mar 02 at 02:47 AM

Hi, I already enable ema logs with TRACE level and this is the log I extracted, the other is only refreshMSG

loggerMsg ClientName: LoginCallbackClient Severity: Trace Text: RDMLogin stream was open with refresh message LoginRefresh: streamId: 1 name: EDGE_flexi_UAT nameType: 1 State: Open/Ok/None - text: "Login accepted by host ip-10-116-hub1." isSolicited: true applicationId: 256 applicationName: ADS position: 192.168.24.101/flexi-refinitiv-rate-service-sit-24-9gt5p providePermissionProfile: 0 providePermissionExpressions: 1 singleOpen: 1 allowSuspectData: 1 supportBatchRequests: 1 supportBatchReissues: 1 supportBatchCloses: 1 supportOMMPost: 1 supportOptimizedPauseResume: 0 supportStandby: 0 supportViewRequests: 1 supportEnhancedSymbolList: 1 loggerMsgEnd

1646189255584.png


1646189255584.png (165.3 KiB)
Comment

People who like this

0 Show 1 · 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
REFINITIV
Jirapongse ♦♦ · Mar 02 at 04:35 AM 0
Share

@tiepnguyenduy

From the log file, the services are deleted.

1646195715099.png

The services may be down.

1646195715099.png (171.2 KiB)
avatar image
Answer by tiepnguyenduy · Mar 02 at 05:46 AM

hi @Jirapongse, by services you mean the ADS services are down?

Comment

People who like this

0 Show 1 · 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
REFINITIV
Jirapongse ♦♦ · Mar 02 at 06:50 AM 0
Share
@tiepnguyenduy

Yes, you are correct.

Typically, EMA can recover items when the subscribed service is up.

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 >
9 People are following this question.

Related Questions

ADS simulator service for performance testing

How to specify multiple ADS services in the Java EMA consumer ?

Is there a way to get holiday calendar for markets (instrumen wise or general) using Java API?

NullPointerException emaj 3.6.1.2 processing directory domain message

EMA Java client errored to connect using Elektron Connect

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • 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
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges