question

Upvotes
Accepted
3 0 0 1

Error : Unable to read MFEED Data Dictionary from file.

Hello,

i m using JSFC client and i used the example "SimpleFieldDisplay" in your documentation with the follwoing configuration

*serverType: sapi

*serverList: vretlotsdev01

*portNumber: 8101

*serviceName: SYNK_DRIVEN_REC

*fieldName: GEN_VAL8

*symbol: JPY6MX10YN2=R

but when it encounter the following line of code :

service = session.getRecordService( _configDb.variable(_appId, "serviceName", "SYNK_DRIVEN_REC").toString());

it give me the following error:

<SimpleFieldDisplay : Error : Unable to read MFEED Data Dictionary from file.

elektronrefinitiv-realtimetrepjava
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.

1 Answer

Upvotes
Accepted
38.1k 71 35 53

From the configurations, SimpleFieldDisplay is connecting to the local publisher which is unable to provide data dictionary through network.

Therefore, SimpleFieldDisplay must load data dictionary from local files instead by using the following JSFC configurations.

*dictFromFile : true
*fid_file_path : C:\var\triarch\appendix_a
*enum_file_path : C:\var\triarch\enumtype.def

You can find appendix_a and enumtype.def files in JSFC package in etc directory.

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.

thank you very much ! it worked ! you saved my day.

Click below to post an Idea Post Idea