If java.awt.headless=true doesn’t work (and it should) you can use Xvfb (X- virtual frame buffer) to give AWT something to draw on.
This solved some issues rendering graphics for me in a couple of contexts. Larry Mills-Gahl [email protected] On Oct 9, 2014, at 4:13 AM, CHRISTOPH WICK | i4innovation GmbH, Bonn <[email protected]> wrote: > Hi Klaus, > > I remember that I once had trouble with ERCaptcha on a Linux deployment > machine. I think I was because ERCaptcha somehow uses AWT internally and the > Java process tried to connect to a Windowserver (which wasn't running). > > The solution was to start the app with '-Djava.awt.headless=true' in Monitor > or setting the property in the Application constructor with > 'System.setProperty("java.awt.headless", "true");' > > Anyway, this shouldn't happen during development on OS X, since AWT is there > for your Java process. > > C.U.CW > > P.S.: I suppose you set the captcha's "validated" binding to a boolean? > > -- > The three great virtues of a programmer are Laziness, Impatience and Hubris. > (Randal Schwartz) > > On 09.10.2014, at 07:28, Klaus Berkling <[email protected]> wrote: > >> Hi all. >> >> I'm trying to get ERCaptcha to work. I only get an all black image. Is >> there a seed I need to set or some other initialization? Other than adding >> the ERCaptcha component to the form (not a directAction) what is there to >> do? Isn't there suppose to be javascript on the page when running? >> >> >> kib >> >> "The trouble with normal is it always gets worse." >> Bruce Cockburn >> >> Klaus Berkling >> www.berkling.us | @kiberkli | Photography >> >> >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de >> >> This email sent to [email protected] > > _______________________________________________ > Do not post admin requests to the list. They will be ignored. > Webobjects-dev mailing list ([email protected]) > Help/Unsubscribe/Update your Subscription: > https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com > > This email sent to [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
