question

Upvotes
Accepted
26 1 3 7

Getting error while testing EMA data using maven dependency : Text: RDMDictionary stream was closed text: "No data in cache." and Text: dictionary retrieval failed for localhost:14002 .

@Pimchaya.Wongrukun

Please help me with this its in reference with the previous query you sorted . i am attaching projectStructure img here .mavendependency.txt projectstructure.png

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apirdm
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.

1 Answer

Upvotes
Accepted
24.6k 86 10 22

Hi @rkumar

No doubt Pimchaya will respond - but in the meantime, looking at your attached structure it looks like the location of the dictionary files is not the same what was suggested in the other query. From your attachment it looks like the EMAConfig.xml file and dictionary files are in the src\main\java\com.unimoni folder - whereas in the other query, Pimchaya advised you to place the files in the src\main\java folder....

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.

Hey @Umer Nalla , thanks for immediate reply. and here the EMAConfig.xml file is in src\main\java folder itself .

Hi @rkumar

the error message you report is most likely caused by one of two possibilities

1) your EMAConfig.xml is configured to use a ChannelDictionary from localhost (i.e. request from sink_driven_src), but the sink_driven_src app does not support dictionary requests

2) your EMAConfig.xml is configured to use FileDictionary but EMA cannot locate the local dictionary files in the configured location

It could also be that the EMAConfig.xml is not in the right location - so the API is defaulting to hardcoded config values and ignoring the values you specify in the config file.

@Umer Nalla

i could previously test and run the test Data Package by placing EMAConfig on right location ref: my previous query and solution . Now i am just testing it with maven keeping exact folder structure, for reference i have placed this project on git here also i am running my sink_driven_src i was running it earlier. i am unable to figure out what to do now.

Show more comments