question

Upvotes
Accepted
48 3 3 8

RTO disconnect with EMA Java

Hello,

A client is using the latest EMA Java 2.0.1 connecting to RTO with a streaming request. They are experiencing the following behavior/error message:

----------

We monitored another couple times of the behavior.

one time it stopped refresh rates after 18 minutes of working.

Another time it stopped refresh rates after 10 minutes.

Both reported the following error messages.

Item Name: ZMW=
Service Name: ELEKTRON_DD
Item State: Open / Suspect / None / 'channel down.'
 
Jul 07, 2021 11:33:59 AM com.refinitiv.ema.access.ChannelCallbackClient reactorChannelEventCallback
INFO: loggerMsg
    ClientName: ChannelCallbackClient
    Severity: Info
    Text:    Received ChannelUp event on channel Channel_4
        Instance Name Consumer_4_1
        Component Version ads3.4.2.L1.linux.tis.rrg 64-bit
loggerMsgEnd
 
 
Jul 07, 2021 11:33:59 AM com.refinitiv.ema.access.LoginCallbackClient rdmLoginMsgCallback
SEVERE: loggerMsg
    ClientName: LoginCallbackClient
    Severity: Error
    Text:    RDMLogin stream was closed with status message
        username
        usernameType 5
 
        State: Closed/Suspect/Application is denied access to the system - text: "TREP authentication failed (1026, Request for token validation failed:Authentication server did not contain "active" in response)."
loggerMsgEnd
elektronrefinitiv-realtimeelektron-sdkema-apirrtjavarrto
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.

Hi @vasavi.levendel1 ,

What could be the cause of this issue?

Hello @dumitru.arama

Could you please let us know if the problem still persists in your environment? If so, could you please share the data/log that requested by @jirapongse.phuriphanvichai ?

@dumitru.arama

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

-AHS

1 Answer

· Write an Answer
Upvotes
Accepted
78.9k 250 52 74

@dumitru.arama

To verify the problem, the client may need to enable tracing in EMA. We need to enable tracing in both REST and RSSL connections.

1. Create the logging.properties file with the following content in the working directory

.level=ALL 
handlers=java.util.logging.FileHandler
java.util.logging.FileHandler.level=ALL 
java.util.logging.FileHandler.pattern=./emaj%u.log

2. Add the XmlTraceToStdout configuration to the Consumer in the EmaConfig.xml. The following example adds the XmlTraceToStdout configuration to the Consumer_4 which is used to connect to RTO.

        <Consumer>
            <Name value="Consumer_4"/>
            <Channel value="Channel_4"/>
            <Dictionary value="Dictionary_2"/>
            <XmlTraceToStdout value="1"/>
        </Consumer>

3. Run the application with the following JVM option

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

The interactions for the REST connection are logged in the emaxxx.log file and the interactions for the RSSL connection are printed to the standard output.

With this information, we can verify if it is a problem with the API or the server.

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.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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