I am getting the below error on linux console when I am trying to install rapidminer server .

khadevishal18
khadevishal18 New Altair Community Member
edited November 5 in Community Q&A
 ERROR [org.apache.coyote.http11.Http11Protocol] (MSC service thread 1-2) JBWEB003043: Error initializing endpoint: java.net.BindException: Address already in use (Bind failed) /0.0.0.0:8080
        at org.apache.tomcat.util.net.JIoEndpoint.init(JIoEndpoint.java:979) [jbossweb-7.5.3.Final.jar:7.5.3.Final]
        at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:174) [jbossweb-7.5.3.Final.jar:7.5.3.Final]
        at org.apache.catalina.connector.Connector.init(Connector.java:986) [jbossweb-7.5.3.Final.jar:7.5.3.Final]
        at org.jboss.as.web.WebConnectorService.start(WebConnectorService.java:318) [jboss-as-web-7.5.0.Final-redhat-15.jar:7.5.0.Final-redhat-15]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1980) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1913) [jboss-msc-1.1.5.Final-redhat-1.jar:1.1.5.Final-redhat-1]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [rt.jar:1.8.0_181]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [rt.jar:1.8.0_181]
        at java.lang.Thread.run(Unknown Source) [rt.jar:1.8.0_181]

Answers

  • jczogalla
    jczogalla New Altair Community Member
    Hi @khadevishal18!
    It seems you already ahve some server/application runnign that uses the 8080 port of your computer.
    You can see here how to install the server in headless mode, and it is also mentioned there that you can provide the xml file for the configuration. You can change the port for the web interface there.

    I hope this helps! Cheers
    Jan
  • khadevishal18
    khadevishal18 New Altair Community Member
    In which configuration file the changes has to be made (only RMS_Installer.xml or any other configuration files) ?
  • jczogalla
    jczogalla New Altair Community Member
    If i understand the documentation page correctly, you only have to adapt the RMS_Installer.xml. Maybe @Nils_Woehler or @jpuente know more?
  • rfuentealba
    rfuentealba New Altair Community Member
    edited November 2018
    Let's see if I can provide some insights here:

    If you use the GUI to generate a RapidMiner Server installer, then it generates the RMS_Installer.xml file. You can edit that one and find this entry: 
    <entry key="server_port">8080</entry><br>
    Change to something else (like 8088) and install.

    However, you already have RapidMiner Server installed, so you don't have to reinstall it to change the port. Just modify 3 files (the most important is configuration/standalone.xml, and don't worry if you don't have one of the other 2):
    <b>Home/configuration/standalone.xml</b><br><socket-binding name="http" port="8901"/><br><br><b>radoop-proxy/proxy.properties</b><br>serverAuthenticationPort=8901<br><br><b>job-agent/home/config/agent.properties</b><br>rapidminer.server.port = 8901
    In my case, I have RapidMiner Server installed on port 8901. Please notice that in configuration/standalone.xml, you can tweak various other values. With great power comes great responsibility.

    Hope this helps!

    All the best,

    Rodrigo.


  • rfuentealba
    rfuentealba New Altair Community Member
    Duh, I had a terrific answer but it got wiped by my browser! Or vanilla (cc @sgenzer huh? :( )

    Anyway, don't reinstall RapidMiner Server. Here are the files and lines you have to change to change the port to something different. Notice that if you don't use the Radoop Proxy, you won't have the second. Same with the job agent.

    configuration/standalone.xml
    <socket-binding name="http" port="8080"/>

    radoop-proxy/proxy.properties
    serverAuthenticationPort=8080

    job-agent/home/config/agent.properties
    rapidminer.server.port = 8080
  • sgenzer
    sgenzer
    Altair Employee
    sorry about that @rfuentealba. If you can replicate pls let me know.