Options

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

  • Options
    kundengkundeng Member Posts: 14 Contributor II

  • Options
    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

  • Options
    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.