question

Upvotes
Accepted
1 0 0 1

getting OmmInvalidUsageException when I am running example

Exception Type='OmmInvalidUsageException', Text='dictionary retrieval failed (timed out after waiting 45000 milliseconds) for 172.17.11.31:14002)'

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apiOMM
icon clock
10 |1500

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

Upvotes
Accepted
7.6k 15 6 9

@jitendra.kumar

The exception occurs when EMA unable to download dictionary from the server you are connecting to within 45 sec(default timeout period). Server may not able to provide dictionary or it has some issue on the server. Please check with the server admin if it has any error on server side or not.

However if you just want to try one of EMA consumer example which read EMA configuration from EmaConfig.xml, it use Dictionary_1 which is channel dictionary by default. You may modfiy the EMA configuration file to use dictionary from file instead.

Below example Consumer_1 use Dictionary_1 which is ChannelDictionary. You can change it to Dictioanry_2 which is FileDictionary instead.

...

<Consumer>
     <Name value="Consumer_1"/>
	<Channel value="Channel_1"/>
	<Dictionary value="Dictionary_1"/>
	<XmlTraceToStdout value="0"/>
</Consumer>
....

<DictionaryList>
	<Dictionary>
	   <Name value="Dictionary_1"/>
		<DictionaryType value="DictionaryType::ChannelDictionary"/>
		</Dictionary>
	<Dictionary>
	   <Name value="Dictionary_2"/>
		<DictionaryType value="DictionaryType::FileDictionary"/>
		   <RdmFieldDictionaryFileName value="./RDMFieldDictionary"/>
		  <EnumTypeDefFileName value="./enumtype.def"/>
	</Dictionary>
...
icon clock
10 |1500

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

Upvotes
1 0 1 0

Due to an outage of the Thomson Reuters Developer Community email notification system from 2:30 PM CDT on November 29th until 9:00 AM CDT on November 30th we are posting to all questions updated during this timeframe in order to ensure all customers receive all relevant email updates. Please review this question, and its associated answers, in order to ensure you are aware of any possible updates that may have occurred during this outage. We apologize for the delay and any inconvenience this has caused.

Matthew Logterman, J.D.

Sr. Product Manager, Thomson Reuters Developer Community

icon clock
10 |1500

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

Upvotes
1 0 0 1

Ok, seems fine.

icon clock
10 |1500

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

Click below to post an Idea Post Idea