could not construct configuration from file when publish data to Reuters

hi Team,

we have encountered an issue when we published data to Reuters at HKT 2024-04-19 18:46:01.

the issue message:

2024-04-19 18:46:01(no unique labels)

com.refinitiv.ema.access.OmmInvalidConfigurationExceptionImpl: could not construct configuration from file [/tmp/EmaConfig.xml]; working directory was [/opt/disk1/fot/deploy/reuters-service_fr_gbl25047200/reuters-service_1.0.31_fr_gbl25047200_20240312233559]


another question:

now we using same EMA ID for multiple site, is it ok?

would you help to provide some advise for me when you are free? thanks a lot.

Tagged:

Best Answer

  • Jirapongse
    Jirapongse ✭✭✭✭✭
    Answer ✓

    @denny.w.h.zhong

    I got the same error if the syntax in the EmaConfig.xml is incorrect.

    [Fatal Error] EmaConfig.xml:13:1: XML document structures must start and end within the same entity.
    could not construct configuration from file [c:\windows\/EmaConfig.xml]; working directory was [C:\D_DRIVE\temp\Real-Time-SDK-2.1.2.L1.java\Real-Time-SDK-2.1.2.L1.java\setup\RTSDK-2.1.2.L1.java.rrg\RTSDK-2.1.2.L1.java.rrg\Java\Ema\Examples\src\main\java]

    It can happen when the application calls the EmaFactory.createOmmConsumerConfig method.

    Please share the /tmp/EmaConfig.xml file from the machine that cause this error.

    I will test it on my machine.

Answers