Failed to run demo java code for contribution

zhe.wang
zhe.wang Newcomer

Hi, I am trying to run this tutorial: https://developers.thomsonreuters.com/elektron/elektron-sdk-java/learning?content=41885&type=learning_material_item

I think the code with problem is this line:

OmmConsumer consumer = EmaFactory.createOmmConsumer(EmaFactory.createOmmConsumerConfig()
.tunnelingKeyStoreFile("clientkeystore")
.tunnelingKeyStorePasswd("test123"));

I got following error message:

Contributing to TR Contributions Channel

Starting encrypted connection...

Oct 29, 2018 10:44:53 AM com.thomsonreuters.ema.access.ChannelCallbackClient reactorChannelEventCallback
WARNING: loggerMsg

ClientName: ChannelCallbackClient

Severity: Warning

Text: Received ChannelDownReconnecting event on channel Channel_1
RsslReactor Channel is null

Error Id 0
Internal sysError 0


Error Location Reactor.processWorkerEvent

Error text Error initializing channel: errorId=0 text=null
loggerMsgEnd

Could you please help? Thanks

Regards,

Zhe

Best Answer

  • Gurpreet
    Gurpreet admin
    Answer ✓

    Hi @zhe.wang, For TRCC contribution, try service name DDS_TRCE. You should have receive this along with the login credentials.

Answers