Getting error when activating XMLTRaceStdOut value equals 1 in java environment in user configur...
...ation 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!
Best Answer
-
Hello @Khaldoun
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"/>
...0
Answers
-
Hi @Khaldoun
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
0 -
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!
0 -
Hello @Khaldoun
There is no way to see server logs in the application. To send batch request, please try example370__MarketPrice__Batch.
0
Categories
- All Categories
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 33 Data Model Discovery
- 682 Datastream
- 1.4K DSS
- 613 Eikon COM
- 5.2K Eikon Data APIs
- 10 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 248 ETA
- 552 WebSocket API
- 37 FX Venues
- 14 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 23 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 275 Open PermID
- 44 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 22 RDMS
- 1.8K Refinitiv Data Platform
- 622 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 26 DACS Station
- 121 Open DACS
- 1.1K RFA
- 104 UPA
- 191 TREP Infrastructure
- 228 TRKD
- 915 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 84 Workspace SDK
- 11 Element Framework
- 5 Grid
- 18 World-Check Data File
- 1 Yield Book Analytics
- 46 中文论坛