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

kundengkundeng Member Posts: 4 Contributor I
edited July 24 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: 4 Contributor I

  • kundengkundeng Member Posts: 4 Contributor I
    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: 4 Contributor I
    edited July 24
    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.