RapidMiner

[SOLVED] Error when trying to start RapidMiner Server after installation

Wisdom logo Registration now open for RapidMiner Wisdom Americas | New Orleans | October 10-12, 2018   Learn More
Contributor II koepfw
Contributor II

[SOLVED] Error when trying to start RapidMiner Server after installation

Hallo,

I installed RapidMiner server on a CentOS server and I am getting the following error when I'm trying to start the service with standalon.sh:  

01:49:51,399 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-15) MSC00001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.io.IOException: Unable to load resource handler
       at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:226) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
       at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
       at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
       at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_65]
       at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_65]
       at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: java.io.IOException: Unable to load resource handler
       at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:212) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
       at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:190) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
       ... 5 more
Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.as.domain-http-error-context:main
       at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:224) [jboss-modules.jar:1.2.0.CR1]
       at org.jboss.as.domain.http.server.ResourceHandler.getClassLoader(ResourceHandler.java:327) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
       at org.jboss.as.domain.http.server.ErrorHandler.<init>(ErrorHandler.java:54) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
       at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:210) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
       ... 6 more

Any help would be greatly appreciated.
17 REPLIES
RM Staff RM Staff
RM Staff

Re: Error when trying to start RapidMiner Server after installation

Hi,

this "error" occurs for some installations while it does not for others. In either case however there is no actual problem and it can be safely ignored. While it does look a bit scary, your server should work just fine, correct?

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH
Contributor II koepfw
Contributor II

Re: Error when trying to start RapidMiner Server after installation

Unfortunately not.  When I run standalone.sh It terminates after about one and a half minutes with ...

01:51:15,886 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 76) Initializing Mojarra 2.1.18-jbossorg-1 20130205-1414 for context '/RAWS'
./standalone.sh: line 217: 25619 Killed                  "/usr/lib/jvm/java/bin/java" -D"[Standalone]" -server -XX:+UseCompressedOops -Xms512m -Xmx1024m -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/metisuser/rapidminer/standalone/log/server.log" "-Dlogging.configuration=file:/home/metisuser/rapidminer/standalone/configuration/logging.properties" -jar "/home/metisuser/rapidminer/jboss-modules.jar" -mp "/home/metisuser/rapidminer/modules" -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir="/home/metisuser/rapidminer" -Djboss.server.base.dir="/home/metisuser/rapidminer/standalone"


RM Staff RM Staff
RM Staff

Re: Error when trying to start RapidMiner Server after installation

Hi,

can you please go to your Server/standalong/log folder, delete the server.log, try to start the server again and then paste the entire new server.log here?

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH
Contributor II koepfw
Contributor II

Re: Error when trying to start RapidMiner Server after installation

Vielen Dank fuer die prompten Antworten.

Here's the server.log file:

21:58:57,598 INFO  [org.jboss.modules] (main) JBoss Modules version 1.2.0.CR1
21:58:59,817 INFO  [org.jboss.msc] (main) JBoss MSC version 1.0.4.GA
21:59:00,111 INFO  [org.jboss.as] (MSC service thread 1-6) JBAS015899: JBoss AS 7.2.0.Alpha1-redhat-4 "Janus" starting
21:59:00,147 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/metisuser/rapidminer/jboss-modules.jar
java.class.version = 51.0
java.endorsed.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/endorsed
java.ext.dirs = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/ext:/usr/java/packages/lib/ext
java.home = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre
java.io.tmpdir = /tmp
java.library.path = /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.net.preferIPv4Stack = true
java.runtime.name = OpenJDK Runtime Environment
java.runtime.version = 1.7.0_65-mockbuild_2014_07_16_06_06-b00
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.7
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.7.0_65
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.7
java.vm.vendor = Oracle Corporation
java.vm.version = 24.65-b04
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/metisuser/rapidminer
jboss.host.name = metis
jboss.modules.dir = /home/metisuser/rapidminer/modules
jboss.modules.system.pkgs = org.jboss.byteman
jboss.node.name = metis
jboss.qualified.host.name = metis.richeyint.com
jboss.server.base.dir = /home/metisuser/rapidminer/standalone
jboss.server.config.dir = /home/metisuser/rapidminer/standalone/configuration
jboss.server.data.dir = /home/metisuser/rapidminer/standalone/data
jboss.server.default.config = standalone.xml
jboss.server.deploy.dir = /home/metisuser/rapidminer/standalone/data/content
jboss.server.log.dir = /home/metisuser/rapidminer/standalone/log
jboss.server.name = metis
jboss.server.persist.config = true
jboss.server.temp.dir = /home/metisuser/rapidminer/standalone/tmp
line.separator =

logging.configuration = file:/home/metisuser/rapidminer/standalone/configuration/logging.properties
module.path = /home/metisuser/rapidminer/modules
org.jboss.boot.log.file = /home/metisuser/rapidminer/standalone/log/server.log
org.jboss.resolver.warning = true
org.xml.sax.driver = __redirected.__XMLReaderFactory
os.arch = amd64
os.name = Linux
os.version = 2.6.32-042stab092.2
path.separator = :
sun.arch.data.model = 64
sun.boot.class.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/resources.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rt.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/sunrsasign.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jsse.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jce.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/charsets.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/rhino.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/jfr.jar:/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/classes
sun.boot.library.path = /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/jre/lib/amd64
sun.cpu.endian = little
sun.cpu.isalist =
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = /home/metisuser/rapidminer/jboss-modules.jar -mp /home/metisuser/rapidminer/modules -jaxpmodule javax.xml.jaxp-provider org.jboss.as.standalone -Djboss.home.dir=/home/metisuser/rapidminer -Djboss.server.base.dir=/home/metisuser/rapidminer/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/metisuser/rapidminer/bin
user.home = /root
user.language = en
user.name = root
user.timezone = America/Chicago
21:59:00,150 DEBUG [org.jboss.as.config] (MSC service thread 1-6) VM Arguments: -D[Standalone] -XX:+UseCompressedOops -Xms512m -Xmx1024m -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/metisuser/rapidminer/standalone/log/server.log -Dlogging.configuration=file:/home/metisuser/rapidminer/standalone/configuration/logging.properties
21:59:04,799 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 1) JBAS015003: Found ROOT.war in deployment directory. To trigger deployment create a file called ROOT.war.dodeploy
21:59:04,831 INFO  [org.xnio] (MSC service thread 1-27) XNIO Version 3.0.7.GA
21:59:04,835 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
21:59:04,840 INFO  [org.xnio.nio] (MSC service thread 1-27) XNIO NIO Implementation Version 3.0.7.GA
21:59:04,881 INFO  [org.jboss.remoting] (MSC service thread 1-27) JBoss Remoting version 3.2.14.GA
21:59:04,978 INFO  [org.jboss.as.configadmin] (ServerService Thread Pool -- 27) JBAS016200: Activating ConfigAdmin Subsystem
21:59:04,981 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 39) JBAS011800: Activating Naming Subsystem
21:59:04,985 INFO  [org.jboss.as.webservices] (ServerService Thread Pool -- 50) JBAS015537: Activating WebServices Extension
21:59:04,985 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 45) JBAS013171: Activating Security Subsystem
21:59:04,982 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
21:59:05,009 INFO  [org.jboss.as.security] (MSC service thread 1-2) JBAS013170: Current PicketBox version=4.0.15.Final
21:59:05,017 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 49) JBAS012605: Activated the following JSF Implementations: [main, 1.2]
21:59:05,043 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-6) JBAS010408: Starting JCA Subsystem (JBoss IronJacamar 1.0.15.Final)
21:59:05,054 INFO  [org.jboss.as.osgi] (ServerService Thread Pool -- 40) JBAS011906: Activating OSGi Subsystem
21:59:05,717 INFO  [org.jboss.as.naming] (MSC service thread 1-1) JBAS011802: Starting Naming Service
21:59:05,781 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-16) JBAS015400: Bound mail session [java:/Mail]
21:59:05,959 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 28) JBAS010404: Deploying non-JDBC-compliant driver class com.mysql.jdbc.Driver (version 5.1)
21:59:07,402 INFO  [org.apache.coyote.http11] (MSC service thread 1-27) JBWEB003001: Coyote HTTP/1.1 initializing on : http-/0.0.0.0:7000
21:59:07,500 INFO  [org.apache.coyote.http11] (MSC service thread 1-27) JBWEB003000: Coyote HTTP/1.1 starting on: http-/0.0.0.0:7000
21:59:07,782 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-10) JBAS010400: Bound data source [java:/jdbc/RapidAnalyticsDS]
21:59:08,014 INFO  [org.jboss.ws.common.management] (MSC service thread 1-13) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.1.3.Final
21:59:08,210 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-26) JBAS015012: Started FileSystemDeploymentService for directory /home/metisuser/rapidminer/standalone/deployments
21:59:08,223 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-5) JBAS015876: Starting deployment of "rapidminer-server-ear-2.1.0-ear.ear" (runtime-name: "rapidminer-server-ear-2.1.0-ear.ear")
21:59:08,223 INFO  [org.jboss.as.server.deployment] (MSC service thread 1-4) JBAS015876: Starting deployment of "ROOT.war" (runtime-name: "ROOT.war")
21:59:08,247 INFO  [org.jboss.as.remoting] (MSC service thread 1-14) JBAS017100: Listening on 0.0.0.0:4447
21:59:08,247 INFO  [org.jboss.as.remoting] (MSC service thread 1-30) JBAS017100: Listening on 209.188.88.190:9999
21:59:08,252 WARN  [org.jboss.as.domain.http.api] (MSC service thread 1-22) JBAS015102: Unable to load console module for slot main, disabling console
21:59:08,255 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-22) MSC00001: Failed to start service jboss.serverManagement.controller.management.http: org.jboss.msc.service.StartException in service jboss.serverManagement.controller.management.http: java.io.IOException: Unable to load resource handler
at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:226) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1811) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1746) [jboss-msc-1.0.4.GA.jar:1.0.4.GA]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [rt.jar:1.7.0_65]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [rt.jar:1.7.0_65]
at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_65]
Caused by: java.io.IOException: Unable to load resource handler
at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:212) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
at org.jboss.as.server.mgmt.HttpManagementService.start(HttpManagementService.java:190) [jboss-as-server-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
... 5 more
Caused by: org.jboss.modules.ModuleNotFoundException: org.jboss.as.domain-http-error-context:main
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:224) [jboss-modules.jar:1.2.0.CR1]
at org.jboss.as.domain.http.server.ResourceHandler.getClassLoader(ResourceHandler.java:327) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
at org.jboss.as.domain.http.server.ErrorHandler.<init>(ErrorHandler.java:54) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
at org.jboss.as.domain.http.server.ManagementHttpServer.create(ManagementHttpServer.java:210) [jboss-as-domain-http-interface-7.2.0.Alpha1-redhat-4.jar:7.2.0.Alpha1-redhat-4]
... 6 more

There is more but if I add it, it'll go over the maximum allowed length (20000 characters).  I'd be happy to email it to you though.
RM Staff RM Staff
RM Staff

Re: Error when trying to start RapidMiner Server after installation

Hi,

feel free to use something like http://pastebin.com/. The intersting part is missing in your log Smiley Wink

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH
Contributor II koepfw
Contributor II

Re: Error when trying to start RapidMiner Server after installation

Was just thinking of that before I saw your reply:  http://pastebin.com/my5cCLy5
RM Staff RM Staff
RM Staff

Re: Error when trying to start RapidMiner Server after installation

Hi,

the good news is, there is no error whatsoever in your log. The bad news is it seems to be stuck on

21:59:39,129 INFO  [javax.enterprise.resource.webcontainer.jsf.config] (ServerService Thread Pool -- 67) Initializing Mojarra 2.1.18-jbossorg-1 20130205-1414 for context '/RA'


How long did you wait after starting the server before copying the log?

I have seen this before but we were never able to reproduce this. What version of CentOS are you using exactly?

Regards,
Marco
_________________________________________________________
Team Lead Software Engineering | RapidMiner GmbH
Contributor II koepfw
Contributor II

Re: Error when trying to start RapidMiner Server after installation

I am on "CentOS release 6.5 (Final)".  Here's the console output when I run standalone.sh: http://pastebin.com/njHcbTHk
Contributor II koepfw
Contributor II

Re: Error when trying to start RapidMiner Server after installation

And I should add it has cPanel on that box and I am running Tomcat (or rather easy-Tomcat7) as well as MySQL on it.