X connection to localhost:10.0 broken (explicit kill or server shutdown).

Starting RapidMiner using the non-GUI script named “rapidminer” should not cause RapidMiner to acquire any X resources. Nevertheless the Tomcat server sometimes tries to connect to a certain display port as defined by the DISPLAY variable. There are usually two options to avoid this behaviour:

1. Try to call unset DISPLAY before you start the Tomcat server. This normally ensures that Tomcat runs in headless mode.

2. If, for some purposes, you need a DISPLAY variable set, try to run Tomcat/Java using the option -Djava.awt.headless=true in order to run server and java processes in headless mode.