Cannot connect to rapidminer-server

sbuschjaeger
sbuschjaeger New Altair Community Member
edited November 2024 in Community Q&A
Hi,

I just installed rapidminer-server on a linux machine which seems to work. However, I cannot access the web interface to manage the server.
I followed the installer GUI and installed rapidminer-server on my local machine. The MySQL connection to 'localhost' worked without any problems. I did not configure a SMTP server. Installation was done into my local home folder without root privileges. Startup looks like this:
[10:52:54]~/tools/rapidminer-server/bin$ ./standalone.sh 
=========================================================================

  JBoss Bootstrap Environment

  JBOSS_HOME: /home/buschjae/tools/rapidminer-server

  JAVA: /usr/lib/jvm/java-8-openjdk-amd64/bin/java

  JAVA_OPTS:  -server -XX:+UseCompressedOops -Xms512m -Xmx23079m -XX:MaxPermSize=256m -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml

=========================================================================

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
10:52:56,507 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
10:52:56,632 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA
10:52:56,676 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss AS 7.2.0.Alpha1-redhat-4 "Janus" starting
The server.log file gives me:

[11:04:28]~/tools/rapidminer-server/standalone/log$ cat server.log
10:52:56,507 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
10:52:56,632 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA
10:52:56,676 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss AS 7.2.0.Alpha1-redhat-4 "Janus" starting
10:52:56,681 DEBUG [org.jboss.as.config] (MSC service thread 1-6) Configured system properties:
[Standalone] =
awt.toolkit = sun.awt.X11.XToolkit
file.encoding = UTF-8
file.encoding.pkg = sun.io
file.separator = /
java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment
java.awt.headless = true
java.awt.printerjob = sun.print.PSPrinterJob
java.class.path = /home/buschjae/tools/rapidminer-server/jboss-modules.jar
java.class.version = 52.0
java.endorsed.dirs = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/endorsed
java.ext.dirs = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/lib/jvm/java-8-openjdk-amd64/jre
java.io.tmpdir = /tmp
java.library.path = /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib
java.net.preferIPv4Stack = true
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.8.0_66-internal-b17
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.8
java.util.logging.manager = org.jboss.logmanager.LogManager
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.8.0_66-internal
java.vm.info = mixed mode
java.vm.name = OpenJDK 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.8
java.vm.vendor = Oracle Corporation
java.vm.version = 25.66-b17
javax.management.builder.initial = org.jboss.as.jmx.PluggableMBeanServerBuilder
javax.xml.datatype.DatatypeFactory = __redirected.__DatatypeFactory
javax.xml.parsers.DocumentBuilderFactory = __redirected.__DocumentBuilderFactory
javax.xml.parsers.SAXParserFactory = __redirected.__SAXParserFactory
javax.xml.stream.XMLEventFactory = __redirected.__XMLEventFactory
javax.xml.stream.XMLInputFactory = __redirected.__XMLInputFactory
javax.xml.stream.XMLOutputFactory = __redirected.__XMLOutputFactory
javax.xml.transform.TransformerFactory = __redirected.__TransformerFactory
javax.xml.validation.SchemaFactory:http://www.w3.org/2001/XMLSchema = __redirected.__SchemaFactory
javax.xml.xpath.XPathFactory:http://java.sun.com/jaxp/xpath/dom = __redirected.__XPathFactory
jboss.home.dir = /home/buschjae/tools/rapidminer-server
jboss.host.name = kimme
jboss.modules.dir = /home/buschjae/tools/rapidminer-server/modules
jboss.modules.system.pkgs = org.jboss.byteman
jboss.node.name = kimme
jboss.qualified.host.name = kimme.cs.uni-dortmund.de
jboss.server.base.dir = /home/buschjae/tools/rapidminer-server/standalone
jboss.server.config.dir = /home/buschjae/tools/rapidminer-server/standalone/configuration
jboss.server.data.dir = /home/buschjae/tools/rapidminer-server/standalone/data
jboss.server.default.config = standalone.xml
jboss.server.deploy.dir = /home/buschjae/tools/rapidminer-server/standalone/data/content
jboss.server.log.dir = /home/buschjae/tools/rapidminer-server/standalone/log
jboss.server.name = kimme
jboss.server.persist.config = true
jboss.server.temp.dir = /home/buschjae/tools/rapidminer-server/standalone/tmp
line.separator =

logging.configuration = file:/home/buschjae/tools/rapidminer-server/standalone/configuration/logging.properties
module.path = /home/buschjae/tools/rapidminer-server/modules
org.jboss.boot.log.file = /home/buschjae/tools/rapidminer-server/standalone/log/server.log
org.jboss.resolver.warning = true
org.xml.sax.driver = __redirected.__XMLReaderFactory
os.arch = amd64
os.name = Linux
os.version = 4.2.0-34-generic
path.separator = :
sun.arch.data.model = 64
sun.boot.class.path = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/resources.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jsse.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jce.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/charsets.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jfr.jar:/usr/lib/jvm/java-8-openjdk-amd64/jre/classes:/home/buschjae/tools/rapidminer-server/jboss-modules.jar
sun.boot.library.path = /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /home/buschjae/tools/rapidminer-server/jboss-modules.jar -mp /home/buschjae/tools/rapidminer-server/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/home/buschjae/tools/rapidminer-server -Djboss.server.base.dir=/home/buschjae/tools/rapidminer-server/standalone
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = UTF-8
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = unknown
sun.rmi.dgc.client.gcInterval = 3600000
sun.rmi.dgc.server.gcInterval = 3600000
user.country = US
user.dir = /home/buschjae/tools/rapidminer-server/bin
user.home = /home/buschjae
user.language = en
user.name = buschjae
user.timezone = Europe/Berlin
10:52:56,682 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -D[Standalone] -XX:+UseCompressedOops -Xms512m -Xmx23079m -XX:MaxPermSize=256m -XX:+UseG1GC -XX:MaxGCPauseMillis=50 -Djava.net.preferIPv4Stack=true -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djboss.server.default.config=standalone.xml -Dorg.jboss.boot.log.file=/home/buschjae/tools/rapidminer-server/standalone/log/server.log -Dlogging.configuration=file:/home/buschjae/tools/rapidminer-server/standalone/configuration/logging.properties -Xbootclasspath/a:/home/buschjae/tools/rapidminer-server/jboss-modules.jar
When I try to connect to to 'localhost:8080' from the same machine, I get "unable to connect". And indeed, 'lsof -i' doesnt show any port 8080. I double checked the configuration file
"standalone.xml" which contains
"<socket-binding name="http" port="8080"/>"
, so everything should be setup correct. However, I doesnt work :/

Some additional system information:

[11:11:20]~/tools/rapidminer-server/bin$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=15.10
DISTRIB_CODENAME=wily
DISTRIB_DESCRIPTION="Ubuntu 15.10"

[11:12:00]~/tools/rapidminer-server/bin$ ps ax | grep mysql
3225 ?        Ss    0:00 /bin/sh /usr/bin/mysqld_safe
3576 ?        Sl    0:02 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --log-error=/var/log/mysql/error.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/run/mysqld/mysqld.sock --port=3306
7119 pts/14  S+    0:00 grep --color=auto mysql
Any ideas why this isnt working?
Tagged:

Answers

  • Marco_Boeck
    Marco_Boeck New Altair Community Member
    Hi,

    RM Server does not yet work with Java 8. Please use Java 7 instead as indicated on our system requirements page: http://docs.rapidminer.com/server/installation/system-requirements.html

    Regards,
    Marco
  • sbuschjaeger
    sbuschjaeger New Altair Community Member
    Thanks, that did the trick
  • AlphaPi
    AlphaPi New Altair Community Member
    Hello everyone,

    I have the same problem. I cannot be connected to the RapidMiner Server from the Web interface. I have checked my IP address and i use the same Repository URL as i used to do the previous days. 

    Thanks in advance for your help! 
  • aschaferdiek
    aschaferdiek New Altair Community Member
    edited May 2020
    Hi. You cannot connect from Studio to Server or from your browser to the Server's web interface? Did Server start correctly? Let's have a look into the the server.log file in the RapidMiner Server home directory. Is your network able to connect to the IP address of Server? Maybe try with a ping or the telnet command in the command prompt? Have you maybe changed the listen/bound to property to 127.0.0.1/localhost in the installer?.