<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Hi,</div><div><br></div><div>I think that it is possible that there are new modules to download for your version, and for this reason the execution (too in command line) tries to launch the X11. We changed the configuration.xml in kepler_2.2/module-manager-2.2.0/resources/configurations as follow:</div><div><br></div><div><?xml version="1.0"?></div><div><config></div><div><br></div><div>    <releaseLocation></div><div>        <a href="https://code.kepler-project.org/code/kepler/releases/released/">https://code.kepler-project.org/code/kepler/releases/released/</a></div><div>    </releaseLocation></div><div><br></div><div>    <check-for-patches>false</check-for-patches>    </div><div><br></div><div></config></div><div><br></div><div>Best,</div><div>Ramón</div></div><div><br><div apple-content-edited="true">
<div>--<span class="Apple-converted-space"> </span><br><div>Ramón Pérez Pérez<br>Centro Andaluz de Medio Ambiente, Universidad de Granada - Junta de Andalucía<br>Avda. del Mediterráneo S/N. 18006. Granada. España<br>email:<span class="Apple-converted-space"> </span><a href="mailto:ramon@ugr.es" target="_blank">ramon@ugr.es</a><span class="Apple-converted-space"> </span><br>Blog:<span class="Apple-converted-space"> </span><a href="http://rpperez.blogspot.com/" target="_blank">http://rpperez.blogspot.com</a><br>Fax: +34 958137246<br>Tel: +34 958241000 (ext. 31202)</div></div>
</div>
<br><div><div>El 26/04/2012, a las 21:22, Matt Jones escribió:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div class="gmail_extra">Albert -- </div><div class="gmail_extra"><br></div><div class="gmail_extra">Did you try running the command line shell with the -nogui and -runwf arguments? Something like:</div><div class="gmail_extra">
<br></div><div class="gmail_extra">kepler.sh -nogui -runkar /home/mbj/myworkflow.kar</div><div class="gmail_extra"><br></div><div class="gmail_extra">The location of kepler.sh will vary by platform, but if you get it on your path, then you should be good to go.  More details are here:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra"><a href="https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line">https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line</a></div>
<div class="gmail_extra"><br></div><div class="gmail_extra">Matt<br><br><div class="gmail_quote">On Thu, Apr 26, 2012 at 10:27 AM, Albert Vilà Picas <span dir="ltr"><<a href="mailto:albertvilapicas@gmail.com" target="_blank">albertvilapicas@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<div><br></div><div>We're trying to execute Kepler from command line on a Server without -X fordwarding.</div>
<div>Running kar workflows without display actors we have a ptolemy.kernel.util.IllegalActionException:</div>
<div><br></div><div><div>     [null] Because:</div><div>     [null] Could not initialize class sun.awt.X11GraphicsEnvironment</div><div>     [null] <span style="white-space:pre-wrap">      </span>at ptolemy.actor.Manager.execute(Manager.java:485)</div>

<div>     [null] <span style="white-space:pre-wrap">       </span>at ptolemy.actor.Manager.run(Manager.java:1159)</div><div>     [null] <span style="white-space:pre-wrap">       </span>at ptolemy.actor.Manager$PtolemyRunThread.run(Manager.java:1689)</div>

<div>     [null] Caused by: java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment</div></div><div><br></div><div>1. Then, there is a special Kepler for a Server-side?</div><div>2. Can we disable the ptolemy java gui without JAVAFLAGS or the -Djava.awt.headless=true for headless gui exec?</div>

<div>3. Maybe only redirecting the X11 DISPLAY to a null or fake xhost we can solve it?</div><div><br></div><div>Thanks again,</div><div>--albert</div>
<br>_______________________________________________<br>
Kepler-users mailing list<br>
<a href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a><br>
<a href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users" target="_blank">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br>Kepler-users mailing list<br><a href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a><br>http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users<br></blockquote></div><br></div></body></html>