question

Upvotes
Accepted
1 0 0 1

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

ema-apijavaADS
icon clock
10 |1500

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

Upvotes
Accepted
52.7k 135 44 63

@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.

icon clock
10 |1500

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

Upvotes
1 0 0 1

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)
icon clock
10 |1500

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

@tiepnguyenduy

From the log file, the services are deleted.

1646195715099.png

The services may be down.

1646195715099.png (171.2 KiB)
Upvotes
1 0 0 1

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

icon clock
10 |1500

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

@tiepnguyenduy

Yes, you are correct.

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