Yep, exactly the same thing. The headless attribute isn't working for me in this case though... not sure why. Probably some underlying java intricacy that I'm just not aware of. It throws a different error in the logs when you add the headless command-line attribute. (I added it to the setenv.sh file):

--------------------------------------
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
        at java.awt.Window.<init>(Window.java:431)
        at java.awt.Frame.<init>(Frame.java:403)
        at java.awt.Frame.<init>(Frame.java:368)
--------------------------------------

I've been reading some forum posts about folks installing and running a xorg frame buffer server and creating a display environment variable with it, so I am trying that route now...

Warm regards,
Jordan Michaels
Vivio Technologies
http://www.viviotech.net/
Open BlueDragon Steering Committee
Railo Community Distributions

On 11/15/2010 01:57 PM, Alan Holden wrote:
Curious Jordan;

Is this akin to the issue when trying to use something like imagecfc on
a OS with no graphical drivers for local display (the "headless" server
- like you mentioned)?

If so, there's this mention in the imagecfc comments from months ago:
If you get a "cannot connect to X11 server" when running certain
parts of this component under Bluedragon (Linux), you must
add "-Djava.awt.headless=true" to the java startup line in
<bluedragon>/bin/StartBluedragon.sh. This isssue is discussed
in the Bluedragon Installation Guide section 3.8.1 for
Bluedragon 6.2.1.

Mind you, that's not OpenBD - but perhaps noteworthy...
Al


--
Open BlueDragon Public Mailing List
http://www.openbluedragon.org/   http://twitter.com/OpenBlueDragon
official manual: http://www.openbluedragon.org/manual/
Ready2Run CFML http://www.openbluedragon.org/openbdjam/

mailing list - http://groups.google.com/group/openbd?hl=en

Reply via email to