RapidMiner service stopped on Windows 10 after JRE updates

PaulMPaulM Member Posts: 17 Contributor II
Just in case this helps anyone else.... I have been running RM Server 9.3.1 fine under Windows 10 for weeks but suddenly today it stopped. The RMSSVC service was Stopped and manually starting it worked momentarily and then it reverted to Stopped. 

Nothing in the server.log so it wasn't even getting that far. 

Turns out that Java had updated the JRE and when it does this it unfortunately changes the path but they are hard coded into the RapidMiner batch files so it all fails.

There may be a better way to do this but editing \rapidminer-server\rapidminer-server-9.3.1\bin\standalone.conf batch file and manually updating the path to the JRE enabled JBoss to start properly and the RapidMiner service to start.

Any suggestions for avoiding this pain with future JRE updates? 
Tagged:
0
0 votes

Fixed and Released · Last Updated

RA-2130

Comments

  • sgenzersgenzer Administrator, Moderator, Employee, RapidMiner Certified Analyst, Community Manager, Member, University Professor, PM Moderator Posts: 2,959 Community Manager
  • mmichelmmichel Employee, Member Posts: 129 RM Engineering
    edited August 2019
    Hi @PaulM,

    you can use your windows environment variables in this file. So, if you want to resolve the Java runtime environment dynamically just use e.g. the %JAVA_HOME% variable for it. In order to keep the changes during the RapidMiner Server upgrade you should also update the app.properties file within your RapidMiner Server home folder: %SERVER_HOME%/.rms/app.properties.

    Cheers,
    Marcel
  • Telcontar120Telcontar120 Moderator, RapidMiner Certified Analyst, RapidMiner Certified Expert, Member Posts: 1,635 Unicorn
    I had run into this exact problem in the past as well.  It would really be nice if RapidMiner would build this into the Server installer and not make users monkey around in the settings files in order to keep java paths up to date.

    Brian T.
    Lindon Ventures 
    Data Science Consulting from Certified RapidMiner Experts
  • mmichelmmichel Employee, Member Posts: 129 RM Engineering
    Thanks for your feedback!
    I got your point, we will check if changing the default installer handling makes sense.
  • mmichelmmichel Employee, Member Posts: 129 RM Engineering
    The dynamic handling of Java Paths will be added to RapidMiner Server 9.5  :)
  • PaulMPaulM Member Posts: 17 Contributor II
    Great! Nice work!  B)
Sign In or Register to comment.