question

Upvotes
Accepted
1 0 1 2

Getting error when activating XMLTRaceStdOut value equals 1 in java environment in user configuration file of EMA.

On changing the value of XMLTRaceStdOut in configuration file from 0 to 1 the application crashes.

<XmlTraceToStdout value="1"/>

Something like below error print on console


Thank-you!

elektronrefinitiv-realtimeelektron-sdkconfiguration
1592816118557.png (24.5 KiB)
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.

Upvote
Accepted
9.5k 10 5 7

Hello @MayassK

This is not the error but it is field id(FID) 935 definition in a dictionary response received from the server where EMA requests dictionary from(default behavior). I also got the same message as you.

Dictionary request sent from EMA(Outgoing Reactor message)

<!-- Outgoing Reactor message -->
...
<REQUEST domainType="DICTIONARY" streamId="3" containerType="NO_DATA" flags="0x06 (HAS_PRIORITY|STREAMING)" priorityClass="1" priorityCount="1" dataSize="0">
    <key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="4515" name="RWFFld" filter="7"/>
    <dataBody>
    </dataBody>
</REQUEST>

Dictionary response received from the server(Incoming Reactor message)

<!-- Incoming Reactor message -->
...
<REFRESH domainType="DICTIONARY" streamId="3" containerType="SERIES" flags="0x168 (HAS_MSG_KEY|SOLICITED|REFRESH_COMPLETE|CLEAR_CACHE)" groupId="0" State: Open/Ok/None - text: "" dataSize="616032">
    <key flags="0x0B (HAS_SERVICE_ID|HAS_NAME|HAS_FILTER)" serviceId="4515" name="RWFFld" filter="7"/>
    <dataBody>
        ...
     
<seriesEntry>
                <elementList flags="0x02 (HAS_SET_DATA)">
                    <elementEntry name="NAME" dataType="ASCII_STRING" data="SLOT_AAFLG"/>
                    <elementEntry name="FID" dataType="INT" data="935"/>
                    <elementEntry name="RIPPLETO" dataType="INT" data="0"/>
                    <elementEntry name="TYPE" dataType="INT" data="5"/>
                    <elementEntry name="LENGTH" dataType="UINT" data="1"/>
                    <elementEntry name="RWFTYPE" dataType="UINT" data="19"/>
                    <elementEntry name="RWFLEN" dataType="UINT" data="1"/>
                    <elementEntry name="ENUMLENGTH" dataType="UINT" data="0"/>
                    <elementEntry name="LONGNAME" dataType="ASCII_STRING" data="SLOT AAFLG"/>
                </elementList>
            </seriesEntry>
...

If EMA requests data successfully, you will see the following messages:

Data requests example message:

<!-- Outgoing Reactor message -->
...
<REQUEST domainType="MARKET_PRICE" streamId="5" containerType="NO_DATA" flags="0x46 (HAS_PRIORITY|STREAMING|HAS_QOS)" Qos: Realtime/TickByTick/Static - timeInfo: 0 - rateInfo: 0 priorityClass="1" priorityCount="1" dataSize="0">
    <key flags="0x03 (HAS_SERVICE_ID|HAS_NAME)" serviceId="4515" name="PTT.BK"/>
    <dataBody>
    </dataBody>
</REQUEST>

Data Response example message:

<!-- Incoming Reactor message -->
...
<REFRESH domainType="MARKET_PRICE" streamId="5" containerType="FIELD_LIST" flags="0x1FA (HAS_PERM_DATA|HAS_MSG_KEY|HAS_SEQ_NUM|SOLICITED|REFRESH_COMPLETE|HAS_QOS|CLEAR_CACHE)" groupId="1" seqNum="55232" permData="0311 A367 61C0" Qos: Realtime/TickByTick/Static - timeInfo: 0 - rateInfo: 0 State: Open/Ok/None - text: "All is well" dataSize="1385">
    <key flags="0x07 (HAS_SERVICE_ID|HAS_NAME|HAS_NAME_TYPE)" serviceId="4515" name="PTT.BK" nameType="1"/>
    <dataBody>
        <fieldList flags="0x09 (HAS_FIELD_LIST_INFO|HAS_STANDARD_DATA)" fieldListNum="2" dictionaryId="1">
            <fieldEntry fieldId="1" data="1A69"/>
            <fieldEntry fieldId="2" data="8E"/>
            <fieldEntry fieldId="3" data="5054 54"/>
        ...
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 Pimchaya.Wongrukun,

Is there any way to see server logs in application?

As mentioned in tutorial XMLTraceOut is used to see the logs but i am getting above response and after this response i am not able to execute the batch.

Thanks for your help!

Hello @MayassK

There is no way to see server logs in the application. To send batch request, please try example370__MarketPrice__Batch.

Upvote
20.3k 73 10 20

Hi @MayassK

If you wish to capture / redirect the XMLTrace to a file please see the following post on redirecting to a file:

How to enable tracing incoming/outgoing messages EMA Java receives/sends

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