[kepler-users] Kepler -nogui execution without X11GraphicsEnvironment

Matt Jones jones at nceas.ucsb.edu
Thu Apr 26 12:22:08 PDT 2012


Albert --

Did you try running the command line shell with the -nogui and -runwf
arguments? Something like:

kepler.sh -nogui -runkar /home/mbj/myworkflow.kar

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:

https://kepler-project.org/developers/reference/executing-kepler-from-the-command-line

Matt

On Thu, Apr 26, 2012 at 10:27 AM, Albert Vilà Picas <
albertvilapicas at gmail.com> wrote:

> Hi all,
>
> We're trying to execute Kepler from command line on a Server without -X
> fordwarding.
> Running kar workflows without display actors we have
> a ptolemy.kernel.util.IllegalActionException:
>
>      [null] Because:
>      [null] Could not initialize class sun.awt.X11GraphicsEnvironment
>      [null] at ptolemy.actor.Manager.execute(Manager.java:485)
>      [null] at ptolemy.actor.Manager.run(Manager.java:1159)
>      [null] at
> ptolemy.actor.Manager$PtolemyRunThread.run(Manager.java:1689)
>      [null] Caused by: java.lang.NoClassDefFoundError: Could not
> initialize class sun.awt.X11GraphicsEnvironment
>
> 1. Then, there is a special Kepler for a Server-side?
> 2. Can we disable the ptolemy java gui without JAVAFLAGS or
> the -Djava.awt.headless=true for headless gui exec?
> 3. Maybe only redirecting the X11 DISPLAY to a null or fake xhost we can
> solve it?
>
> Thanks again,
> --albert
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120426/0087d1e6/attachment.html>


More information about the Kepler-users mailing list