Re: ERCaptcha shows all black image

2014-10-09 Thread CHRISTOPH WICK | i4innovation GmbH, Bonn
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 webobje...@berkling.us 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
 
 This email sent to c...@i4innovation.de



smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERCaptcha shows all black image

2014-10-09 Thread Larry Mills-Gahl
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
elem...@gmail.com






On Oct 9, 2014, at 4:13 AM, CHRISTOPH WICK | i4innovation GmbH, Bonn 
c...@i4innovation.de 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 webobje...@berkling.us 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
 
 This email sent to c...@i4innovation.de
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
 
 This email sent to elem...@gmail.com



smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERCaptcha shows all black image

2014-10-09 Thread Klaus Berkling

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 elem...@gmail.com 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
 elem...@gmail.com
 
 
 
 
 
 
 On Oct 9, 2014, at 4:13 AM, CHRISTOPH WICK | i4innovation GmbH, Bonn 
 c...@i4innovation.de 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 webobje...@berkling.us 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
 
 This email sent to c...@i4innovation.de
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/elemgee%40gmail.com
 
 This email sent to elem...@gmail.com
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/webobjects%40berkling.us
 
 This email sent to webobje...@berkling.us






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  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Re: ERCaptcha shows all black image

2014-10-09 Thread Matt Ness
Hi Klaus,

Also, make sure your deployment machine contains an accessible font-family. 

Are you seeing any exceptions being thrown?

Regards,

Matt
--
http://logicsquad.net


On 09/10/2014, at 7:13 PM, CHRISTOPH WICK | i4innovation GmbH, Bonn 
c...@i4innovation.de 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 webobje...@berkling.us 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  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/cw%40i4innovation.de
 
 This email sent to c...@i4innovation.de
 
 ___
 Do not post admin requests to the list. They will be ignored.
 Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
 Help/Unsubscribe/Update your Subscription:
 https://lists.apple.com/mailman/options/webobjects-dev/matt%40logicsquad.net
 
 This email sent to m...@logicsquad.net


 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

ERCaptcha shows all black image

2014-10-08 Thread Klaus Berkling
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





smime.p7s
Description: S/MIME cryptographic signature
 ___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list  (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com