Urgent help : Unable to update the config file using the config editor

We are trying to update the config file (prefs.xml) using the config editor. The file does not get updated, it still holds the previous configuration. The input file used is (rfa_configurations.xml)
Please advise urgently on how to update the prefs.xml with the new config details.
Thank you.
Best Answer
-
Hello @Pulaputra.Sudheer
I have compared the exported file and the given rfa-configurationxml.txt
I found that the exported file contains all nodes in rfa-configuration.xml but some parameters e.g. serverList are different as shown below:
Hence, it seems that RFA configuration on the machine is not updated according to
rfa-configuration.xml properly(some parameters are different).
Based on my team experience, if RFA configuration is not updated properly. The possible solution is to remove the namespace node which you want to update before import the configuration file. In your case, it is Murex namespace. Hence, please run the following 3 commands:
java -jar config_remover.jar -user -path /com/reuters/rfa/Murex
java -jar config_loader.jar -file rfa-configuration.xml
java -jar config_exporter.jar -user -path com -file config_after.xmlThen, attach rfa-configuration.xml and config_after.xml. Hence, I can help you to check if the RFA configuration after importing the file is updated properly or not.
0
Answers
-
Hello @Pulaputra.Sudheer
Please try the following steps below:
1. At config editor, select File -> import -> File. Then, select the xml file you want to import. You should see the following message at the bottom block of the config editor:
Info: <the file name> imported
2. Modify RFA configuration parameters using config editor as you require
3. Select User:/ node to export since User node and its children nodes. Click File-> export -> Save dialog is shown. Fill the file name. Then, You should see the following message at the bottom block of config editor:
Info: User:/ exported to <the file name>
Note:
When you import a RFA configuration file to the machine using the config editor, this is to merge the configuration in the file into the current configuration on the machine. For example, if the configuration shown in the config editor contains the following info:
Then, import a file which contains:
<entry key="connectionType" value="RSSL"/>
<entry key="serverList" value="192.168.27.49"/>
<entry key="portNumber" value="14002"/>So the result after importing the file is:
You will see that the new configuration still contains the logFielName even the imported file does not have this parameter.
If you still face the problem, please send
- The messages you see in the bottom block of config editor
- The step by step to reproduce the problem
- The imported file
- The exported file after modification
0 -
hi, Thanks for the inputs. actually it's updated pro-grammatically not manual interaction. we are checking our end. please don't close the ticket until our confirmation.
0 -
Hello @Pulaputra.Sudheer
If the problem still occurs, please send the following:
- the input configuration before modification
- source code/script/command line which modifies the configuration and can reproduce the problem
- the output configuration after modification that the problem occurs
- the expected output configuration after modification that you wish
0 -
Hi,
Apologies, we were actually using config loader and not config editor to update the prefs.xml.
We are trying to update the config file (prefs.xml) using the config loader. The file does not get updated, it still holds the previous configuration. The input file used is (rfa_configurations.xml)
Please advise urgently on how to update the prefs.xml with the new config details.
Thank you.
0 -
Hello @Pulaputra.Sudheer
The config loader(config_loader.jar) shipped with RFA Java
package is used to import an xml file into the machine. It is not used to merge
two xml files. If you want to do this, you can use one of the following
possible ways:1.Copy manually the nodes in
rfa_configurations.xml into prefs.xmlor
2.Use Config Editor(GUI tool) to import the configuration
nodes in prefs.xml then import the configuration nodes in rfa_configurations.xml.
Next, export User node which containing the configuration nodes from both files
into a new file e.g. newperf.xml. Then, you can rename the file later to be
perf.xml. If you see any existing namespace (except
_System) under rfa node after you start Config Editor(you have not imported any
file yet), this is rfa configuration on the machine. I suggest you back up this
configuration first before you import prefs.xml and rfa_configurations.xml by
exporting the User node into an xml file as I explained in my answer above.
This also help to avoid merging the existing configuration on the machine with
the configuration in prefs.xml and
rfa_configurations.xml. Then, delete rfa node by selecting rfa->right
click->Remove Node. The rfa node will be created again when you start Config
Editor. Next, close and start Config Editor again then there should not be any
node under rfa(except _System). Next, you can import prefs.xml and rfa_configurations.xml
and export the result of merging two files as a new xml file. Finally, delete rfa
node, close and start Config Editor again then import the backup file to
restore the configuration on the machine.Please refer to my answer above for how to
import and export file using Config Editor(GUI tool).If your machine cannot run GUI tool/does not support GUI mode, you have
to copy the configuration in rfa_configurations.xml into prefs.xml manually because rfa does not have any command line tool to do this.0 -
hi
is there anyway we can reach you by phone. we have an urgent production deployment and it is hampering because of this issue.
thanks & regards
0 -
Hello @Pulaputra.Sudheer
Can you attach prefs.xml and rfa_configurations.xml? Then, I will merge configurations in both files and send you back the merged xml file.
0 -
Hi,
We tried by updating prefs.xml manually but it did not work. As requested attached both prefs.xml and rfa_configurations.xml files. prefsxml.txt rfa-configurationxml.txt renamed files with .txt extension as I am unable to upload .xml files.
Please kindly check and advise.
thanks & regards,
0 -
Hello @Pulaputra.Sudheer
The given prefs.xml is not complete a RFA configuration file while rfa-configuration.xml is a complete RFA configuration file. prefs.xml contains only a connection node without name and session points to the connection node. Hence, I could not use Config Editor tool to merge two files. Hence,
- I copied the node in pref.xml file into rfa-configuration.xml file under Connections with the name "newNode" node.
- I created a session node named "NewNodeSession" under Sessions node of Murex namespace. The session node points to the newNode(the configuration from prefs.xml).
All changes are:
I run RFA application to read Murex::NewNodeSession and it worked properly. Hence, the merge file is a valid RFA configuration:
When you run the application, please specify the session to be Murex::NewNodeSession when you want to use configuration from prefs.xml.
0 -
Hi
thanks for the details. Actually we can also update prefs.xml in our UAT env but unable to update the same in PROD env.
Regarding node, we wanted to replicate the details from the node name 'SSL' in rfa_configuration.xml file to prefs.xml ( attached file to get the node setting details :
rtbs-properties.mxres.txt rtbs-propertiesmxres.txt
we are using Config Loader to update prefs.xml file.
Please check and advise how to get updated the details from 'SSL' node of rfa_configuration.xml to prefs.xml
could you provide your contact details so that we can call you to discuss.
0 -
Hello @Pulaputra.Sudheer
The attached file I gave to you,
mergeprefsxml.txt above is to merge all nodes in prefs.xml and
rfa_configuration.xml into a RFA configuration file already I already
tested it and RFA example application worked properly. So it is a valid
RFA configuration file. If the problem still exists with my given file, please contact the support/development of your application how to add new configuration read by the application.For rtbs-propertiesmxres.txt this is not the format of RFA and I do not understand it. Please contact the support/development of your application who can help you on this.
0 -
hi,
apologies, merging prefs.xml and rfa_configuration.xml file is not the objective. we can't use
merging prefs.xml. what we wanted is ==> update prefs.xml file using the contents of 'SSL' node of rfa_configuration.xml. so that our application takes server details from prefs.xml to connect to our TREP-RT.
here I am listing the purpose all three files:
rtbs-properties.mxres.txt : the type of node that should be used. our case it's SSL
rfa_configuration.xml : contains configuration details of SSL node. source file.
prefs.xml : target file.
we are using RFA config loader to update prefs.xml using rfa_configuration.xml.
our Reuters Accounts manager has advised to post the question in development community for assistance hence we have posted the question here.
we need some urgent help here on this how to get prefs.xml updated from rfa_configuration.xml.
0 -
Hi, FYI, here is the command we are running to update ==>
java -jar config_loader.jar -file rfa_configuration.xml
since it's working fine in UAT but not in production. can you advice is there is any file/directory permission or config setup or environment variable we need to check, which might be the cause.
0 -
Hello @Pulaputra.Sudheer
The config loader command line that you have done in UAT
java -jar config_loader.jar -file rfa_configuration.xml
is to import the configuration in rfa_configuration.xml into the file
preference(Unix)/Registry(Windows) of the UAT machine. This is to update
RFA configuration in UAT machine.config loader cannot
be used to update prefs.xml using rfa_configuration.xml; it is used to update
configuration on the machine with the file.I have merged all SSL nodes in rfa_configuration.xml in to prefs.xml
Then, you should be able to use the config loader command line below to
import configuration in prefs.xml into the PROD machine:java -jar config_loader.jar -file prefs.xml
I have tested the command line above and RFA configuration on my machine was updated properly.
0 -
Hello @Pulaputra.Sudheer
Can you run the following command line successfully on PROD machine?
java -jar config_loader.jar -file <file name>
If not, to allow me help you, please provide the following info
- The message shown after you run the command line above
- Please attach the file that you run with the command line
- What is the OS of the machine running the command line? Is it Linux, Sun or Windows?
0 -
Hi, Please refer responses below:
1. There is no output after running the command and we can't find any logs.
3. Linux
The issue we are experiencing is it works in UAT but not in Prod.
0 -
Hello @Pulaputra.Sudheer
If there is no any output, how do you know it does not work?
0 -
Does the config_loader.jar tool returns "imported prefs OK from file <your file name>" as shown below?
As Pimchaya asked, how do you know the tool does not work? The updated configurations does not populate to the application?
0 -
Hi,
The config_loader.jar tool does return the
"imported prefs OK from file rfa_configuration.xml".
Attached screen shot from my production environment shows the correct detail returned.
Even though the loader is returning the correct details as shown above but somehow it is failing to update the details in the file "prefs.xml".
Can you please suggest now.
Thanks,config-loader-log.png
0 -
Hello @Pulaputra.Sudheer,
I have run:
java -jar config_loader.jar -file rfa-configuration.xml
The file could be loaded to the Linux machine properly so your given xml file is proper.
To check the current rfa configuration on the machine, please run:java -jar config_exporter.jar -user -path com -file config_after.xml
This command will export the user node since the com path on the
machine to a file named config_after.xml. Please attach the file. Hence, I can check the current rfa configuration after you run config loader if it is correct or not.0 -
Hi,
We have executed the below command as suggested by you in our UAT environment which is a production copy and I am attaching the same.
Command executed :
java -jar config_exporter.jar -user -path com -file today_22.xml [today-22xml.txt]
Can you please let us know your findings on this.
Thanks,
0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 705 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 3K Elektron
- 1.5K EMA
- 259 ETA
- 569 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 4 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 284 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.2K Refinitiv Data Platform
- 879 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 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
- 27 DACS Station
- 123 Open DACS
- 1.1K RFA
- 108 UPA
- 196 TREP Infrastructure
- 232 TRKD
- 919 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 103 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛