Yeah, looks like in order for "headless" to work, the java has to be
coded for it, which in this case it isn't:
http://download.oracle.com/javase/1.5.0/docs/guide/awt/AWTChanges.html#headless
So we have to create a X11 display then.
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