I added the java.awt.headless in the properties and not having any luck. I've only run it in debug so I'll try to run it manually in direct or deploy it and see if that works.
Thanks. On Oct 9, 2014, at 10:28 AM, Larry Mills-Gahl <[email protected]> wrote: > 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] > > _______________________________________________ > 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/webobjects%40berkling.us > > This email sent to [email protected] kib "Success is not final, failure is not fatal: it is the courage to continue that counts." Winston Churchill Klaus Berkling www.berkling.us | @kiberkli | Photography
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]
