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

Tagged:

Best Answer

  • wasin.w
    wasin.w admin
    Answer ✓

    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.

Answers