Pages: 1 2 [3]
  Print  
Author Topic: [SOLVED] start RM process without GUI with java -jar ?  (Read 2731 times)
levko
Newbie
*
Posts: 2


« Reply #30 on: July 05, 2012, 09:14:17 PM »

I'm trying to start RM process (one of the examples) from command line on RHEL 5.7 that DOES NOT have X11 libraries:

java -cp lib/rapidminer.jar -Drapidminer.hiome=/usr/lib/rapidminer com.rapidminer.RapidMinerCommandLine -f PROCESS resources/samples/processes/01_Learner/01_DecisionTree.rmp
RapidMiner version 5.2.006, Copyright (C) 2001-2012
RapidMiner comes with ABSOLUTELY NO WARRANTY; This is free software,
and you are welcome to redistribute it under certain conditions;
see license information in the file named LICENSE.
Jul 5, 2012 4:11:37 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '/usr/lib/rapidminer'.
Jul 5, 2012 4:11:37 PM com.rapidminer.tools.ParameterService init
INFO: Reading configuration resource com/rapidminer/resources/rapidminerrc.
Jul 5, 2012 4:11:37 PM com.rapidminer.tools.I18N <clinit>
INFO: Set locale to en.
Jul 5, 2012 4:11:37 PM com.rapid_i.Launcher ensureRapidMinerHomeSet
INFO: rapidminer.home is '/usr/lib/rapidminer'.
Xlib: connection to "localhost:10.0" refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment
...
 at com.rapidminer.gui.flow.ProcessRenderer.<clinit>(ProcessRenderer.java:374)
 at com.rapidminer.tools.plugin.Plugin.registerDescriptions(Plugin.java:528)
 at com.rapidminer.tools.plugin.Plugin.registerAllPluginDescriptions(Plugin.java:714)
 at com.rapidminer.tools.plugin.Plugin.initAll(Plugin.java:946)
 at com.rapidminer.RapidMiner.init(RapidMiner.java:499)
 at com.rapidminer.RapidMinerCommandLine.run(RapidMinerCommandLine.java:122)
 at com.rapidminer.RapidMinerCommandLine.main(RapidMinerCommandLine.java:182)

Is it possible to run RM w/o X11 connection in Linux?

Thanks in advance,
-- Lev
Logged
levko
Newbie
*
Posts: 2


« Reply #31 on: July 05, 2012, 09:34:42 PM »

I've found a simple way to get rid of unnecessary X11 connection - just running 'unset DISPLAY' before starting RM. It works!
Logged
Pages: 1 2 [3]
  Print  
 
Jump to: