The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

"Installing RapidAnalytics on remote server"

vanyatkavanyatka Member Posts: 8 Contributor II
edited June 2019 in Help
Hi,

Would it be possible to install RapidAnalytics server on any remote 'console-only' host?

Once the installer is run it gives the following error:
RapidAnalytics-CE-Installer-1.2.006> java -jar RapidAnalytics-CE-Installer-1.2.006.jar 
Exception in thread "main" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
        at java.awt.Window.<init>(Window.java:432)
        at java.awt.Frame.<init>(Frame.java:403)
        at java.awt.Frame.<init>(Frame.java:368)
        at javax.swing.JFrame.<init>(JFrame.java:158)
        at com.rapidanalytics.installer.gui.MainFrame.<init>(Unknown Source)
        at com.rapidanalytics.installer.gui.MainFrame.init(Unknown Source)
        at com.rapidanalytics.installer.Starter.main(Unknown Source)
Thanks,

Answers

  • Nils_WoehlerNils_Woehler Member Posts: 463 Maven
    Hi,

    please use the search before posting a question. It already has been answered here: http://rapid-i.com/rapidforum/index.php/topic,5165.0.html
    Marco Boeck wrote:

    Hi,

    the Installer also comes with a no-gui mode, so if you setup an installer .xml file, you can should be able to install RA without any need for GUI components.
    Setup .xml file looks like this (edit your settings in):

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
    <properties>
    <entry key="db_url">yourDBHostname</entry>
    <entry key="db_port">3306</entry>
    <entry key="server_service_id_overwrite">null</entry>
    <entry key="server_port">8080</entry>
    <entry key="db_password">yourDBPassword</entry>
    <entry key="mail_password"/>
    <entry key="installation_directory">C:\Users\yourDesiredRADirectory</entry>
    <entry key="server_host">yourHostname</entry>
    <entry key="server_register_as_service">false</entry>
    <entry key="db_driverclass">com.mysql.jdbc.Driver</entry>
    <entry key="mail_port">25</entry>
    <entry key="server_service_linux_variant">SUSE</entry>
    <entry key="mail_sender"/>
    <entry key="memory_max">1024</entry>
    <entry key="db_system">MySQL</entry>
    <entry key="mail_url"/>
    <entry key="server_service_name">RapidAnalytics Server</entry>
    <entry key="java_home">C:\pathToYourJavaFolder</entry>
    <entry key="db_user">yourDBUser</entry>
    <entry key="server_service_id">RA12SVC</entry>
    <entry key="server_host_bind_only">false</entry>
    <entry key="mail_user"/>
    <entry key="db_schema">yourDBScheme</entry>
    <entry key="db_driver_path">C:\pathToYourJDBCDriverJarForExample\mysql-connector-java-5.1.17-bin.jar</entry>
    </properties>
    Then you can start the installer .jar file with one parameter which points to the config .xml file, eg java -jar RapidAnalytics-CE-Installer-1.1.017.jar C:\pathToYourConfig.xml


    Regards,
    Marco
    Best,
    Nils
Sign In or Register to comment.