question

Upvotes
Accepted
1 0 0 2

hi I have a problem here

This is the windows interface, I would like to ask how to start config_editor.jar in the linux environment to import the xml configuration

RFA configuration, how to install in linux environmentrfa问题.png

rfarfa-api
rfa问题.png (55.8 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvotes
Accepted
24.4k 53 17 14

Hello @1876072456

The RFA Java Configuration Editor tool requires the GUI desktop, so you cannot run it from the Linux terminal. You need to run it on the Linux GUI desktop session.

Alternatively, you can use the following RFA Java command-line tools that are available in <RFA Java package>/Tools folder:

  • config_loader.jar: A tool for populating a configuration database from an XML file.
  • config_exporter.jar: A tool for exporting a configuration database sub-tree to an XML file.
  • config_remover.jar: A tool for removing a configuration database sub-tree.

Example usage:

  1. Open a terminal to <RFA Java package>/Tools folder
  2. Run the following command to export your RFA Java configurations to an XML file: $> java -jar config_exporter.jar -user -file rfaconfig.xml
  3. Modify the rfaconfig.xml based on your requirement
  4. Reload the configuration back to Java configuration database with the following command: $>java –jar config_loader.jar -file rfaconfig.xml
  5. Restart the application to let new configurations take effect

Sometimes, you may need to remove the configuration first and then reload the modified configurations file

$>java -jar config_remover.jar -user -path /com/reuters/rfa/ myNamespace

$>java –jar config_loader.jar -file rfaconfig.xml

Note: #This path needs to be matched with your quickstart.xml XML-tree structure.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Upvote
25.3k 87 12 25

Hi @1876072456

If you are planning any new development using Java to consume real-time streaming data, you are strongly advised to use our newer Refinitiv Real-Time SDK (RT-SDK) Java - rather than RFA Java. RFA Java is a legacy API. Refinitiv Real-Time Java SDK | Refinitiv Developers

RT-SDK is much easier to learn and program with compared to RFA Java.


icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.