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

rapidminer server service won't start, standalone works fine.

kundengkundeng Member Posts: 14 Contributor II
edited July 2022 in Help
I'm not seeing an log why the server starts and quits immediately when started through windows service;  standalone.bat can start the server fine.  I can get to the portal and the database (postgres) is populated. 
when I run .\bin\service.bat start
A window flashes and closes.  On the command window, I see:
chcp 65001 
Active code page: 65001

Answers

  • kundengkundeng Member Posts: 14 Contributor II

  • kundengkundeng Member Posts: 14 Contributor II
    all log folders are empty, unless I am not looking at the correct locations.  
    C:\Users\xxx\rapidminer-ai-hub\rapidminer-ai-hub-home\log
    C:\Users\xxx\rapidminer-ai-hub\rapidminer-ai-hub-home\job-agnet-home\log

  • kundengkundeng Member Posts: 14 Contributor II
    edited July 2022
    The solution is to explicitly set JAVA_HOME in service.bat.   Because of various issues (escaping spaces and backslash etc etc), the easiest way is to download a zip-based jdk8, unzip it and point JAVA_HOME directly to it.  
    SET JAVA_HOME=c:\\Users\\xxx\\jdk8

    My original JAVA_HOME is set to java.exe, which is resolved to oracle's jdk fine when invoking standalone.bat, but not service.bat. 

Sign In or Register to comment.