<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: start ControlCenter.sh in headless mode</title><link>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode</link><description>&lt;p&gt;I try to start the ControlCenter in headless mode, but I hit this error:
java.awt.HeadlessException: 
No X11 DISPLAY variable was set, but this program performed an operation which requires it.&lt;/p&gt;
&lt;p&gt;There is no XServer on this machine so the error does make sens. 
Documentation mention we can start it in command line mode:
&lt;a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc-toolreference-servercontrolcenter"&gt;http://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc-toolreference-servercontrolcenter&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But I can't manage to make it work. I've try various switch and various syntax (-headless, -h) and try to display an help file somehow (-?,?... )&lt;/p&gt;
&lt;p&gt;I've try to figure it out by looking at ControlCenter.sh content, control.conf and launcher.sh. Didn't find anything relevant.
This is on our version of engine 6.0.5. 
I've try to run the 6.3 version as well (present on this server) and I got the same exception.&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode" rel="self"></atom:link><language>en</language><lastBuildDate>Fri, 03 Feb 2017 15:11:39 -0500</lastBuildDate><item><title>Comment by Reguel Wermelinger on RemiMorin's answer</title><link>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode#2421</link><description>&lt;p&gt;but yes I agree. The documentation is missleading&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 03 Feb 2017 15:11:39 -0500</pubDate><guid>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode#2421</guid></item><item><title>Comment by Reguel Wermelinger on RemiMorin's answer</title><link>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode#2420</link><description>&lt;p&gt;Just use the AxonIvyEngine script. Star the engine in any shell :&lt;/p&gt;
&lt;p&gt;&lt;code&gt;bin/AxonIvyEngine -start&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and stop a running engine from any other shell:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;bin/AxonIvyEngine -stop&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Fri, 03 Feb 2017 15:09:46 -0500</pubDate><guid>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode#2420</guid></item><item><title>Answer by RemiMorin</title><link>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode/2417</link><description>&lt;p&gt;How do we stop start the server properly then?&lt;br&gt;
I guess I can't just kill the process. &lt;br&gt;
I try to get hold on administrative tools and task.
If you can't start the ControlCenter on the command line you should update your documentation accordingly:
&lt;a href="http://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc-toolreference-servercontrolcenter"&gt;http://developer.axonivy.com/doc/latest/EngineGuideHtml/misc.html#misc-toolreference-servercontrolcenter&lt;/a&gt;&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;Platform    Console support     Launcher  
Windows     no                  bin/ControlCenter.exe  
Windows     yes                 bin/ControlCenterC.exe  
Linux       yes                 bin/ControlCenter.sh  
Table 7.7. ControlCenter Launchers
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">RemiMorin</dc:creator><pubDate>Thu, 02 Feb 2017 16:56:09 -0500</pubDate><guid>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode/2417</guid></item><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode/2414</link><description>&lt;p&gt;The control center is a Swing UI and can therefore not start in headless mode. &lt;/p&gt;
&lt;p&gt;Anyway you can start the AxonIvyEngineConfig in headless mode in order to configure system administrators or the systemDB.&lt;/p&gt;
&lt;p&gt;To actually start a 6.5 engine config ui headless I use a bash&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;export JAVA_OPT=-Djava.awt.headless=true
./AxonIvyEngineConfig -headless
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;an example is available here: &lt;a href="https://github.com/dgauch/docker-axonivy-engine/blob/master/Dockerfile"&gt;https://github.com/dgauch/docker-axonivy-engine/blob/master/Dockerfile&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Thu, 02 Feb 2017 12:36:46 -0500</pubDate><guid>https://answers.axonivy.com/questions/2411/start-controlcenter-sh-in-headless-mode/2414</guid></item></channel></rss>