rapidminer server service won't start, standalone works fine.
kundeng
New Altair Community Member
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
when I run .\bin\service.bat start
A window flashes and closes. On the command window, I see:
chcp 65001
Active code page: 65001
Tagged:
0
Answers
-
0 -
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
0 -
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.
0