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

kundengkundeng MemberPosts:14Contributor II
edited July 2022 inHelp
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 MemberPosts:14Contributor II

  • kundengkundeng MemberPosts:14Contributor 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 MemberPosts:14Contributor 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 InorRegisterto comment.